CVE-2006-3011
Description
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
1.353%
chance of exploitation in the next 30 days
higher than 72.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
Timeline
- 2006-06-26Published by the CNA21:00 UTC
- 2008-11-20First Exploit-DB entry (EDB-ID 7171)878 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 7171 | local | multiple | 2008-11-20 | yes |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| php php | 1.0no fix listed2.0no fix listed2.0b10no fix listed3.0no fix listed3.0.1no fix listed(+61 more) | not listednot listednot listednot listednot listed |
References
- http://secunia.com/advisories/21546
- http://secunia.com/advisories/20818
- http://secunia.com/advisories/21050
- http://secunia.com/advisories/21125
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:122
- http://www.ubuntu.com/usn/usn-320-1
- http://www.vupen.com/english/advisories/2006/2523
- http://securityreason.com/achievement_securityalert/41
- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?diff_format=u&view=log&pathrev=PHP_4_4
- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?r1=1.543.2.51.2.9&r2=1.543.2.51.2.10&pathrev=PHP_4_4&diff_format=u
- http://securityreason.com/securityalert/1129
- http://securitytracker.com/id?1016377
- http://www.osvdb.org/26827
- http://www.php.net/release_5_1_5.php
- http://www.securityfocus.com/bid/18645
- https://exchange.xforce.ibmcloud.com/vulnerabilities/27414
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2006-3011'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2006-3011'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2006-3011'curl 'https://api.contrastcyber.com/cve_products/CVE-2006-3011'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).