CVE-2014-8350 json
Smarty arbitrary PHP code execution
published 12y ago modified 4mo ago also GHSA-2pmx-6mm6-6v72 , EUVD-2022-2026
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.1%
- EPSS 3.1% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist smarty/smarty 3.1.21
- smarty3 Debian 14, Debian 13, Debian 12 3.1.21-1
debian advisories DEBIAN-CVE-2014-8350
Is CVE-2014-8350 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2014-8350 updated cvss 6.8
php-Smarty: secure mode bypass
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.13% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- seclists.org http://seclists.org/oss-sec/2014/q4/421 referenced PoC, tagged "exploit" by a source, unverified
- seclists.org http://seclists.org/oss-sec/2014/q4/420 referenced PoC, tagged "exploit" by a source, unverified
- bugs.debian.org https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765920 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | smarty/smarty | <3.1.21 |
3.1.21 |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
seclists.org
/oss-sec/2014/q4/421
mailing-list, web, exploit
-
seclists.org
/oss-sec/2014/q4/420
mailing-list, web, exploit
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=765920
web, exploit
-
mandriva.com
/security/advisories?name=MDVSA-2014:221
vendor-advisory, web
-
securityfocus.com
/bid/70708
vdb-entry, web
-
code.google.com
/p/smarty-php/source/browse/trunk/distribution/change_log.txt?r=4902
web
-
advisories.mageia.org
/MGASA-2014-0468.html
web
-
exchange.xforce.ibmcloud.com
/vulnerabilities/97725
vdb-entry, web
-
nvd.nist.gov
/vuln/detail/CVE-2014-8350
advisory
-
github.com
/smarty-php/smarty
package
Sources
- CVE List CVE-2014-8350
- GitHub Advisory GHSA-2pmx-6mm6-6v72
- NVD CVE-2014-8350
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.