NetSight
high7.5Public exploit code

CVE-2012-4399

CakePHPallows remote attackers to read arbitrary files via XML data containing external entity references

Public exploit code

Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.

Impact

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

EcosystemPackageAffectedFixed in
composercakephp/cakephp>= 2.1.0-alpha, < 2.1.52.1.5

Affected products

VendorProductAffected versions
CakefoundationCakephp
from 2.1.0 before 2.1.5
from 2.2.0 before 2.2.1

Weakness classification

References