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.
02 Description
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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 3.12% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 87.7% of scored records. A rank, not a probability.
- NVD base score
- The NVD has published no score for this record
- NVD CVSS vector
- No NVD score to derive
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2014-11-03 16:00Z11 YR AGO
- Last updated
- 2024-08-06 13:18Z2 YR AGO
- Reserved
- 2014-10-20
- Assigning CNA
- debian
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-94Improper Control of Generation of Code ('Code Injection')Base
- Data version
- 5.1
- Document digest
- 735a22dc5e1fae354b3c6b0779e4454502061687a9e227cb3b5cdd160709c6e2
05 Affected products
06 References
- www.securityfocus.com70708http://www.securityfocus.com/bid/70708
- seclists.org[oss-security] 20141023 Re: CVE Request: smarty: secure mode bypasshttp://seclists.org/oss-sec/2014/q4/421
- code.google.comhttps://code.google.com/p/smarty-php/source/browse/trunk/distribution/change_log.txt?r=4902
- advisories.mageia.orghttp://advisories.mageia.org/MGASA-2014-0468.html
- seclists.org[oss-security] 20141022 CVE Request: smarty: secure mode bypasshttp://seclists.org/oss-sec/2014/q4/420
- www.mandriva.comMDVSA-2014:221http://www.mandriva.com/security/advisories?name=MDVSA-2014:221
- exchange.xforce.ibmcloud.comsmarty-cve20148350-code-exec(97725)https://exchange.xforce.ibmcloud.com/vulnerabilities/97725
- bugs.debian.orghttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765920
07 Fixed in
Debian 12
- smarty3 Fixed in 3.1.21-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- smarty3 Fixed in 3.1.21-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- smarty3 Fixed in 3.1.21-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.