CVE-2012-4399

high
Published 2012-10-09 ยท Modified 2024-04-09
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4 NEW
โ€”
not yet in upstream
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 with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-19863 webapps php verified
Pawel Wylecial ยท 2012-07-16

CakePHP 2.x < 2.2.0-RC2 - XML External Entity Injection

Source code queued for fetch โ€” refresh in a moment.

OS impact

debian Debian Fixed 1 release
VersionStatusFixed in
bullseye Fixed 0

Package impact

EcosystemPackageVulnerableFixed
php Packagistcakephp/cakephp>=2.1.0-alpha,<2.1.52.1.5
php Packagistcakephp/cakephp>=2.2.0-beta,<2.2.12.2.1

Application impact

VendorProductVersionsFixed
cakefoundationcakephp{"startIncluding":"2.1.0","endExcluding":"2.1.5"}2.1.5

References

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.