CVE Vulnerabilities

CVE-2012-4399

Improper Restriction of XML External Entity Reference

Published: Oct 09, 2012 | Modified: Apr 11, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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.

Weakness

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

Affected Software

Name Vendor Start Version End Version
Cakephp Cakefoundation 2.1.0 (including) 2.1.5 (excluding)
Cakephp Cakefoundation 2.2.0 (including) 2.2.1 (excluding)

Potential Mitigations

References