Back
CVE-2008-2666
Multiple directory traversal vulnerabilities in PHP 5.2.6 and earlier allow context-dependent attackers to bypass safe_mode restrictions…
Medium5.0EPSS 13.9%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
- EPSS (exploitation in 30 days)
- 13.9% · top 3.4% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (17)
- 32746 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- HPSBUX02465 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://support.apple.com/kb/HT3549 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 3942 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- GLSA-200811-05 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- SSRT090085 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 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 (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- http://wiki.rpath.com/Advisories:rPSA-2009-0035 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 29796 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 35074 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- APPLE-SA-2009-05-12 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- php-chdir-ftoc-security-bypass(43198) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- TA09-133A (opens in a new tab)third-party-advisoryx_refsource_CERTx_transferred
- ADV-2009-1297 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 1020328 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 35650 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20080617 PHP 5.2.6 chdir(),ftok() (standard ext) safe_mode bypass (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2008-2666)Record last updated .