Skip to content
OpenAdvisories
Unscored CVE-2008-5658 EUVD-2008-5629GHSA-3jwh-q6hx-pvmh

Directory traversal vulnerability in the ZipArchive::extractTo function in PHP 5.2.6 and earlier allows context-dependent attackers to writ…

Published Dec 17, 2008 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 php5 5.2.6.dfsg.1-1+lenny2 DTSA-188-1, DSA-1789-1
Debian 4.0 php5 5.2.0+dfsg-8+etch15 DSA-1789-1
ReleasePackageFixed inAdvisory
Red Hat Rhel Application Stack 2 php +18 5.2.6-4.el5s2 RHSA-2009:0350

Advisories 3

References