{"id":"CVE-2010-4335","published":"2011-01-14T22:00:00Z","modified":"2024-08-07T03:43:14Z","title":"The _validatePost function in libs/controller/components/security.php in CakePHP 1.3.x through 1.3.5 and 1.2.8 allows…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The _validatePost function in libs/controller/components/security.php of CakePHP (versions 1.3.x through 1.3.5 and 1.2.8) can be abused through a crafted data[_Token][fields] value that is passed to unserialize, letting an attacker modify the internal Cake cache. An attacker who can send such a crafted request to the application can exploit this to execute arbitrary code by altering the file_map cache so that arbitrary local files are run.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:21:48Z"},"cvss":null,"epss":{"score":0.55204,"percentile":0.99025,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb","tags":["x_refsource_CONFIRM"]},{"url":"http://www.exploit-db.com/exploits/16011","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://packetstormsecurity.org/files/view/95847/burnedcake.py.txt","tags":["x_refsource_MISC"]},{"url":"http://www.osvdb.org/69352","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://securityreason.com/securityalert/8026","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://malloc.im/CakePHP-unserialize.txt","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/42211","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Packagist","package":"cakephp/cakephp","vulnerableRanges":[">=1.2.8, <1.3.6"],"patched":["1.3.6"],"from":["GHSA-g2vx-8v47-4vhh"],"provenance":"source"}],"advisories":[{"id":"GHSA-g2vx-8v47-4vhh","url":"https://github.com/advisories/GHSA-g2vx-8v47-4vhh","severity":"HIGH","ecosystem":"Packagist","package":"cakephp/cakephp","vulnerableRanges":[">=1.2.8, <1.3.6"],"patched":["1.3.6"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-3864","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-3864","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":16011,"url":"https://www.exploit-db.com/exploits/16011","title":"CakePHP 1.3.5/1.2.8 - 'Unserialize()' File Inclusion","type":"webapps","platform":"php","date":"2011-01-18","verified":false,"provenance":"source"},{"id":16902,"url":"https://www.exploit-db.com/exploits/16902","title":"CakePHP 1.3.5/1.2.8 - Cache Corruption (Metasploit)","type":"webapps","platform":"php","date":"2011-01-14","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2011-01-14"},"metasploit":[{"name":"CakePHP Cache Corruption Code Execution","module":"exploit/unix/webapp/cakephp_cache_corruption","type":"exploit","disclosureDate":"2010-11-15","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/cakephp_cache_corruption.rb"}],"first":{"date":"2010-11-15","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/cakephp_cache_corruption.rb"},"provenance":"source"},"exploitRefs":["http://www.exploit-db.com/exploits/16011"],"flow":[],"timeline":[{"date":"2010-11-15","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2011-01-14","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/cakephp_cache_corruption.rb","provenance":"source"},{"date":"2011-01-14","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2010-4335","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":24.8,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.8,"detail":"percentile 0.9902"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 2 Exploit-DB entries; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}