CVE-2006-3011

Summary

CVECVE-2006-3011
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2006-06-26 21:05:00 UTC
Updated2026-09-23 13:10:00 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 4.6 from [email protected]

AV:L/AC:L/Au:N/C:P/I:P/A:P

EPSS: 0.013420000 probability, percentile 0.701420000 (date 2026-09-23)

Problem Types: CWE-264 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:L/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php 1.0 All All All
Application Php Php 2.0 All All All
Application Php Php 2.0b10 All All All
Application Php Php 3.0 All All All
Application Php Php 3.0.1 All All All
Application Php Php 3.0.10 All All All
Application Php Php 3.0.11 All All All
Application Php Php 3.0.12 All All All
Application Php Php 3.0.13 All All All
Application Php Php 3.0.14 All All All
Application Php Php 3.0.15 All All All
Application Php Php 3.0.16 All All All
Application Php Php 3.0.17 All All All
Application Php Php 3.0.18 All All All
Application Php Php 3.0.2 All All All
Application Php Php 3.0.3 All All All
Application Php Php 3.0.4 All All All
Application Php Php 3.0.5 All All All
Application Php Php 3.0.6 All All All
Application Php Php 3.0.7 All All All
Application Php Php 3.0.8 All All All
Application Php Php 3.0.9 All All All
Application Php Php 4.0 beta1 All All
Application Php Php 4.0 beta2 All All
Application Php Php 4.0 beta3 All All
Application Php Php 4.0 beta4 All All
Application Php Php 4.0 beta_4_patch1 All All
Application Php Php 4.0.0 All All All
Application Php Php 4.0.1 All All All
Application Php Php 4.0.2 All All All
Application Php Php 4.0.3 All All All
Application Php Php 4.0.4 All All All
Application Php Php 4.0.5 All All All
Application Php Php 4.0.6 All All All
Application Php Php 4.0.7 All All All
Application Php Php 4.1.0 All All All
Application Php Php 4.1.1 All All All
Application Php Php 4.1.2 All All All
Application Php Php 4.2.0 All All All
Application Php Php 4.2.1 All All All
Application Php Php 4.2.2 All All All
Application Php Php 4.2.3 All All All
Application Php Php 4.3.0 All All All
Application Php Php 4.3.1 All All All
Application Php Php 4.3.10 All All All
Application Php Php 4.3.11 All All All
Application Php Php 4.3.2 All All All
Application Php Php 4.3.3 All All All
Application Php Php 4.3.4 All All All
Application Php Php 4.3.5 All All All
Application Php Php 4.3.6 All All All
Application Php Php 4.3.7 All All All
Application Php Php 4.3.8 All All All
Application Php Php 4.3.9 All All All
Application Php Php 4.4.0 All All All
Application Php Php 4.4.1 All All All
Application Php Php 4.4.2 All All All
Application Php Php 5.0.0 All All All
Application Php Php 5.0.0 beta1 All All
Application Php Php 5.0.0 beta2 All All
Application Php Php 5.0.0 beta3 All All
Application Php Php 5.0.0 beta4 All All
Application Php Php 5.0.0 rc1 All All
Application Php Php 5.0.0 rc2 All All
Application Php Php 5.0.0 rc3 All All
Application Php Php 5.0.1 All All All
Application Php Php 5.0.2 All All All
Application Php Php 5.0.3 All All All
Application Php Php 5.0.4 All All All
Application Php Php 5.0.5 All All All
Application Php Php 5.1.0 All All All
Application Php Php 5.1.1 All All All
Application Php Php 5.1.2 All All All
Application Php Php 5.1.3 All All All
Application Php Php 5.1.4 All All All
Application Php Php 5.1.6 All All All
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Vendor Advisory
PHP Error_Log Safe_Mode Restriction-Bypass Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
PHP "error_log()" Safe Mode Bypass Weakness - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
PHP error_log() Function Lets Users Bypass Safe Mode File Access Restrictions - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 securitytracker.com
usn/usn-320-1 - Ubuntu: Linux for human beings af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Advisories - Mandriva Linux af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c af854a3a-2127-422b-91ae-364da2661108 cvs.php.net
PHP Multiple Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Patch, Vendor Advisory
PHP: PHP 5.1.5 Release Announcement af854a3a-2127-422b-91ae-364da2661108 www.php.net
Ubuntu update for PHP - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c af854a3a-2127-422b-91ae-364da2661108 cvs.php.net
SecurityReason - error_log() Safe Mode Bypass PHP 5.1.4 and 4.4.2 af854a3a-2127-422b-91ae-364da2661108 securityreason.com Exploit
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Mandriva update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
SecurityReason - error_log() Safe Mode Bypass PHP 5.1.4 and 4.4.2 af854a3a-2127-422b-91ae-364da2661108 securityreason.com
www.osvdb.org/26827 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2006-09-20Mark J CoxWe do not consider these to be security issues. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report