{"id":"CVE-2007-4850","aliases":["EUVD-2007-4831","GHSA-8q99-j5m2-gvjc"],"status":"published","title":"curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context...","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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.05575,"percentile":0.9293,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-264"],"published":"2008-01-25T00:00:00Z","modified":"2026-06-16T22:44:54Z","exploits":[{"source":"exploitdb","id":"EDB-31053","title":"PHP 5.2.5 - cURL 'safe_mode' Security Bypass","type":"remote","platform":"php","date":"2008-01-23","verified":true,"url":"https://www.exploit-db.com/exploits/31053"}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://www.vupen.com/english/advisories/2008/1412","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://www.securityfocus.com/bid/31681","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.securityfocus.com/bid/29009","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.securityfocus.com/bid/27413","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/2268","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.ubuntu.com/usn/usn-628-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/486856/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://securityreason.com/achievement_securityalert/51","tags":["third-party-advisory","x_refsource_SREASONRES","x_transferred","Exploit"]},{"url":"http://www.openwall.com/lists/oss-security/2008/05/02/2","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/492671/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/30411","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:023","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:022","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://secunia.com/advisories/31200","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/32222","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2008-January/059849.html","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Exploit"]},{"url":"http://securityreason.com/securityalert/3562","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0178","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/31326","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/2780","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42134","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39852","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://support.apple.com/kb/HT3216","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://cvs.php.net/viewcvs.cgi/php-src/NEWS?revision=1.2027.2.547.2.1047\u0026view=markup","tags":["x_refsource_CONFIRM","x_transferred","Exploit"]},{"url":"http://secunia.com/advisories/30048","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-4850"},{"url":"https://github.com/advisories/GHSA-8q99-j5m2-gvjc"}],"sources":{"cve":[{"id":"CVE-2007-4850","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.","status":"published","published":"2008-01-25T00:00:00Z","modified":"2024-08-07T15:08:33.805Z","updated_at":"2026-11-02T13:33:30.262137Z"}],"euvd":[{"id":"EUVD-2007-4831","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.","status":"published","published":"2008-01-25T00:00:00Z","modified":"2024-08-07T15:08:33Z","updated_at":"2026-11-03T01:16:19.667559Z"}],"ghsa":[{"id":"GHSA-8q99-j5m2-gvjc","title":"curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context...","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.","status":"published","published":"2022-05-01T18:27:46Z","modified":"2023-01-31T05:04:50Z","updated_at":"2026-11-02T14:48:44.434473Z"}],"nvd":[{"id":"CVE-2007-4850","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.","status":"published","published":"2008-01-25T01:00:00Z","modified":"2026-06-16T22:44:54.923Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:01:24.110006Z"}]}}
