CVE-2012-4437
What it is
Cross-site scripting (XSS) vulnerability in the SmartyException class in Smarty (aka smarty-php) before 3.1.12 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors that trigger a Smarty exception.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.5% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.5% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- Smarty 1.0
- Smarty 1.0a
- Smarty 1.0b
- Smarty 1.1.0
- Smarty 1.2.0
- Smarty 1.2.1
- Smarty 1.2.2
- Smarty 1.3.0
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-4437.md and follow it. Check whether this project is affected by CVE-2012-4437. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://code.google.com/p/smarty-php/source/detail?r=4658
- http://secunia.com/advisories/50589
- http://code.google.com/p/smarty-php/source/detail?r=4658
- http://secunia.com/advisories/50589
References
- http://advisories.mageia.org/MGASA-2014-0468.html
- http://code.google.com/p/smarty-php/source/browse/trunk/distribution/change_log.txt
- http://code.google.com/p/smarty-php/source/detail?r=4658
- http://jvn.jp/en/jp/JVN63650108/index.html
- http://jvndb.jvn.jp/ja/contents/2012/JVNDB-2012-000094.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088138.html
- http://secunia.com/advisories/50589
- http://www.mandriva.com/security/advisories?name=MDVSA-2014:221
- http://www.openwall.com/lists/oss-security/2012/09/19/1
- http://www.openwall.com/lists/oss-security/2012/09/20/3
- http://www.securityfocus.com/bid/55506
- http://advisories.mageia.org/MGASA-2014-0468.html
- http://code.google.com/p/smarty-php/source/browse/trunk/distribution/change_log.txt
- http://code.google.com/p/smarty-php/source/detail?r=4658
- http://jvn.jp/en/jp/JVN63650108/index.html
- http://jvndb.jvn.jp/ja/contents/2012/JVNDB-2012-000094.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088138.html
- http://secunia.com/advisories/50589
- http://www.mandriva.com/security/advisories?name=MDVSA-2014:221
- http://www.openwall.com/lists/oss-security/2012/09/19/1
- http://www.openwall.com/lists/oss-security/2012/09/20/3
- http://www.securityfocus.com/bid/55506