PHP 5.2.4/5.2.5 Multibyte Character access control

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.
6.6$0-$5k0.00

Summaryinfo

A vulnerability described as problematic has been identified in PHP 5.2.4/5.2.5. This impacts an unknown function of the component Multibyte Character Handler. Executing a manipulation can lead to access control. The identification of this vulnerability is CVE-2007-4850. Furthermore, there is an exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability has been found in PHP 5.2.4/5.2.5 (Programming Language Software) and classified as critical. This vulnerability affects an unknown code block of the component Multibyte Character Handler. The manipulation with an unknown input leads to a access control vulnerability. The CWE definition for the vulnerability is CWE-264. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context-dependent attackers to bypass safe_mode and open_basedir restrictions and read arbitrary files via a file:// request containing a \x00 sequence, a different vulnerability than CVE-2006-2563.

The bug was discovered 01/22/2008. The weakness was shared 05/02/2008 by Stefan Esser (ryan) (Website). The advisory is available at php.net. This vulnerability was named CVE-2007-4850 since 09/12/2007. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details are unknown but a public exploit is available. This vulnerability is assigned to T1068 by the MITRE ATT&CK project.

It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 33790 (Mac OS X Multiple Vulnerabilities (Security Update 2008-005)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family MacOS X Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 115983 (Apple Mac OS X Security Update 2008-007 Not Installed (APPLE-SA-2008-10-09)).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at php.net. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 4 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (42133), Exploit-DB (31053), Tenable (33790), SecurityFocus (BID 29009†) and OSVDB (44908†). The entries VDB-3693, VDB-3697, VDB-3695 and VDB-3696 are related to this item. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

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

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 33790
Nessus Name: Mac OS X Multiple Vulnerabilities (Security Update 2008-005)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 800110
OpenVAS Name: Multiple Vulnerabilities in PHP August-08
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: php.net

Timelineinfo

09/12/2007 🔍
01/22/2008 +132 days 🔍
01/23/2008 +1 days 🔍
01/24/2008 +1 days 🔍
05/01/2008 +98 days 🔍
05/02/2008 +1 days 🔍
05/07/2008 +5 days 🔍
05/12/2008 +4 days 🔍
05/20/2008 +8 days 🔍
07/31/2008 +72 days 🔍
08/01/2008 +1 days 🔍
04/26/2025 +6112 days 🔍

Sourcesinfo

Product: php.org

Advisory: php.net
Researcher: Stefan Esser (ryan)
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2007-4850 (🔍)
GCVE (CVE): GCVE-0-2007-4850
GCVE (VulDB): GCVE-100-3694

OVAL: 🔍

X-Force: 42133 - PHP FastCGI SAPI buffer overflow, High Risk
SecurityFocus: 29009 - PHP 5.2.5 and Prior Versions Multiple Vulnerabilities
Secunia: 30048 - PHP Multiple Vulnerabilities, Moderately Critical
OSVDB: 44908 - PHP escapeshellcmd API Function Multibyte Chars Unspecified Issue
Vulnerability Center: 18358 - PHP Libcurl Vulnerability Allows Remote Attackers to Read Files via a File:// Request, Medium
Vupen: ADV-2008-1412

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 05/20/2008 09:43
Updated: 04/26/2025 11:33
Changes: 05/20/2008 09:43 (96), 08/10/2019 09:34 (3), 04/26/2025 11:33 (25)
Complete: 🔍
Cache ID: 216:3C6: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!