CVE-2010-4335
HIGH 7.5CVSS 2.0CakePHP allows remote attackers to modify internal Cake cache and execute arbitrary code
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.
- Published
- 14 Jan 2011
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-g2vx-8v47-4vhh
- Sources
- NVDJSONOSV GHSA-g2vx-8v47-4vhhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cakefoundation | cakephpcpe:2.3:a:cakefoundation:cakephp:1.3.0:*:*:*:*:*:*:* |
= 1.3.0 | |
| NVD | cakephp | cakephpcpe:2.3:a:cakephp:cakephp:1.2.8:*:*:*:*:*:*:* |
= 1.2.8 | |
| NVD | cakephp | cakephpcpe:2.3:a:cakephp:cakephp:1.3:dev:*:*:*:*:*:* |
= 1.3 | |
| NVD | cakephp | cakephpcpe:2.3:a:cakephp:cakephp:1.3.0:alpha:*:*:*:*:*:* |
= 1.3.0 | |
| NVD | cakephp | cakephpcpe:2.3:a:cakephp:cakephp:1.3.0:beta:*:*:*:*:*:* |
= 1.3.0 | |
| NVD | cakephp | cakephpcpe:2.3:a:cakephp:cakephp:1.3.0:rc1:*:*:*:*:*:* |
= 1.3.0 | |
| NVD | cakephp | cakephpcpe:2.3:a:cakephp:cakephp:1.3.0:rc2:*:*:*:*:*:* |
= 1.3.0 | |
| NVD | cakephp | cakephpcpe:2.3:a:cakephp:cakephp:1.3.0:rc3:*:*:*:*:*:* |
= 1.3.0 | |
| NVD | cakephp | cakephpcpe:2.3:a:cakephp:cakephp:1.3.0:rc4:*:*:*:*:*:* |
= 1.3.0 | |
| NVD | cakephp | cakephpcpe:2.3:a:cakephp:cakephp:1.3.1:*:*:*:*:*:*:* |
= 1.3.1 | |
| NVD | cakephp | cakephpcpe:2.3:a:cakephp:cakephp:1.3.2:*:*:*:*:*:*:* |
= 1.3.2 | |
| NVD | cakephp | cakephpcpe:2.3:a:cakephp:cakephp:1.3.3:*:*:*:*:*:*:* |
= 1.3.3 | |
| NVD | cakephp | cakephpcpe:2.3:a:cakephp:cakephp:1.3.4:*:*:*:*:*:*:* |
= 1.3.4 | |
| NVD | cakephp | cakephpcpe:2.3:a:cakephp:cakephp:1.3.5:*:*:*:*:*:*:* |
= 1.3.5 | |
| OSV | Packagist | cakephp/cakephp | >= 1.2.8, < 1.3.6 | 1.3.6 |
References
- http://malloc.im/CakePHP-unserialize.txt · Exploit, WEB
- http://packetstormsecurity.org/files/view/95847/burnedcake.py.txt · Exploit, WEB
- http://secunia.com/advisories/42211 · Vendor Advisory, WEB
- http://securityreason.com/securityalert/8026 · WEB
- http://www.exploit-db.com/exploits/16011 · WEB
- http://www.osvdb.org/69352 · WEB
- https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb · Patch, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2010-4335 · ADVISORY
- https://github.com/cakephp/cakephp · PACKAGE
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 14 Jan 2011)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 17 May 2022)