Code Injection in Smarty - CVE-2014-8350

 

Code Injection in Smarty - CVE-2014-8350

Published: November 3, 2014 / Updated: August 10, 2020


Vulnerability identifier: #VU41180
CSH Severity: Medium
CVSS v4: 6.9 [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]
CVE-ID: CVE-2014-8350
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Smarty
Fedora
php-Smarty

How to mitigate CVE-2014-8350

Install update from vendor's website.

php-Smarty - addressed in versions 3.1.21-1.el7, 3.1.21-1.fc21

External References

Related Security Bulletins