Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. cakephp/cakephp
  4. ›
  5. CVE-2012-4399

CVE-2012-4399: CakePHPallows remote attackers to read arbitrary files via XML data containing external entity references

May 17, 2022 (updated January 14, 2023)

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.

References

  • bakery.cakephp.org/articles/markstory/2012/07/14/security_release_-_cakephp_2_1_5_2_2_1
  • seclists.org/bugtraq/2012/Jul/101
  • secunia.com/advisories/49900
  • www.exploit-db.com/exploits/19863
  • www.openwall.com/lists/oss-security/2012/09/03/1
  • www.openwall.com/lists/oss-security/2012/09/03/2
  • www.osvdb.org/84042
  • github.com/advisories/GHSA-5964-pq8r-4q62
  • nvd.nist.gov/vuln/detail/CVE-2012-4399

Code Behaviors & Features

Detect and mitigate CVE-2012-4399 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.1.0-alpha before 2.1.5, all versions starting from 2.2.0-beta before 2.2.1

Fixed versions

  • 2.1.5
  • 2.2.1

Solution

Upgrade to versions 2.1.5, 2.2.1 or above.

Impact 5 MEDIUM

AV:N/AC:L/Au:N/C:P/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-264

Source file

packagist/cakephp/cakephp/CVE-2012-4399.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:03 +0000.