CVE-2006-3011
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.
Does this matter?
A public exploit is published in Exploit-DB (verified), so the technical barrier is gone even though the severity is medium and EPSS is 1.3%. Treat it as high on anything reachable from the internet.
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.
- CVSS 2.0
- 4.6 MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
- EPSS
- 1.34% probability · 71th percentile
- Public exploits
- 1 in Exploit-DB · verified · first 20 November 2008
- CISA KEV
- Not listed
- Weakness
- CWE-264
- Affected
- php/php
- Source
- cve@mitre.org
EPSS 1.3% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- 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://secunia.com/advisories/20818Vendor Advisory
- http://secunia.com/advisories/21050Vendor Advisory
- http://secunia.com/advisories/21125Vendor Advisory
- http://secunia.com/advisories/21546Patch, Vendor Advisory
- http://securityreason.com/achievement_securityalert/41Exploit
- http://securityreason.com/securityalert/1129
- http://securitytracker.com/id?1016377
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:122
- http://www.osvdb.org/26827
- http://www.php.net/release_5_1_5.php
- http://www.securityfocus.com/bid/18645
- http://www.ubuntu.com/usn/usn-320-1
- http://www.vupen.com/english/advisories/2006/2523Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/27414
- 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://secunia.com/advisories/20818Vendor Advisory
- http://secunia.com/advisories/21050Vendor Advisory
- http://secunia.com/advisories/21125Vendor Advisory
- http://secunia.com/advisories/21546Patch, Vendor Advisory
- http://securityreason.com/achievement_securityalert/41Exploit
- http://securityreason.com/securityalert/1129
- http://securitytracker.com/id?1016377
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:122
- http://www.osvdb.org/26827
- http://www.php.net/release_5_1_5.php
- http://www.securityfocus.com/bid/18645
- http://www.ubuntu.com/usn/usn-320-1
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.