Cakefoundation CakePHP up to 1.3.5 Cache unserialize input validation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.0$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.0

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: cakephp_cache_corruption.rb
MetaSploit Name: CakePHP Cache Corruption Code Execution
MetaSploit File: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Patch: github.com
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

Fortigate IPS: 🔍

Timelineinfo

11/15/2010 🔍
11/30/2010 +15 days 🔍
01/14/2011 +45 days 🔍
01/14/2011 +0 days 🔍
01/14/2011 +0 days 🔍
01/18/2011 +4 days 🔍
01/18/2011 +0 days 🔍
09/30/2013 +986 days 🔍
03/19/2015 +535 days 🔍
01/20/2025 +3595 days 🔍

Sourcesinfo

Advisory: e431e86aa4301ced4273dc7919b59362cbb353cb
Status: 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

Entryinfo

Created: 03/19/2015 23:27
Updated: 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

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!