CVE-2006-3011 EXPLOIT
4.6
MEDIUM · CVSS 2.0 · EPSS 1.3% (pctl 71)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 4.6 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| EPSS | 1.34% — more likely to be exploited than 71% of all CVEs |
| Weakness | CWE-264 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2006-06-26 |
| Last modified | 2026-09-23 |
Affected (1)
| Vendor | Product |
|---|---|
| php | php |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | PHP 5.2.6 - 'error_log' Safe_mode Bypass | 2008-11-20 |
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/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
- 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
→ the Explorer · watch your stack · NVD