Back
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…
Medium5.0EPSS 5.6%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
- EPSS (exploitation in 30 days)
- 5.6% · top 7.1% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (28)
- ADV-2008-1412 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- APPLE-SA-2008-07-31 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- 31681 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 29009 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 27413 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- ADV-2008-2268 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- USN-628-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 20080122 PHP 5.2.5 cURL safe_mode bypass (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20080122 PHP 5.2.5 cURL safe_mode bypass (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- [oss-security] 20080502 CVE Request (PHP) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 20080527 rPSA-2008-0178-1 php php-mysql php-pgsql (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 30411 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- MDVSA-2009:023 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- MDVSA-2009:022 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 31200 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 32222 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20080122 PHP 5.2.5 cURL safe_mode bypass (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- 3562 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0178 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 31326 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2008-2780 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- php-safemode-directive-security-bypass(42134) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- php-curlinit-security-bypass(39852) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- APPLE-SA-2008-10-09 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- http://support.apple.com/kb/HT3216 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://cvs.php.net/viewcvs.cgi/php-src/NEWS?revision=1.2027.2.547.2.1047&view=markup (opens in a new tab)x_refsource_CONFIRMx_transferred
- 30048 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_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)
Record last updated .