CVEvulnerability

CVE-2008-5658

7.5 HIGH Published 2008-12-17 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2008-12-17
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-22

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.

Affected configurations

• php php (<= 5.2.6) • php php 5.0.0 • php php 5.0.1 • php php 5.0.2 • php php 5.0.3 • php php 5.0.4 • php php 5.0.5 • php php 5.1.0 • php php 5.1.1 • php php 5.1.2 • php php 5.1.3 • php php 5.1.4 • php php 5.1.5 • php php 5.1.6 • php php 5.2.0 • php php 5.2.1 • php php 5.2.2 • php php 5.2.3 • php php 5.2.4 • php php 5.2.5

Related

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References