CVE-2010-4335 Improper Input Validation
No CVSS score yet. EPSS 55% estimated probability of exploitation activity in the next 30 days. Fixed in cakephp/cakephp 1.3.6.
On this page
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.
- EPSS
- 55% (unchanged from 55% a week ago; 55% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-20 Improper Input Validation
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
cakephp/cakephp(Packagist): fixed in 1.3.6- Debian: fixed package versions per release
- Patch: https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb
- Vendor advisory: http://secunia.com/advisories/42211
Ask an AI about this CVE
Show the prompt
Explain CVE-2010-4335 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2010-4335?via=ask-ai-copy and https://cve.bz/cve/CVE-2010-4335?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2010-4335 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| cakefoundation:cakephp | 1.3.0 |
| cakephp:cakephp | 1.2.8 |
| cakephp:cakephp | 1.3:dev |
| cakephp:cakephp | 1.3.0:alpha |
| cakephp:cakephp | 1.3.0:beta |
| cakephp:cakephp | 1.3.0:rc1 |
| cakephp:cakephp | 1.3.0:rc2 |
| cakephp:cakephp | 1.3.0:rc3 |
| cakephp:cakephp | 1.3.0:rc4 |
| cakephp:cakephp | 1.3.1 |
| cakephp:cakephp | 1.3.2 |
| cakephp:cakephp | 1.3.3 |
| cakephp:cakephp | 1.3.4 |
| cakephp:cakephp | 1.3.5 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-g2vx-8v47-4vhh | Packagist | cakephp/cakephp | >=1.2.8 <1.3.6 | 1.3.6 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | cakephp | 1.3.2-1.1 | DEBIAN-CVE-2010-4335 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
Public exploits
- Exploit-DB CakePHP 1.3.5/1.2.8 - 'Unserialize()' File Inclusion
- Exploit-DB CakePHP 1.3.5/1.2.8 - Cache Corruption (Metasploit)
- Metasploit CakePHP Cache Corruption Code Execution
Attack patterns (CAPEC)
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).
References
- https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb
- http://secunia.com/advisories/42211
- http://malloc.im/CakePHP-unserialize.txt
- http://packetstormsecurity.org/files/view/95847/burnedcake.py.txt
- http://securityreason.com/securityalert/8026
- http://www.exploit-db.com/exploits/16011
- http://www.osvdb.org/69352