| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
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: Access controlCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: php.net
Timeline
09/12/2007 🔍01/22/2008 🔍
01/23/2008 🔍
01/24/2008 🔍
05/01/2008 🔍
05/02/2008 🔍
05/07/2008 🔍
05/12/2008 🔍
05/20/2008 🔍
07/31/2008 🔍
08/01/2008 🔍
04/26/2025 🔍
Sources
Product: php.orgAdvisory: 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: 🔍
Entry
Created: 05/20/2008 09:43Updated: 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
No comments yet. Languages: en.
Please log in to comment.