CVE-2007-4850 curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context-dependent attackers to bypass safe_mode and open_basedir restrictions and read arbitrary files via a file:// re...
MediumCVSS 5.0
EPSS 5.6%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
Description
curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context-dependent attackers to bypass safe_mode and open_basedir restrictions and read arbitrary files via a file:// request containing a \x00 sequence, a different vulnerability than CVE-2006-2563.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 5.2.4 | No fix listed |
| PHP | = 5.2.5 | No fix listed |
References
- cvs.php.net exploit
- APPLE-SA-2008-07-31 vendor-advisory
- APPLE-SA-2008-10-09 vendor-advisory
- 20080122 PHP 5.2.5 cURL safe_mode bypass exploit mailing-list
- 30048 third-party-advisory
- 30411 third-party-advisory
- 31200 third-party-advisory
- 31326 third-party-advisory
- 32222 third-party-advisory
- 20080122 PHP 5.2.5 cURL safe_mode bypass exploit third-party-advisory
- 3562 third-party-advisory
- support.apple.com
- wiki.rpath.com
- MDVSA-2009:022 vendor-advisory
- MDVSA-2009:023 vendor-advisory
- [oss-security] 20080502 CVE Request (PHP) mailing-list
- www.php.net
- 20080122 PHP 5.2.5 cURL safe_mode bypass mailing-list
- 20080527 rPSA-2008-0178-1 php php-mysql php-pgsql mailing-list
- 27413 vdb-entry
- 29009 vdb-entry
- 31681 vdb-entry
- USN-628-1 vendor-advisory
- ADV-2008-1412 vdb-entry
- ADV-2008-2268 vdb-entry
- ADV-2008-2780 vdb-entry
- php-curlinit-security-bypass(39852) vdb-entry
- php-safemode-directive-security-bypass(42134) vdb-entry