Path Traversal in PHP
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 ../ (dot dot slash) sequences in an http URL argument to the (1) chdir or (2) ftok function.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.139, 96.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.0, 5.0.0, 5.0.1
Weakness classification (CWE)
References
- secunia.com/advisories/32746 (third-party-advisory)
- HPSBUX02465 (vendor-advisory)
- support.apple.com/kb/HT3549
- securityreason.com/securityalert/3942 (third-party-advisory)
- GLSA-200811-05 (vendor-advisory)
- SSRT090085 (vendor-advisory)
- 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)
- wiki.rpath.com/Advisories:rPSA-2009-0035
- www.securityfocus.com/bid/29796 (vdb-entry)
- secunia.com/advisories/35074 (third-party-advisory)