Code Injection in Smarty - CVE-2014-8350
Published: November 3, 2014 / Updated: August 10, 2020
Vulnerability identifier: #VU41180
CSH Severity: Medium
CVSS v4.0: 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: CVE-2014-8350
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: smarty.php.net
Affected software:
Smarty
Smarty
Detailed vulnerability 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.
How to mitigate CVE-2014-8350
Install update from vendor's website.
Sources
- http://advisories.mageia.org/MGASA-2014-0468.html
- http://seclists.org/oss-sec/2014/q4/420
- http://seclists.org/oss-sec/2014/q4/421
- http://www.mandriva.com/security/advisories?name=MDVSA-2014:221
- http://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