Multiple vendor file archivers file extraction directory traversal

archive-extraction-directory-traversal (10224) The risk level is classified as MediumMedium Risk

Description:

Multiple vendor file archivers (GNU tar, Info-Zip UnZip, PKWare PKZIP, and RARsoft RAR) are vulnerable to a directory traversal that could allow an attacker to overwrite and create files on the system. If an archived file contains "dot dot" sequences or other path specifying characters in the file name, a local attacker could traverse directories on the system when the archive is extracted and overwrite and corrupt files or create Trojans on the system.

Platforms Affected:

  • Conectiva, Linux 6.0
  • Conectiva, Linux 7.0
  • Conectiva, Linux 8.0
  • EngardeLinux, Secure Linux
  • Gentoo, Linux
  • Info-ZIP, UnZip 5.42 and prior
  • MandrakeSoft, Mandrake Linux 7.1
  • MandrakeSoft, Mandrake Linux 7.2
  • MandrakeSoft, Mandrake Linux 8.0
  • MandrakeSoft, Mandrake Linux 8.0 PPC
  • MandrakeSoft, Mandrake Linux 8.1
  • MandrakeSoft, Mandrake Linux 8.1 IA64
  • MandrakeSoft, Mandrake Linux 8.2 PPC
  • MandrakeSoft, Mandrake Linux 8.2
  • MandrakeSoft, Mandrake Linux 9.0
  • MandrakeSoft, Mandrake Linux Corporate Server 1.0.1
  • MandrakeSoft, Mandrake Single Network Firewall 7.2
  • OpenPKG, OpenPKG 2-STABLE
  • OpenPKG, OpenPKG CURRENT
  • OpenPKG, OpenPKG Enterprise E1.0-SOLID
  • PKWARE, PKZIP 4.00
  • RARSoft, RAR 2.02 and prior
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Linux 6.2
  • RedHat, Linux 7
  • RedHat, Linux 7.1
  • RedHat, Linux 7.1 for iSeries
  • RedHat, Linux 7.1 for pSeries
  • RedHat, Linux 7.2
  • RedHat, Linux 7.3
  • RedHat, Linux Advanced Workstation 2.1 Itanium
  • SuSE, SuSE Linux

Remedy:

For GNU tar 1.13.19 and earlier:
Upgrade to the latest version of tar (1.13.25 or later), available from the GNU FTP site. See References.

For UnZip 5.42 and earlier:
Upgrade to the latest version of UnZip (5.50 or later), available from the Info-ZIP Web site. See References.

For Red Hat Linux (tar):
Refer to RHSA-2006:0195-8 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux containing the tar packages:
Upgrade to the latest sys-apps/tar package, as listed in Gentoo Linux Security Announcement 2002-10-01 12:30 UTC. See References.

For Gentoo Linux containing the unzip packages:
Upgrade to the latest app-arch/uzip package, as listed in Gentoo Linux Security Announcement 2002-10-01 10:30 UTC. See References.

For EnGarde Secure Linux Community Edition:
Upgrade to the latest tar package (1.13.25-1.0.5 or later), as listed in EnGarde Secure Linux Security Advisory ESA-20021003-022. See References.

For Mandrake Linux:
Upgrade to the latest unzip packages, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2002:065 : unzip for more information. See References.

Linux-Mandrake 7.1, 7.2, 8.0, 8.1, 8.2, Corporate Server 1.0.1 and Single Network Firewall 7.2: 5.50-2.1mdk or later

For Mandrake Linux:
Upgrade to the latest tar packages, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2002:066 : tar for more information. See References.

Linux-Mandrake 7.1, 7.2, 8.0, 8.1, 8.2, 9.0, Corporate Server 1.0.1 and Single Network Firewall 7.2: 1.13.25-6.2mdk or later

For Conectiva Linux:
Upgrade to the latest tar and unzip packages, as listed below. Refer to Conectiva Linux Announcement CLSA-2002:538 for more information. See References.

tar:
Conectiva Linux 6.0: 1.13.25-1U60_1cl or later
Conectiva Linux 7.0: 1.13.25-1U70_1cl or later
Conective Linux 8.0: 1.13.25-2U80_1cl or later

unzip:
Conectiva Linux 6.0: 5.50-1U60_1cl or later
Conectiva Linux 7.0: 5.50-1U70_1cl or later
Conectiva Linux 8.0: 5.50-1U80_1cl or later

For SUSE Linux (star):
Refer to SUSE-SR:2007:019 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

File Manipulation

References:

Reported:

Jul 02, 2001

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page