RCE in Smarty
CVE-2014-8350
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.031, 88.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Smarty — versions 1.0, 1.0a, 1.0b
Weakness classification (CWE)
References
- www.securityfocus.com/bid/70708 (vdb-entry)
- [oss-security] 20141023 Re: CVE Request: smarty: secure mode bypass (mailing-list, Exploit)
- code.google.com/p/smarty-php/source/browse/trunk/distribution/change_log.txt
- advisories.mageia.org/MGASA-2014-0468.html
- [oss-security] 20141022 CVE Request: smarty: secure mode bypass (mailing-list, Exploit)
- MDVSA-2014:221 (vendor-advisory)
- smarty-cve20148350-code-exec(97725) (vdb-entry)
- bugs.debian.org/cgi-bin/bugreport.cgi (Exploit)