GHSA-5964-pq8r-4q62high7.5
CakePHPallows remote attackers to read arbitrary files via XML data containing external entity references
The advisory, in context
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.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
cakephp/cakephp Packagist
Ecosystem versions
From 2.1.0-alpha before 2.1.5
Fixed in 2.1.5
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.1.0-alpha"
},
{
"fixed": "2.1.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}cakephp/cakephp Packagist
Ecosystem versions
From 2.2.0-beta before 2.2.1
Fixed in 2.2.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.2.0-beta"
},
{
"fixed": "2.2.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}References
- https://nvd.nist.gov/vuln/detail/CVE-2012-4399
- https://github.com/cakephp/cakephp
- 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