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

CVE-2010-4335: Improper Input Validation

May 17, 2022 (updated January 14, 2023)

The _validatePost function in libs/controller/components/security.php in CakePHP 1.3.x through 1.3.5 and 1.2.8 allows remote attackers to modify the internal Cake cache and execute arbitrary code via a crafted data[_Token][fields] value that is processed by the unserialize function, as demonstrated by modifying the file_map cache to execute arbitrary local files.

References

  • malloc.im/CakePHP-unserialize.txt
  • packetstormsecurity.org/files/view/95847/burnedcake.py.txt
  • secunia.com/advisories/42211
  • securityreason.com/securityalert/8026
  • www.exploit-db.com/exploits/16011
  • www.osvdb.org/69352
  • github.com/advisories/GHSA-g2vx-8v47-4vhh
  • github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb
  • nvd.nist.gov/vuln/detail/CVE-2010-4335

Code Behaviors & Features

Detect and mitigate CVE-2010-4335 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 1.2.8 before 1.3.6

Fixed versions

  • 1.3.6

Solution

Upgrade to version 1.3.6 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/cakephp/cakephp/CVE-2010-4335.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:12 +0000.