CVE-2010-4335
Cakefoundation Cakephp vulnerability
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.
Affected products
Cakephp. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cakefoundation Cakephp runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/42211 · Vendor Advisory
- github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb · Patch
- malloc.im/CakePHP-unserialize.txt · Exploit
- packetstormsecurity.org/files/view/95847/burnedcake.py.txt · Exploit
- securityreason.com/securityalert/8026
- www.exploit-db.com/exploits/16011
- www.osvdb.org/69352
- nvd.nist.gov/vuln/detail/CVE-2010-4335
- cve.org/CVERecord?id=CVE-2010-4335
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.