National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2008-2666 Detail

Description

Multiple directory traversal vulnerabilities in PHP 5.2.6 and earlier allow context-dependent attackers to bypass safe_mode restrictions by creating a subdirectory named http: and then placing ../ (dot dot slash) sequences in an http URL argument to the (1) chdir or (2) ftok function.

Source:  MITRE      Last Modified:  06/19/2008

Quick Info

CVE Dictionary Entry:
CVE-2008-2666
Original release date:
06/19/2008
Last revised:
08/07/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 (06/26/2008)

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://lists.apple.com/archives/security-announce/2009/May/msg00002.html External Source APPLE APPLE-SA-2009-05-12
http://marc.info/?l=bugtraq&m=124654546101607&w=2 External Source HP HPSBUX02431
http://marc.info/?l=bugtraq&m=125631037611762&w=2 External Source HP HPSBUX02465
http://security.gentoo.org/glsa/glsa-200811-05.xml External Source GENTOO GLSA-200811-05
http://securityreason.com/achievement_securityalert/55 External Source SREASONRES 20080617 PHP 5.2.6 chdir(),ftok() (standard ext) safe_mode bypass
http://securityreason.com/securityalert/3942 External Source SREASON 3942
http://support.apple.com/kb/HT3549 External Source CONFIRM http://support.apple.com/kb/HT3549
http://wiki.rpath.com/Advisories:rPSA-2009-0035 External Source CONFIRM http://wiki.rpath.com/Advisories:rPSA-2009-0035
http://www.securityfocus.com/archive/1/archive/1/501376/100/0/threaded External Source BUGTRAQ 20090302 rPSA-2009-0035-1 php php-cgi php-imap php-mcrypt php-mysql php-mysqli php-pgsql php-soap php-xsl php5 php5-cgi php5-imap php5-mcrypt php5-mysql php5-mysqli php5-pear php5-pgsql php5-soap php5-xsl
http://www.securityfocus.com/bid/29796 External Source BID 29796
http://www.securitytracker.com/id?1020328 External Source SECTRACK 1020328
http://www.us-cert.gov/cas/techalerts/TA09-133A.html US Government Resource External Source CERT TA09-133A
http://www.vupen.com/english/advisories/2009/1297 External Source VUPEN ADV-2009-1297
https://exchange.xforce.ibmcloud.com/vulnerabilities/43198 External Source XF php-chdir-ftoc-security-bypass(43198)

Technical Details

Vulnerability Type (View All)

Change History 2 change records found - show changes