CVE-2008-2665 json
Directory traversal vulnerability in the posix_access function in PHP 5.2.6 and earlier allows remote attackers to bypass safe_mode restric…
published 2008-06-20 18 y ago modified 2026-06-16 4 mo ago also EUVD-2008-2660
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2008-2665 updated
php: posix_access() (posix ext) safe_mode bypass
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.38% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- securityreason.com http://securityreason.com/achievement_securityalert/54 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
References
-
securityreason.com
/achievement_securityalert/54
third-party-advisory, exploit
-
marc.info
/?l=bugtraq&m=125631037611762&w=2
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200811-05.xml
vendor-advisory
-
marc.info
/?l=bugtraq&m=124654546101607&w=2
vendor-advisory
-
lists.apple.com
/archives/security-announce/2009/May/msg00002.html
vendor-advisory
-
secunia.com
/advisories/32746
third-party-advisory
- support.apple.com /kb/HT3549
-
securityfocus.com
/archive/1/501376/100/0/threaded
mailing-list
- wiki.rpath.com /Advisories:rPSA-2009-0035
-
securitytracker.com
/id?1020327
vdb-entry
-
secunia.com
/advisories/35074
third-party-advisory
-
securityfocus.com
/bid/29797
vdb-entry
-
us-cert.gov
/cas/techalerts/TA09-133A.html
third-party-advisory, us-government-resource
-
vupen.com
/english/advisories/2009/1297
vdb-entry
-
exchange.xforce.ibmcloud.com
/vulnerabilities/43196
vdb-entry
-
secunia.com
/advisories/35650
third-party-advisory
-
securityreason.com
/securityalert/3941
third-party-advisory
Sources
- CVE List CVE-2008-2665
- NVD CVE-2008-2665
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.