HIGH7.5
GHSA-5964-pq8r-4q62
CakePHPallows remote attackers to read arbitrary files via XML data containing external entity references
Quick fix
GHSA-5964-pq8r-4q62 — cakephp/cakephp: upgrade to the fixed version with the command below.
composer require cakephp/cakephp:^2.1.5Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/cakephp/cakephp
Introduced in:
2.1.0-alphaFixed in: 2.1.5Fix
composer require cakephp/cakephp:^2.1.5Packagist/cakephp/cakephp
Introduced in:
2.2.0-betaFixed in: 2.2.1Fix
composer require cakephp/cakephp:^2.2.1References
- https://nvd.nist.gov/vuln/detail/CVE-2012-4399[ADVISORY]
- https://github.com/cakephp/cakephp[PACKAGE]
- http://bakery.cakephp.org/articles/markstory/2012/07/14/security_release_-_cakephp_2_1_5_2_2_1[WEB]
- http://seclists.org/bugtraq/2012/Jul/101[WEB]
- http://secunia.com/advisories/49900[WEB]
- http://www.exploit-db.com/exploits/19863[WEB]
- http://www.openwall.com/lists/oss-security/2012/09/03/1[WEB]
- http://www.openwall.com/lists/oss-security/2012/09/03/2[WEB]
- http://www.osvdb.org/84042[WEB]