CVE-2008-2666 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 ../ (do...
MediumCVSS 5.0
EPSS 13.9%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
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
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | <= 5.2.6 | No fix listed |
| PHP | = 5.0-rc1 | No fix listed |
| PHP | = 5.0-rc2 | No fix listed |
| PHP | = 5.0-rc3 | No fix listed |
| PHP | = 5.0.0 | No fix listed |
| PHP | = 5.0.1 | No fix listed |
| PHP | = 5.0.2 | No fix listed |
| PHP | = 5.0.3 | No fix listed |
| PHP | = 5.0.4 | No fix listed |
| PHP | = 5.0.5 | No fix listed |
| PHP | = 5.1.0 | No fix listed |
| PHP | = 5.1.1 | No fix listed |
| PHP | = 5.1.2 | No fix listed |
| PHP | = 5.1.3 | No fix listed |
| PHP | = 5.1.4 | No fix listed |
| PHP | = 5.1.5 | No fix listed |
| PHP | = 5.1.6 | No fix listed |
| PHP | = 5.2.0 | No fix listed |
| PHP | = 5.2.1 | No fix listed |
| PHP | = 5.2.2 | No fix listed |
| PHP | = 5.2.3 | No fix listed |
| PHP | = 5.2.4 | No fix listed |
| PHP | = 5.2.5 | No fix listed |
References
- APPLE-SA-2009-05-12 vendor-advisory
- SSRT090085 vendor-advisory
- HPSBUX02465 vendor-advisory
- 32746 third-party-advisory
- 35074 third-party-advisory
- 35650 third-party-advisory
- GLSA-200811-05 vendor-advisory
- 20080617 PHP 5.2.6 chdir(),ftok() (standard ext) safe_mode bypass third-party-advisory
- 3942 third-party-advisory
- support.apple.com
- wiki.rpath.com
- 20090302 rPSA-2009-0035-1 php php-cgi php-imap php-mcrypt php-mysql php-mysqli php-pgsql php-soap php-xsl php5 php5-cgi php5-imap php5-mcrypt php5-mysql php5-mysqli php5-pear php5-pgsql php5-soap php5-xsl mailing-list
- 29796 vdb-entry
- 1020328 vdb-entry
- TA09-133A third-party-advisory us-government-resource
- ADV-2009-1297 vdb-entry
- php-chdir-ftoc-security-bypass(43198) vdb-entry