National Vulnerability Database

National Vulnerability Database

National Vulnerability

CVE-2007-4850 Detail


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.

Source:  MITRE      Last Modified:  01/24/2008

Quick Info

CVE Dictionary Entry:
Original release date:
Last revised:


CVSS Severity (version 2.0):
CVSS v2 Base Score:
(AV:N/AC:L/Au:N/C:P/I:N/A:N) (legend)
Impact Subscore:
Exploitability Subscore:
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Not required to exploit
Impact Type:
Allows unauthorized disclosure of information

Vendor Statements (disclaimer)

Official Statement from Red Hat (09/30/2009)

We do not consider these to be security issues. For more details see and

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to

Hyperlink Resource Type Source Name Exploit External Source CONFIRM External Source APPLE APPLE-SA-2008-07-31 External Source APPLE APPLE-SA-2008-10-09 Exploit External Source FULLDISC 20080122 PHP 5.2.5 cURL safe_mode bypass Exploit External Source SREASONRES 20080122 PHP 5.2.5 cURL safe_mode bypass External Source SREASON 3562 External Source CONFIRM External Source CONFIRM External Source MANDRIVA MDVSA-2009:022 External Source MANDRIVA MDVSA-2009:023 External Source MLIST [oss-security] 20080502 CVE Request (PHP) External Source CONFIRM Exploit External Source BUGTRAQ 20080122 PHP 5.2.5 cURL safe_mode bypass External Source BUGTRAQ 20080527 rPSA-2008-0178-1 php php-mysql php-pgsql External Source BID 27413 External Source BID 29009 External Source BID 31681 External Source UBUNTU USN-628-1 External Source VUPEN ADV-2008-1412 External Source VUPEN ADV-2008-2268 External Source VUPEN ADV-2008-2780 External Source XF php-curlinit-security-bypass(39852) External Source XF php-safemode-directive-security-bypass(42134)

Technical Details

Vulnerability Type (View All)

  • Permissions, Privileges, and Access Control (CWE-264)

Change History 2 change records found - show changes