HighGHSA-5964-pq8r-4q62CVE-2012-4399
CakePHPallows remote attackers to read arbitrary files via XML data containing external entity references
Published 17 May 2022 · Updated 9 Apr 2024
Affected packages
cakephp/cakephpComposer
- Affected
- >=2.1.0-alpha <2.1.5
- Fixed in
- 2.1.5
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^2.1.5cakephp/cakephpComposer
- Affected
- >=2.2.0-beta <2.2.1
- Fixed in
- 2.2.1
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^2.2.1Details
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.
Is GHSA-5964-pq8r-4q62 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected cakephp/cakephp, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2012-4399
- Packagegithub.com/cakephp/cakephp
- Linkbakery.cakephp.org/articles/markstory/2012/07/14/security_release_-_cakephp_2_1_5_2_2_1
- Linkseclists.org/bugtraq/2012/Jul/101
- Linksecunia.com/advisories/49900
- Linkwww.exploit-db.com/exploits/19863
- Linkwww.openwall.com/lists/oss-security/2012/09/03/1
- Linkwww.openwall.com/lists/oss-security/2012/09/03/2
- Linkwww.osvdb.org/84042
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.