Cakefoundation CakePHP up to 1.3.5 Cache unserialize input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.0 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Cakefoundation CakePHP up to 1.3.5 and classified as critical. Affected is the function unserialize of the component Cache. The manipulation results in input validation.
This vulnerability was named CVE-2010-4335. In addition, an exploit is available.
Details
A vulnerability classified as critical has been found in Cakefoundation CakePHP up to 1.3.5. Affected is the function unserialize of the component Cache. The manipulation with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was presented 01/14/2011 (Website). The advisory is shared for download at github.com. This vulnerability is traded as CVE-2010-4335 since 11/30/2010. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known.
A public exploit has been developed by felix and been published 4 days after the advisory. The exploit is shared for download at exploit-db.com. It is declared as highly functional. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12755 (CakePHP Cache Corruption Remote Code Execution Vulnerability).
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 11850.
The vulnerability is also documented in the databases at Exploit-DB (16011), Secunia (SA42211†) and Vulnerability Center (SBV-41633†). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Highly functional
Author: felix
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Qualys ID: 🔍
Qualys Name: 🔍
MetaSploit ID: cakephp_cache_corruption.rb
MetaSploit Name: CakePHP Cache Corruption Code Execution
MetaSploit File: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Patch: github.com
TippingPoint: 🔍
McAfee IPS: 🔍
McAfee IPS Version: 🔍
Fortigate IPS: 🔍
Timeline
11/15/2010 🔍11/30/2010 🔍
01/14/2011 🔍
01/14/2011 🔍
01/14/2011 🔍
01/18/2011 🔍
01/18/2011 🔍
09/30/2013 🔍
03/19/2015 🔍
01/20/2025 🔍
Sources
Advisory: e431e86aa4301ced4273dc7919b59362cbb353cbStatus: Confirmed
Confirmation: 🔍
CVE: CVE-2010-4335 (🔍)
GCVE (CVE): GCVE-0-2010-4335
GCVE (VulDB): GCVE-100-56088
Secunia: 42211 - CakePHP "unserialize()" PHP Code Execution Vulnerability, Highly Critical
Vulnerability Center: 41633 - CakePHP 1.3.0-1.3.5, 1.2.8 Remote Code Execution Vulnerability by Modifying the Internal Cake Cache, High
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/19/2015 23:27Updated: 01/20/2025 07:11
Changes: 03/19/2015 23:27 (60), 05/12/2017 08:42 (13), 10/12/2021 12:36 (4), 01/15/2025 20:39 (19), 01/20/2025 07:11 (3)
Complete: 🔍
Cache ID: 216:736:103
No comments yet. Languages: en.
Please log in to comment.