Vulnerability CVE-2010-4335


Published: 2011-01-14   Modified: 2012-02-13

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.

See advisories in our WLB2 database:
Topic
Author
Date
High
CakePHP <= 1.3.5 / 1.2.8 unserialize() Vulnerability
felix
18.01.2011

Type:

CWE-20

(Improper Input Validation)

Vendor: Cakefoundation
Product: Cakephp 
Version:
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.3
1.2.8

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
7.5/10
6.4/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial

 References:
https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb
http://www.osvdb.org/69352
http://www.exploit-db.com/exploits/16011
http://securityreason.com/securityalert/8026
http://secunia.com/advisories/42211
http://packetstormsecurity.org/files/view/95847/burnedcake.py.txt
http://malloc.im/CakePHP-unserialize.txt

Related CVE
CVE-2019-11458
An issue was discovered in SmtpTransport in CakePHP 3.7.6. An unserialized object with modified internal properties can trigger arbitrary file overwriting upon destruction.
CVE-2012-4399
The Xml class in CakePHP 2.1.x before 2.1.5 and 2.2.x before 2.2.1 allows remote attackers to read arbitrary files via XML data containing external entity references, aka an XML external entity (XXE) injection attack.
CVE-2011-3712
CakePHP 1.3.7 allows remote attackers to obtain sensitive information via a direct request to a .php file, which reveals the installation path in an error message, as demonstrated by dispatcher.php and certain other files.
CVE-2006-5031
Directory traversal vulnerability in app/webroot/js/vendors.php in Cake Software Foundation CakePHP before 1.1.8.3544 allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter, followed by a filename ending with "%00" a...
CVE-2006-4067
Cross-site scripting (XSS) vulnerability in cake/libs/error.php in CakePHP before 1.1.7.3363 allows remote attackers to inject arbitrary web script or HTML via the URL, which is reflected back in a 404 ("Not Found") error page. NOTE: some of these d...

Copyright 2019, cxsecurity.com

 

Back to Top