patchminder
Weaponized · Metasploit CVE-2010-4335

Remote code executionin the cakephp/cakephp package.

Published 14 Jan 2011 · Updated 7 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Not scored
No source has scored it yet
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 55.2% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 1.3.6 or later
In plain words

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.

What to do now
  • Upgrade cakephp/cakephp (Packagist) to 1.3.6 or later.

Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
cakephp/cakephp (Packagist)
1.2.8 to before 1.3.6
1.3.6
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 15 Nov 2010
    Metasploit module: CakePHP Cache Corruption Code Execution.
  2. 30 Nov 2010
    CVE ID reserved by redhat.
  3. 14 Jan 2011
    Published in the CVE List.
  4. 7 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
2 entries
GitHub proof of concepts
None known
Exploit-DBEDB-ID 16011web application exploit for php, published 18 Jan 2011
Exploit-DBEDB-ID 16902web application exploit for php, published 14 Jan 2011, verified by Exploit-DB
Referencewww.exploit-db.comnamed as exploit in the CVE record

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2010-4335: Remote code execution in the cakephp/cakephp package. https://patchminder.com/cve/cve-2010-4335/ (accessed 5 December 2026).