Permissions, Privileges, and Access Controls in PHP - CVE-2006-3011
Published: July 20, 2017 / Updated: June 8, 2025
Vulnerability identifier: #VU110480
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2006-3011
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: PHP Group
Affected software:
PHP
PHP
Detailed vulnerability description
The vulnerability allows a local user to read and manipulate data.
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.
How to mitigate CVE-2006-3011
Install update from vendor's website.
Sources
- 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/20818
- http://secunia.com/advisories/21050
- http://secunia.com/advisories/21125
- http://secunia.com/advisories/21546
- http://securityreason.com/achievement_securityalert/41
- 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/2523
- https://exchange.xforce.ibmcloud.com/vulnerabilities/27414