CVE-2008-5658
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v2.0•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 2.36%• Percentile: 85%
Techniques & Countermeasures
- CWE-22•Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected Systems
- Unknown•PHP
≤ 5.2.6 | 5.0.0 | 5.0.0:beta1 | 5.0.0:beta2 | 5.0.0:beta3 | 5.0.0:beta4 | 5.0.0:rc1 | 5.0.0:rc2 | 5.0.0:rc3 | 5.0.1 | 5.0.2 | 5.0.3 | 5.0.4 | 5.0.5 | 5.1.0 | 5.1.1 | 5.1.2 | 5.1.3 | 5.1.4 | 5.1.5 | 5.1.6 | 5.2.0 | 5.2.1 | 5.2.2 | 5.2.3 | 5.2.4 | 5.2.5
References (21)
- http://www.securityfocus.com/bid/32625
- http://marc.info/?l=bugtraq&m=125631037611762&w=2
- http://www.securitytracker.com/id?1021303
- http://marc.info/?l=bugtraq&m=124654546101607&w=2
- http://www.sektioneins.de/advisories/SE-2008-06.txt
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html
- http://www.securityfocus.com/archive/1/501376/100/0/threaded
- http://wiki.rpath.com/Advisories:rPSA-2009-0035
- http://osvdb.org/50480
- https://exchange.xforce.ibmcloud.com/vulnerabilities/47079
- http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html
- http://www.redhat.com/support/errata/RHSA-2009-0350.html
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html
- http://secunia.com/advisories/35003
- http://www.php.net/ChangeLog-5.php#5.2.7
- http://www.openwall.com/lists/oss-security/2008/12/04/3
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:045
- http://archives.neohapsis.com/archives/bugtraq/2008-12/0039.html
- http://secunia.com/advisories/35306
- http://secunia.com/advisories/35650
- http://www.debian.org/security/2009/dsa-1789