CakePHPallows remote attackers to read arbitrary files via XML data containing external entity references
Date: 2022-05
Affected: composer/cakephp/cakephp, composer/cakephp/cakephp
Attack vector: other
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2012-4399
CWE: CWE-611
CVSS: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):