National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2007-4850 Detail

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.

Source:  MITRE      Last Modified:  01/24/2008

Quick Info

CVE Dictionary Entry:
CVE-2007-4850
Original release date:
01/24/2008
Last revised:
07/28/2017
Source:
US-CERT/NIST

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:
5.0 MEDIUM
Vector:
(AV:N/AC:L/Au:N/C:P/I:N/A:N) (legend)
Impact Subscore:
2.9
Exploitability Subscore:
10.0
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Low
Authentication:
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 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php

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 nvd@nist.gov.

Hyperlink Resource Type Source Name
http://cvs.php.net/viewcvs.cgi/php-src/NEWS?revision=1.2027.2.547.2.1047&view=markup Exploit External Source CONFIRM 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 External Source APPLE APPLE-SA-2008-07-31
http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html External Source APPLE APPLE-SA-2008-10-09
http://lists.grok.org.uk/pipermail/full-disclosure/2008-January/059849.html Exploit External Source FULLDISC 20080122 PHP 5.2.5 cURL safe_mode bypass
http://securityreason.com/achievement_securityalert/51 Exploit External Source SREASONRES 20080122 PHP 5.2.5 cURL safe_mode bypass
http://securityreason.com/securityalert/3562 External Source SREASON 3562
http://support.apple.com/kb/HT3216 External Source CONFIRM http://support.apple.com/kb/HT3216
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0178 External Source CONFIRM http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0178
http://www.mandriva.com/security/advisories?name=MDVSA-2009:022 External Source MANDRIVA MDVSA-2009:022
http://www.mandriva.com/security/advisories?name=MDVSA-2009:023 External Source MANDRIVA MDVSA-2009:023
http://www.openwall.com/lists/oss-security/2008/05/02/2 External Source MLIST [oss-security] 20080502 CVE Request (PHP)
http://www.php.net/ChangeLog-5.php External Source CONFIRM http://www.php.net/ChangeLog-5.php
http://www.securityfocus.com/archive/1/archive/1/486856/100/0/threaded Exploit External Source BUGTRAQ 20080122 PHP 5.2.5 cURL safe_mode bypass
http://www.securityfocus.com/archive/1/archive/1/492671/100/0/threaded External Source BUGTRAQ 20080527 rPSA-2008-0178-1 php php-mysql php-pgsql
http://www.securityfocus.com/bid/27413 External Source BID 27413
http://www.securityfocus.com/bid/29009 External Source BID 29009
http://www.securityfocus.com/bid/31681 External Source BID 31681
http://www.ubuntu.com/usn/usn-628-1 External Source UBUNTU USN-628-1
http://www.vupen.com/english/advisories/2008/1412 External Source VUPEN ADV-2008-1412
http://www.vupen.com/english/advisories/2008/2268 External Source VUPEN ADV-2008-2268
http://www.vupen.com/english/advisories/2008/2780 External Source VUPEN ADV-2008-2780
https://exchange.xforce.ibmcloud.com/vulnerabilities/39852 External Source XF php-curlinit-security-bypass(39852)
https://exchange.xforce.ibmcloud.com/vulnerabilities/42134 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