{"id":"CVE-2012-4399","published":"2012-10-09T23:00:00Z","modified":"2024-09-16T17:14:37Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.12091,"percentile":0.96244,"provenance":"source"},"cwes":[],"references":[{"url":"http://secunia.com/advisories/49900","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://seclists.org/bugtraq/2012/Jul/101","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://bakery.cakephp.org/articles/markstory/2012/07/14/security_release_-_cakephp_2_1_5_2_2_1","tags":["x_refsource_CONFIRM"]},{"url":"http://www.exploit-db.com/exploits/19863","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://www.osvdb.org/84042","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.openwall.com/lists/oss-security/2012/09/03/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2012/09/03/2","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":24.2,"factors":[{"name":"EPSS percentile","points":19.25},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2012-07-16"},"first":{"date":"2012-07-16","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/19863"},"provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"cakephp/cakephp","vulnerableRanges":[">=2.1.0-alpha, <2.1.5",">=2.2.0-beta, <2.2.1"],"patched":["2.1.5","2.2.1"],"from":["GHSA-5964-pq8r-4q62"],"provenance":"source"}],"summary":{"text":"The XML handling in the Xml class of CakePHP (versions 2.1.x before 2.1.5 and 2.2.x before 2.2.1) is affected by an XML external entity (XXE) injection flaw. An attacker who can get the application to parse crafted XML containing external entity references can read arbitrary files from the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:51:26Z"},"euvd":{"id":"EUVD-2022-2545","exploited":false,"provenance":"source"},"exploits":[{"id":19863,"url":"https://www.exploit-db.com/exploits/19863","title":"CakePHP 2.x < 2.2.0-RC2 - XML External Entity Injection","date":"2012-07-16","verified":true,"provenance":"source"}],"exploitRefs":["http://www.exploit-db.com/exploits/19863"]}