PHP up to 4.0.0 mb_parse_str memory corruption

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 categorized as critical has been discovered in PHP up to 4.0.0. This vulnerability affects the function mb_parse_str. Executing a manipulation can lead to memory corruption. The identification of this vulnerability is CVE-2007-1583. Furthermore, there is an exploit available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in PHP up to 4.0.0 (Programming Language Software). It has been declared as critical. This vulnerability affects the function mb_parse_str. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

The mb_parse_str function in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 sets the internal register_globals flag and does not disable it in certain cases when a script terminates, which allows remote attackers to invoke available PHP scripts with register_globals functionality that is not detectable by these scripts, as demonstrated by forcing a memory_limit violation.

The bug was discovered 03/18/2007. The weakness was shared 03/21/2007 by Stefan Esser (Website). The advisory is shared for download at vupen.com. This vulnerability was named CVE-2007-1583 since 03/21/2007. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.

It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 3 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 25095 (CentOS 5 : php (CESA-2007:0153)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 156177 (Oracle Enterprise Linux Update for PHP (ELSA-2007-0155)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (33289), Exploit-DB (29752), Tenable (25095), SecurityFocus (BID 23016†) and OSVDB (33940†). The entries VDB-2887, VDB-3288, VDB-3281 and VDB-3286 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: Memory corruption
CWE: CWE-119
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: 25095
Nessus Name: CentOS 5 : php (CESA-2007:0153)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 58335
OpenVAS Name: Debian Security Advisory DSA 1283-1 (php5)
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: 🔍

Timelineinfo

03/18/2007 🔍
03/18/2007 +0 days 🔍
03/19/2007 +1 days 🔍
03/21/2007 +2 days 🔍
03/21/2007 +0 days 🔍
03/21/2007 +0 days 🔍
04/17/2007 +27 days 🔍
04/21/2007 +4 days 🔍
04/23/2007 +2 days 🔍
04/30/2007 +7 days 🔍
03/13/2015 +2874 days 🔍
04/22/2025 +3693 days 🔍

Sourcesinfo

Product: php.org

Advisory: vupen.com
Researcher: Stefan Esser
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2007-1583 (🔍)
GCVE (CVE): GCVE-0-2007-1583
GCVE (VulDB): GCVE-100-35764

OVAL: 🔍

X-Force: 33289
SecurityFocus: 23016 - PHP Mb_Parse_Str Function Register_Globals Activation Weakness
Secunia: 24924
OSVDB: 33940 - CVE-2007-1583 - PHP - Script execution Issue
Vulnerability Center: 14918 - PHP mb_parse_str Function Security Weakness, Medium
Vupen: ADV-2007-2732

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

Entryinfo

Created: 03/13/2015 12:16
Updated: 04/22/2025 04:04
Changes: 03/13/2015 12:16 (82), 07/18/2019 10:57 (6), 04/22/2025 04:04 (19)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!