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.
Metrics
CVSS 2.0 7.5/10
AV:N/AC:L/Au:N/C:P/I:P/A:PWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://malloc.im/CakePHP-unserialize.txtExploit
- http://packetstormsecurity.org/files/view/95847/burnedcake.py.txtExploit
- http://secunia.com/advisories/42211Vendor Advisory
- http://securityreason.com/securityalert/8026
- http://www.exploit-db.com/exploits/16011
- http://www.osvdb.org/69352
- https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cbPatch
- http://malloc.im/CakePHP-unserialize.txtExploit
- http://packetstormsecurity.org/files/view/95847/burnedcake.py.txtExploit
- http://secunia.com/advisories/42211Vendor Advisory
- http://securityreason.com/securityalert/8026
- http://www.exploit-db.com/exploits/16011
- http://www.osvdb.org/69352
- https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cbPatch
Timeline
- Published
- Jan 14, 2011
- Last modified
- Jun 16, 2026
- NVD status
- Modified