National Vulnerability Database

National Vulnerability Database

National Vulnerability

CVE-2008-5658 Detail


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.

Source:  MITRE      Last Modified:  12/17/2008

Quick Info

CVE Dictionary Entry:
Original release date:
Last revised:


CVSS Severity (version 2.0):
CVSS v2 Base Score:
7.5 HIGH
(AV:N/AC:L/Au:N/C:P/I:P/A:P) (legend)
Impact Subscore:
Exploitability Subscore:
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Not required to exploit
Impact Type:
Provides unauthorized access, Allows partial confidentiality, integrity, and availability violation; Allows unauthorized disclosure of information; Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (04/15/2009)

This issue did not affect PHP versions as shipped in Red Hat Enterprise Linux 2.1, 3, 4, and 5, and Red Hat Application Stack v1. PHP version in Red Hat Application Stack v2 was fixed via:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to

Hyperlink Resource Type Source Name External Source BUGTRAQ 20081204 Advisory 06/2008: PHP ZipArchive::extractTo() Directory Traversal Vulnerability External Source SUSE SUSE-SR:2009:004 External Source HP SSRT090085 External Source HP HPSBUX02465 External Source CONFIRM External Source DEBIAN DSA-1789 External Source MANDRIVA MDVSA-2009:045 External Source MLIST [oss-security] 20081204 CVE for SE-2008-06 in PHP 5.2.7 (ZipArchive) External Source CONFIRM External Source REDHAT RHSA-2009:0350 External Source BUGTRAQ 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 External Source BID 32625 External Source SECTRACK 1021303 Exploit External Source MISC External Source XF php-ziparchive-directory-traversal(47079) External Source FEDORA FEDORA-2009-3768 External Source FEDORA FEDORA-2009-3848

Technical Details

Vulnerability Type (View All)

Change History 2 change records found - show changes