Vulnerability identifier: #VU41180
Vulnerability risk: Medium
CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID:
CWE-ID:
CWE-94
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Smarty
Web applications /
CMS
Vendor: smarty.php.net
Description
The vulnerability allows a remote non-authenticated attacker to read and manipulate data.
Smarty before 3.1.21 allows remote attackers to bypass the secure mode restrictions and execute arbitrary PHP code as demonstrated by "{literal}<{/literal}script language=php>" in a template.
Mitigation
Install update from vendor's website.
Vulnerable software versions
Smarty: 1.0 b - 1.0, 1.1.0, 1.2.0 - 1.2.2, 1.3.0 - 1.3.2, 1.4.0 - 1.4.6, 1.5.0 - 1.5.2, 2.0.0 - 2.0.1, 2.1.0 - 2.1.1, 2.2.0, 2.3.0 - 2.3.1, 2.4.0 - 2.4.2, 2.5.0, 2.6.0 - 2.6.26, 3.0.0 - 3.0.7, 3.1 - 3.1.19
External links
https://advisories.mageia.org/MGASA-2014-0468.html
https://seclists.org/oss-sec/2014/q4/420
https://seclists.org/oss-sec/2014/q4/421
https://www.mandriva.com/security/advisories?name=MDVSA-2014:221
https://www.securityfocus.com/bid/70708
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765920
https://code.google.com/p/smarty-php/source/browse/trunk/distribution/change_log.txt?r=4902
https://exchange.xforce.ibmcloud.com/vulnerabilities/97725
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.