Path Traversal in PHP
CVE-2008-2665
Directory traversal vulnerability in the posix_access function in PHP 5.2.6 and earlier allows remote attackers to bypass safe_mode restrictions via a .. (dot dot) in an http URL, which results in the URL being canonicalized to a local filename after the safe_mode check has successfully run.
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.034, 89.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.2.6
Weakness classification (CWE)
References
- secunia.com/advisories/32746 (third-party-advisory)
- HPSBUX02465 (vendor-advisory)
- support.apple.com/kb/HT3549
- 20080617 PHP 5.2.6 posix_access() (posix ext) safe_mode bypass (Exploit, 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.securitytracker.com/id (vdb-entry)
- secunia.com/advisories/35074 (third-party-advisory)