{"id":"CVE-2006-3011","url":"https://www.cyber-defence.io/tools/cve/CVE-2006-3011","generatedAt":"2026-10-27T21:43:39.234Z","title":"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.","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.","published":"2006-06-26T21:05:00.000Z","lastModified":"2026-09-23T13:10:00.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"2.0","score":4.6,"severity":"MEDIUM","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P"},"cwe":["CWE-264"],"affected":["php/php"],"epss":{"score":0.01342,"percentile":0.71155,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":true,"firstPublished":"2008-11-20","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":7171,"kind":"exploit","title":"PHP 5.2.6 - 'error_log' Safe_mode Bypass","url":"https://www.exploit-db.com/exploits/7171","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/local/7171.txt","file":"exploits/multiple/local/7171.txt","published":"2008-11-20","added":"2008-11-19","updated":"2017-01-06","author":"SecurityReason","type":"local","platform":"multiple","port":null,"verified":true,"codes":["OSVDB-52205","CVE-2008-5625","OSVDB-28006","CVE-2006-3011","OSVDB-26827"],"tags":null,"aliases":null,"applicationUrl":"http://www.exploit-db.comphp-5.2.6.tar.gz","screenshotUrl":null,"referenceUrl":"http://securityreason.com/achievement_securityalert/57"}]},"verdict":{"level":"high","text":"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."},"changes":[],"references":[{"url":"http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?diff_format=u&view=log&pathrev=PHP_4_4","source":"cve@mitre.org"},{"url":"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","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/20818","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/21050","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/21125","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/21546","tags":["Patch","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://securityreason.com/achievement_securityalert/41","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"http://securityreason.com/securityalert/1129","source":"cve@mitre.org"},{"url":"http://securitytracker.com/id?1016377","source":"cve@mitre.org"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:122","source":"cve@mitre.org"},{"url":"http://www.osvdb.org/26827","source":"cve@mitre.org"},{"url":"http://www.php.net/release_5_1_5.php","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/18645","source":"cve@mitre.org"},{"url":"http://www.ubuntu.com/usn/usn-320-1","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2006/2523","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/27414","source":"cve@mitre.org"},{"url":"http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?diff_format=u&view=log&pathrev=PHP_4_4","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"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","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/20818","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/21050","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/21125","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/21546","tags":["Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://securityreason.com/achievement_securityalert/41","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://securityreason.com/securityalert/1129","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://securitytracker.com/id?1016377","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:122","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.osvdb.org/26827","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/release_5_1_5.php","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/18645","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ubuntu.com/usn/usn-320-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2006/2523","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/27414","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2006-3011","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}