What’s Vulnerable › Vulnerabilities
CVE-2012-4399
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 12.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2012-10-09 · updated 2026-06-16
- Weakness: CWE-611
Description
The Xml class in CakePHP 2.1.x before 2.1.5 and 2.2.x before 2.2.1 allows remote attackers to read arbitrary files via XML data containing external entity references, aka an XML external entity (XXE) injection attack.
Affected products
- Cakefoundation Cakephp: from 2.1.0 before 2.1.5; from 2.2.0 before 2.2.1 — fixed in 2.1.5, 2.2.1
How to fix
Upgrade to a fixed version: Cakefoundation Cakephp 2.1.5, 2.2.1. Check the vendor advisory for mitigations.
References
- http://bakery.cakephp.org/articles/markstory/2012/07/14/security_release_-_cakephp_2_1_5_2_2_1
- http://seclists.org/bugtraq/2012/Jul/101
- http://secunia.com/advisories/49900
- http://www.exploit-db.com/exploits/19863
- http://www.openwall.com/lists/oss-security/2012/09/03/1
- http://www.openwall.com/lists/oss-security/2012/09/03/2
- http://www.osvdb.org/84042
- http://bakery.cakephp.org/articles/markstory/2012/07/14/security_release_-_cakephp_2_1_5_2_2_1
- http://seclists.org/bugtraq/2012/Jul/101
- http://secunia.com/advisories/49900
- http://www.exploit-db.com/exploits/19863
- http://www.openwall.com/lists/oss-security/2012/09/03/1
Get alerted when CVE-2012-4399 or the next vulnerability affects your stack