CVE-2008-2666
Multiple directory traversal vulnerabilities in PHP 5.2.6 and earlier allow context-dependent...
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2008-2666- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2008-2666- Updated
- 2026-11-02
EUVDEUVD-2008-2661 No score
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.
- Record
EUVD-2008-2661- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h2vh-q3r8-9vv4 No score
Multiple directory traversal vulnerabilities in PHP 5.2.6 and earlier allow context-dependent...
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.
- Record
GHSA-h2vh-q3r8-9vv4- Weakness
- CWE-22
- Updated
- 2026-11-02
Affected products
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | PHP 5.2.6 - 'chdir()' Function http URL Argument Safe_mode Restriction Bypass | 2008-06-18 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2008-2666 is a medium vulnerability (CVSS 5.0) in Php, published June 20, 2008. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 13.9%, the 96th percentile. No source names a fixed version.
References
secunia.com/advisories/32746
marc.info?l=bugtraq&m=125631037611762&w=2
support.apple.com/kb/HT3549
securityreason.com/securityalert/3942
security.gentoo.org/glsa/glsa-200811-05.xml
marc.info?l=bugtraq&m=124654546101607&w=2
Show 13 moreShow less
securityfocus.com/archive/1/501376/100/0/threaded
wiki.rpath.com/Advisories:rPSA-2009-0035
securityfocus.com/bid/29796
secunia.com/advisories/35074
lists.apple.com/archives/security-announce/2009/May/msg00002.html
exchange.xforce.ibmcloud.com/vulnerabilities/43198
us-cert.gov/cas/techalerts/TA09-133A.html
vupen.com/english/advisories/2009/1297
securitytracker.com/id?1020328
secunia.com/advisories/35650
securityreason.com/achievement_securityalert/55
nvd.nist.gov/vuln/detail/CVE-2008-2666
github.com/advisories/GHSA-h2vh-q3r8-9vv4