Path Traversal in PHP
CVE-2008-5658
Directory traversal vulnerability in the ZipArchive::extractTo function in PHP 5.2.6 and earlier allows context-dependent attackers to write arbitrary files via a ZIP file with a file whose name contains .. (dot dot) sequences.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.040, 90.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.0.0, 5.0.1, 5.0.2
Weakness classification (CWE)
References
- www.securityfocus.com/bid/32625 (vdb-entry)
- HPSBUX02465 (vendor-advisory)
- www.securitytracker.com/id (vdb-entry)
- SSRT090085 (vendor-advisory)
- www.sektioneins.de/advisories/SE-2008-06.txt (Exploit)
- FEDORA-2009-3768 (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
- osvdb.org/50480 (vdb-entry)
- php-ziparchive-directory-traversal(47079) (vdb-entry)