Back
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…
Medium4.6EPSS 1.3%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 1.3% · top 29% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.6.
Weakness
Affected products
n/a
- affected n/a
References (16)
- http://www.php.net/release_5_1_5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1016377 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 21050 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- php-errorlog-safe-mode-bypass(27414) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 1129 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- 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 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 21546 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2006-2523 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- USN-320-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- MDKSA-2006:122 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 21125 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?diff_format=u&view=log&pathrev=PHP_4_4 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20818 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 26827 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- 18645 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 20060625 error_log() Safe Mode Bypass PHP 5.1.4 and 4.4.2 (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2006-3011)Record last updated .