CVE-2012-4399
HIGH 7.5CVSS 3.1CakePHPallows remote attackers to read arbitrary files via XML data containing external entity references
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.
- Published
- 9 Oct 2012
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- GHSA-5964-pq8r-4q62
- Sources
- NVDJSONOSV GHSA-5964-pq8r-4q62JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cakefoundation | cakephpcpe:2.3:a:cakefoundation:cakephp:*:*:*:*:*:*:*:* |
>= 2.1.0, < 2.1.5 | 2.1.5 |
| NVD | cakefoundation | cakephpcpe:2.3:a:cakefoundation:cakephp:*:*:*:*:*:*:*:* |
>= 2.2.0, < 2.2.1 | 2.2.1 |
| OSV | Packagist | cakephp/cakephp | >= 2.1.0-alpha, < 2.1.5 | 2.1.5 |
| OSV | Packagist | cakephp/cakephp | >= 2.2.0-beta, < 2.2.1 | 2.2.1 |
References
- http://bakery.cakephp.org/articles/markstory/2012/07/14/security_release_-_cakephp_2_1_5_2_2_1 · Broken Link, Vendor Advisory, WEB
- http://seclists.org/bugtraq/2012/Jul/101 · Exploit, Mailing List, Third Party Advisory, WEB
- http://secunia.com/advisories/49900 · Broken Link, Vendor Advisory, WEB
- http://www.exploit-db.com/exploits/19863 · Exploit, Third Party Advisory, VDB Entry, WEB
- http://www.openwall.com/lists/oss-security/2012/09/03/1 · Mailing List, WEB
- http://www.openwall.com/lists/oss-security/2012/09/03/2 · Mailing List, WEB
- http://www.osvdb.org/84042 · Broken Link, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2012-4399 · ADVISORY
- https://github.com/cakephp/cakephp · PACKAGE
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 9 Oct 2012)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 17 May 2022)