CVE-2007-4850 EXPLOIT
5.0
MEDIUM · CVSS 2.0 · EPSS 5.6% (pctl 93)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 5.0 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| EPSS | 5.58% — more likely to be exploited than 93% of all CVEs |
| Weakness | CWE-264 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2008-01-25 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| php | php |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | PHP 5.2.5 - cURL 'safe_mode' Security Bypass | 2008-01-23 |
References
- http://cvs.php.net/viewcvs.cgi/php-src/NEWS?revision=1.2027.2.547.2.1047&view=markup
- http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html
- http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html
- http://lists.grok.org.uk/pipermail/full-disclosure/2008-January/059849.html
- http://secunia.com/advisories/30048
- http://secunia.com/advisories/30411
- http://secunia.com/advisories/31200
- http://secunia.com/advisories/31326
- http://secunia.com/advisories/32222
- http://securityreason.com/achievement_securityalert/51
- http://securityreason.com/securityalert/3562
- http://support.apple.com/kb/HT3216
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0178
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:022
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:023
- http://www.openwall.com/lists/oss-security/2008/05/02/2
- http://www.php.net/ChangeLog-5.php
- http://www.securityfocus.com/archive/1/486856/100/0/threaded
- http://www.securityfocus.com/archive/1/492671/100/0/threaded
- http://www.securityfocus.com/bid/27413
→ the Explorer · watch your stack · NVD