CVE-2008-2665

Summary

CVECVE-2008-2665
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-06-20 01:41:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionDirectory 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.

Risk And Classification

Primary CVSS: v2.0 5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:N/A:N

Problem Types: CWE-22 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:N/AC:L/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php 5.2.6 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
APPLE-SA-2009-05-12 Security Update 2009-002 / Mac OS X v10.5.7 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com
PHP 5 'posix_access()' Function 'safe_mode' Bypass Directory Traversal Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
About the security content of Security Update 2009-002 / Mac OS X v10.5.7 af854a3a-2127-422b-91ae-364da2661108 support.apple.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
'[security bulletin] HPSBUX02465 SSRT090192 rev.1 - HP-UX Running Apache-based Web Server, Remote Den' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
Apple Mac OS X Security Update Fixes Multiple Vulnerabilities - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
marc.info af854a3a-2127-422b-91ae-364da2661108 marc.info
SecurityReason - PHP 5.2.6 posix_access() (posix ext) safe_mode bypass ( Research Advisory ) af854a3a-2127-422b-91ae-364da2661108 securityreason.com Exploit
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Advisories:rPSA-2009-0035 - rPath Wiki af854a3a-2127-422b-91ae-364da2661108 wiki.rpath.com
SecurityReason - PHP 5.2.6 posix_access() (posix ext) safe_mode bypass af854a3a-2127-422b-91ae-364da2661108 securityreason.com
PHP: Multiple vulnerabilities — Gentoo Linux Documentation af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
HP-UX Apache Web Server Suite Multiple Vulnerabilities - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
PHP posix_access() safe_mode Restrictions Can By Bypass With 'http://' Prefix - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
Gentoo update for php - Secunia Advisories - Vulnerability Information - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
US-CERT Technical Cyber Security Alert TA09-133A -- Apple Updates for Multiple Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.us-cert.gov US Government Resource
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2008-06-26Mark J CoxWe 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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report