CVE-2010-4335
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…
- 7.5HighCVSS base score
- 55.2%Exploitation in 30 daysEPSS · top 1.0% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and 2 Exploit-DB entries for it. A reference of the record is tagged as an exploit.
Show the exploits4
Metasploit modules1 module
- CakePHP Cache Corruption Code Execution (Metasploit module) (opens in a new tab)
exploit/unix/webapp/cakephp_cache_corruptionRank excellentdisclosed 15 Nov 2010
Exploit-DB2 entries
- CakePHP 1.3.5/1.2.8 - 'Unserialize()' File Inclusion (Exploit-DB entry) (opens in a new tab)
EDB-ID 16011webapps, phppublished 18 Jan 2011Not verified
- CakePHP 1.3.5/1.2.8 - Cache Corruption (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 16902webapps, phppublished 14 Jan 2011Verified
References tagged exploit1 reference
- 16011 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By redhat
- 45 days later
· 45 days later
Published
- 14 years later
· 14 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 55.2% · top 1.0% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistcakephp/cakephpGHSA-g2vx-8v47-4vhh (opens in a new tab)
References
7
- https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb (opens in a new tab)x_refsource_CONFIRMx_transferred
- 16011 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- http://packetstormsecurity.org/files/view/95847/burnedcake.py.txt (opens in a new tab)x_refsource_MISCx_transferred
- 69352 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- 8026 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- http://malloc.im/CakePHP-unserialize.txt (opens in a new tab)x_refsource_MISCx_transferred
- 42211 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-3864 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-g2vx-8v47-4vhh (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2010-4335)Record last updated .