National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2008-2665 Detail

Description

Directory traversal vulnerability in the posix_access function in PHP 5.2.6 and earlier allows remote attackers to bypass safe_mode restrictions via a .. (dot dot) in an http URL, which results in the URL being canonicalized to a local filename after the safe_mode check has successfully run.

Source:  MITRE      Last Modified:  06/19/2008

Quick Info

CVE Dictionary Entry:
CVE-2008-2665
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/54 Exploit External Source SREASONRES 20080617 PHP 5.2.6 posix_access() (posix ext) safe_mode bypass
http://securityreason.com/securityalert/3941 External Source SREASON 3941
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/29797 External Source BID 29797
http://www.securitytracker.com/id?1020327 External Source SECTRACK 1020327
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/43196 External Source XF php-posixaccess-security-bypass(43196)

Technical Details

Vulnerability Type (View All)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
OR
cpe:2.3:a:php:php:5.2.6:*:*:*:*:*:*:*

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History 2 change records found - show changes