U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

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 [email protected].

URL Source(s) Tag(s)
http://lists.apple.com/archives/security-announce/2009/May/msg00002.html CVE, MITRE
http://marc.info/?l=bugtraq&m=124654546101607&w=2 CVE, MITRE
http://marc.info/?l=bugtraq&m=125631037611762&w=2 CVE, MITRE
http://secunia.com/advisories/32746 CVE, MITRE
http://secunia.com/advisories/35074 CVE, MITRE
http://secunia.com/advisories/35650 CVE, MITRE
http://security.gentoo.org/glsa/glsa-200811-05.xml CVE, MITRE
http://securityreason.com/achievement_securityalert/54 CVE, MITRE Exploit 
http://securityreason.com/securityalert/3941 CVE, MITRE
http://support.apple.com/kb/HT3549 CVE, MITRE
http://wiki.rpath.com/Advisories:rPSA-2009-0035 CVE, MITRE
http://www.securityfocus.com/archive/1/501376/100/0/threaded CVE, MITRE
http://www.securityfocus.com/bid/29797 CVE, MITRE
http://www.securitytracker.com/id?1020327 CVE, MITRE
http://www.us-cert.gov/cas/techalerts/TA09-133A.html CVE, MITRE US Government Resource 
http://www.vupen.com/english/advisories/2009/1297 CVE, MITRE
https://exchange.xforce.ibmcloud.com/vulnerabilities/43196 CVE, MITRE

Weakness Enumeration

CWE-ID CWE Name Source
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

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

Change History

5 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2008-2665
NVD Published Date:
06/19/2008
NVD Last Modified:
04/08/2025
Source:
MITRE