PHP up to 5.1.4 php URL error_log 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.
5.9$0-$5k0.00

Summaryinfo

A vulnerability classified as critical has been found in PHP up to 5.1.4. Affected is the function error_log of the component php URL Handler. The manipulation leads to access control. This vulnerability is traded as CVE-2006-3011. Furthermore, there is an exploit available. It is recommended to upgrade the affected component. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Detailsinfo

A vulnerability was found in PHP up to 5.1.4 (Programming Language Software). It has been rated as critical. This issue affects the function error_log of the component php URL Handler. The manipulation with an unknown input leads to a access control vulnerability. Using CWE to declare the problem leads to CWE-264. Impacted is confidentiality, and integrity. The summary by CVE is:

The error_log function in basic_functions.c in PHP before 4.4.4 and 5.x before 5.1.5 allows local users to bypass safe mode and open_basedir restrictions via a "php://" or other scheme in the third argument, which disables safe mode.

The weakness was shared 06/26/2006 by Maksymilian Arciemowicz (echo) (Website). It is possible to read the advisory at securityreason.com. The identification of this vulnerability is CVE-2006-3011 since 06/13/2006. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.

The exploit is available at exploit-db.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 22053 (Mandrake Linux Security Advisory : php (MDKSA-2006:122)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks and running in the context l.

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 3 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (27414), Exploit-DB (7171), Tenable (22053), SecurityFocus (BID 18645†) and OSVDB (26827†). The entries VDB-30810, VDB-30800 and VDB-45525 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

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 5.9

VulDB Base Score: 6.5
VulDB Temp Score: 5.9
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: 🔍

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: 22053
Nessus Name: Mandrake Linux Security Advisory : php (MDKSA-2006:122)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

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

06/13/2006 🔍
06/26/2006 +13 days 🔍
06/26/2006 +0 days 🔍
06/26/2006 +0 days 🔍
06/26/2006 +0 days 🔍
06/26/2006 +0 days 🔍
06/26/2006 +0 days 🔍
06/26/2006 +0 days 🔍
06/27/2006 +0 days 🔍
07/13/2006 +16 days 🔍
07/17/2006 +4 days 🔍
07/24/2006 +7 days 🔍
05/11/2025 +6866 days 🔍

Sourcesinfo

Product: php.org

Advisory: securityreason.com
Researcher: Maksymilian Arciemowicz (echo)
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2006-3011 (🔍)
GCVE (CVE): GCVE-0-2006-3011
GCVE (VulDB): GCVE-100-2339
X-Force: 27414 - PHP error_log() safe mode bypass, Medium Risk
SecurityFocus: 18645 - PHP Error_Log Safe_Mode Restriction-Bypass Vulnerability
Secunia: 20818 - PHP "error_log()" Safe Mode Bypass Weakness, Not Critical
OSVDB: 26827 - PHP error_log() Third Argument Safe Mode Bypass
SecurityTracker: 1016377
Vulnerability Center: 12335 - PHP Safe Mode and open_basedir Bypass Vulnerability in error_log Function, Low
Vupen: ADV-2006-2523

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

Entryinfo

Created: 06/27/2006 11:15 AM
Updated: 05/11/2025 07:34 PM
Changes: 06/27/2006 11:15 AM (101), 06/23/2019 07:46 AM (1), 05/11/2025 07:34 PM (16)
Complete: 🔍
Cache ID: 18:AC9:40

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!