GitHub Advisory Database
GHSA-5964-pq8r-4q62
CakePHPallows remote attackers to read arbitrary files via XML data containing external entity references
Details
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 versions |
|---|---|---|
| Packagist | cakephp/cakephp | From 2.1.0-alpha before 2.1.5 (fixed in 2.1.5) |
| Packagist | cakephp/cakephp | From 2.2.0-beta before 2.2.1 (fixed in 2.2.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-4399
- https://github.com/cakephp/cakephp
- 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