PHP 4.4.2/5.1.4 Safe-Mode curl_init Null Byte Char 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.
5.7$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in PHP 4.4.2/5.1.4. This vulnerability affects the function curl_init of the component Safe-Mode. This manipulation as part of Null Byte Char causes memory corruption. The identification of this vulnerability is CVE-2006-2563. There is no exploit available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability classified as critical was found in PHP 4.4.2/5.1.4 (Programming Language Software). Affected by this vulnerability is the function curl_init of the component Safe-Mode. The manipulation as part of a Null Byte Char 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, and integrity. The summary by CVE is:

The cURL library (libcurl) in PHP 4.4.2 and 5.1.4 allows attackers to bypass safe mode and read files via a file:// request containing null characters.

The bug was discovered 05/26/2006. The weakness was shared 05/30/2006 by Maksymilian Arciemowicz (Website). The advisory is shared at securityreason.com. This vulnerability is known as CVE-2006-2563 since 05/23/2006. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.

After before and not just, there has been an exploit disclosed. 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 27146 (openSUSE 10 Security Update : apache2-mod_php5 (apache2-mod_php5-2039)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165127 (SUSE Security Update for php4, php5 (SUSE-SA:2006:052)).

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 (26764), Tenable (27146), SecurityFocus (BID 18116†), OSVDB (25813†) and Secunia (SA22039†). The entries VDB-2469, VDB-2468, VDB-2467 and VDB-2466 are related to this item. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.5
VulDB Temp Score: 5.7
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: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 27146
Nessus Name: openSUSE 10 Security Update : apache2-mod_php5 (apache2-mod_php5-2039)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 65396
OpenVAS Name: SLES9: Security update for PHP4
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Patch: php.net

Timelineinfo

05/23/2006 🔍
05/26/2006 +3 days 🔍
05/26/2006 +0 days 🔍
05/27/2006 +1 days 🔍
05/29/2006 +2 days 🔍
05/29/2006 +0 days 🔍
05/30/2006 +1 days 🔍
05/30/2006 +0 days 🔍
05/30/2006 +0 days 🔍
05/31/2006 +0 days 🔍
07/24/2006 +54 days 🔍
09/14/2006 +52 days 🔍
09/22/2006 +8 days 🔍
10/17/2007 +390 days 🔍
06/23/2019 +4267 days 🔍

Sourcesinfo

Product: php.org

Advisory: securityreason.com
Researcher: Maksymilian Arciemowicz
Status: Confirmed

CVE: CVE-2006-2563 (🔍)
GCVE (CVE): GCVE-0-2006-2563
GCVE (VulDB): GCVE-100-2269
X-Force: 26764 - PHP cURL library curl_init() safe mode bypass, Medium Risk
SecurityFocus: 18116 - PHP cURL Encoded NULL Character Safe_Mode Restriction Bypass Vulnerability
Secunia: 22039 - SUSE updates for php4 / php5, Highly Critical
OSVDB: 25813 - PHP cURL library (libcurl) curl_init() Safe Mode Bypass
SecurityTracker: 1016175
Vulnerability Center: 12333 - PHP Safe Mode Bypass via file:// Requests with Null Characters, Medium
Vupen: ADV-2006-2055

See also: 🔍

Entryinfo

Created: 05/31/2006 14:41
Updated: 06/23/2019 07:17
Changes: 05/31/2006 14:41 (106), 06/23/2019 07:17 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!