PHP up to 5.2.5 Path Converter cgi_main.c 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 classified as problematic has been found in PHP. Affected is an unknown function of the file cgi_main.c of the component Path Converter. The manipulation leads to memory corruption. This vulnerability is referenced as CVE-2008-2051. No exploit is available. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability was found in PHP (Programming Language Software) and classified as critical. This issue affects some unknown processing of the file cgi_main.c of the component Path Converter. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

The escapeshellcmd API function in PHP before 5.2.6 has unknown impact and context-dependent attack vectors related to "incomplete multibyte chars."

The bug was discovered 05/01/2008. The weakness was published 05/02/2008 by Ryan Permeh (Website). It is possible to read the advisory at php.net. The identification of this vulnerability is CVE-2008-2051 since 05/02/2008. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.

It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 860416 , which helps to determine the existence of the flaw in a target environment. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12249 (PHP Multiple Vulnerabilities May 2008).

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.

The vulnerability is also documented in the databases at X-Force (42138), Tenable (860416), SecurityFocus (BID 29009†), OSVDB (44908†) and Secunia (SA30048†). Similar entries are available at VDB-3693, VDB-3697, VDB-3696 and VDB-3694. Be aware that VulDB is the high quality 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: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 860416
Nessus File: 🔍

OpenVAS ID: 61024
OpenVAS Name: Debian Security Advisory DSA 1572-1 (php5)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Patch: php.net

Timelineinfo

05/01/2008 🔍
05/01/2008 +0 days 🔍
05/02/2008 +1 days 🔍
05/02/2008 +0 days 🔍
05/05/2008 +3 days 🔍
05/05/2008 +0 days 🔍
05/11/2008 +6 days 🔍
05/20/2008 +9 days 🔍
08/10/2019 +4099 days 🔍

Sourcesinfo

Product: php.org

Advisory: php.net
Researcher: Ryan Permeh
Status: Not defined
Confirmation: 🔍

CVE: CVE-2008-2051 (🔍)
GCVE (CVE): GCVE-0-2008-2051
GCVE (VulDB): GCVE-100-3695

OVAL: 🔍

X-Force: 42138
SecurityFocus: 29009 - PHP 5.2.5 and Prior Versions Multiple Vulnerabilities
Secunia: 30048 - PHP Multiple Vulnerabilities, Moderately Critical
OSVDB: 44908 - PHP escapeshellcmd function security bypass
Vulnerability Center: 18340 - PHP < 5.2.6 escapeshellcmd API Function Vulnerability Related to \, High
Vupen: ADV-2008-1412

See also: 🔍

Entryinfo

Created: 05/20/2008 09:43
Updated: 08/10/2019 08:06
Changes: 05/20/2008 09:43 (84), 08/10/2019 08:06 (3)
Complete: 🔍
Cache ID: 216:CD5:103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!