What’s Vulnerable › Vulnerabilities
CVE-2008-2666
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 13.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2008-06-20 · updated 2026-06-16
- Weakness: CWE-22
Description
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.
Affected products
- PHP: through 5.2.6; 5.0-rc1, 5.0-rc2, 5.0-rc3, 5.0.0, 5.0.1, 5.0.2 (+16)
References
- http://lists.apple.com/archives/security-announce/2009/May/msg00002.html
- http://marc.info/?l=bugtraq&m=124654546101607&w=2
- http://marc.info/?l=bugtraq&m=125631037611762&w=2
- http://secunia.com/advisories/32746
- http://secunia.com/advisories/35074
- http://secunia.com/advisories/35650
- http://security.gentoo.org/glsa/glsa-200811-05.xml
- http://securityreason.com/achievement_securityalert/55
- http://securityreason.com/securityalert/3942
- http://support.apple.com/kb/HT3549
- http://wiki.rpath.com/Advisories:rPSA-2009-0035
- http://www.securityfocus.com/archive/1/501376/100/0/threaded
Get alerted when CVE-2008-2666 or the next vulnerability affects your stack