{"id":"CVE-2007-4850","url":"https://www.cyber-defence.io/tools/cve/CVE-2007-4850","generatedAt":"2026-10-27T18:32:35.537Z","title":"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…","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.","published":"2008-01-25T01:00:00.000Z","lastModified":"2026-06-16T22:44:55.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"2.0","score":5,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N"},"cwe":["CWE-264"],"affected":["php/php"],"epss":{"score":0.05575,"percentile":0.92821,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":true,"firstPublished":"2008-01-23","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":31053,"kind":"exploit","title":"PHP 5.2.5 - cURL 'safe_mode' Security Bypass","url":"https://www.exploit-db.com/exploits/31053","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/remote/31053.php","file":"exploits/php/remote/31053.php","published":"2008-01-23","added":"2008-01-23","updated":"2014-01-20","author":"Maksymilian Arciemowicz","type":"remote","platform":"php","port":null,"verified":true,"codes":["CVE-2007-4850","OSVDB-43219"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://www.securityfocus.com/bid/27413/info"}]},"verdict":{"level":"high","text":"A public exploit is published in Exploit-DB (verified), so the technical barrier is gone even though the severity is medium and EPSS is 5.6%. Treat it as high on anything reachable from the internet."},"changes":[],"references":[{"url":"http://cvs.php.net/viewcvs.cgi/php-src/NEWS?revision=1.2027.2.547.2.1047&view=markup","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html","source":"cve@mitre.org"},{"url":"http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html","source":"cve@mitre.org"},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2008-January/059849.html","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/30048","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/30411","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/31200","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/31326","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/32222","source":"cve@mitre.org"},{"url":"http://securityreason.com/achievement_securityalert/51","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"http://securityreason.com/securityalert/3562","source":"cve@mitre.org"},{"url":"http://support.apple.com/kb/HT3216","source":"cve@mitre.org"},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0178","source":"cve@mitre.org"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:022","source":"cve@mitre.org"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:023","source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2008/05/02/2","source":"cve@mitre.org"},{"url":"http://www.php.net/ChangeLog-5.php","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/486856/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/492671/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/27413","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/29009","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/31681","source":"cve@mitre.org"},{"url":"http://www.ubuntu.com/usn/usn-628-1","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2008/1412","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2008/2268","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2008/2780","source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39852","source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42134","source":"cve@mitre.org"},{"url":"http://cvs.php.net/viewcvs.cgi/php-src/NEWS?revision=1.2027.2.547.2.1047&view=markup","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2008-January/059849.html","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/30048","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/30411","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/31200","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/31326","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/32222","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://securityreason.com/achievement_securityalert/51","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://securityreason.com/securityalert/3562","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://support.apple.com/kb/HT3216","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0178","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:022","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:023","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2008/05/02/2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/ChangeLog-5.php","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/486856/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/492671/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/27413","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/29009","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/31681","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ubuntu.com/usn/usn-628-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2008/1412","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2008/2268","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2008/2780","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39852","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42134","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-4850","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}