high7.5Public exploit code
CVE-2012-4399
CakePHPallows remote attackers to read arbitrary files via XML data containing external entity references
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- CakePHP 2.x < 2.2.0-RC2 - XML External Entity Injection2012-07-16 · webapps · php · Verified
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | cakephp/cakephp | >= 2.1.0-alpha, < 2.1.5 | 2.1.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Cakefoundation | Cakephp | from 2.1.0 before 2.1.5 from 2.2.0 before 2.2.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-5964-pq8r-4q62
- https://nvd.nist.gov/vuln/detail/CVE-2012-4399