SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Zip Vendors:   Info-ZIP
(Gentoo Issues Fix) Zip Buffer Overflow in Recursive Directory Compression Lets Local Users Execute Arbitrary Code
SecurityTracker Alert ID:  1012161
SecurityTracker URL:  http://securitytracker.com/id/1012161
CVE Reference:   CVE-2004-1010   (Links to External Site)
Date:  Nov 10 2004
Impact:   Execution of arbitrary code via local system, User access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 2.3
Description:   A buffer overflow vulnerability was reported in Zip. A local user may be able to cause arbitrary code to be executed.

HexView reported that a local user can create a long path that, when compressed by Zip, will trigger a buffer overflow and possibly execute arbitrary code contained in a directory name or file name. The code will execute with the privileges of the user or process running Zip.

The original advisory is available at:

http://www.hexview.com/docs/20041103-1.txt

Impact:   A local user may be able to cause arbitrary code to be executed.
Solution:   Gentoo has released a fix and indicates that all zip users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/zip-2.3-r4"

Vendor URL:  www.info-zip.org/ (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Gentoo)

Message History:   This archive entry is a follow-up to the message listed below.
Nov 4 2004 Zip Buffer Overflow in Recursive Directory Compression Lets Local Users Execute Arbitrary Code



 Source Message Contents

Subject:  [gentoo-announce] [ GLSA 200411-16 ] zip: Path name buffer overflow


--nextPart1215513.og6aQ8Mq5F
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200411-16
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: zip: Path name buffer overflow
      Date: November 09, 2004
      Bugs: #70227
        ID: 200411-16

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

zip contains a buffer overflow when creating a ZIP archive of files
with very long path names. This could lead to the execution of
arbitrary code.

Background
==========

zip is a compression and file packaging utility.

Affected packages
=================

    -------------------------------------------------------------------
     Package       /  Vulnerable  /                         Unaffected
    -------------------------------------------------------------------
  1  app-arch/zip      <= 2.3-r3                             >= 2.3-r4

Description
===========

zip does not check the resulting path length when doing recursive
folder compression.

Impact
======

An attacker could exploit this by enticing another user or web
application to create an archive including a specially-crafted path
name, potentially resulting in the execution of arbitrary code with the
permissions of the user running zip.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All zip users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-arch/zip-2.3-r4"

References
==========

  [ 1 ] HexView zip Advisory
        http://www.hexview.com/docs/20041103-1.txt

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200411-16.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2004 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0

--nextPart1215513.og6aQ8Mq5F
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBBkR6HzKC5hMHO6rkRAt0UAKCLAGVgwFC1Jesgp1O0fa+mKijg3QCePKt+
yMIQnPQuWMDqPvXlluPJr1k=
=9S0r
-----END PGP SIGNATURE-----

--nextPart1215513.og6aQ8Mq5F--

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2022, SecurityGlobal.net LLC