CVE-2012-4399
high
CVSS v3
7.5
CVSS v4 NEW
โ
VIR risk
8.5
Description
CakePHPallows remote attackers to read arbitrary files via XML data containing external entity references
Predictions
Exploit likelihood
83%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
CakePHP 2.x < 2.2.0-RC2 - XML External Entity Injection
Source code queued for fetch โ refresh in a moment.
OS impact
Debian Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| bullseye | Fixed | 0 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | cakephp/cakephp | >=2.1.0-alpha,<2.1.5 | 2.1.5 |
| Packagist | cakephp/cakephp | >=2.2.0-beta,<2.2.1 | 2.2.1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| cakefoundation | cakephp | {"startIncluding":"2.1.0","endExcluding":"2.1.5"} | 2.1.5 |
References
- 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://security-tracker.debian.org/tracker/CVE-2012-4399
- https://nvd.nist.gov/vuln/detail/CVE-2012-4399
- https://github.com/cakephp/cakephp
CWEs
CWE-611
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.