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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Zip Vendors:   Info-ZIP
(Fedora Issues Fix) Zip Buffer Overflow in Recursive Directory Compression Lets Local Users Execute Arbitrary Code
SecurityTracker Alert ID:  1013076
SecurityTracker URL:  http://securitytracker.com/id/1013076
CVE Reference:   CVE-2004-1010   (Links to External Site)
Date:  Feb 3 2005
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:   Fedora has released a fix.

Fedora Core 1:

SRPM:
http://download.fedoralegacy.org/fedora/1/updates/SRPMS/zip-2.3-26.1.1.legacy.src.rpm

i386:
http://download.fedoralegacy.org/fedora/1/updates/i386/zip-2.3-26.1.1.legacy.i386.rpm

The verification checksums are:

SHA1 sum Package Name

9ef4498e118ca6b4a8f72b02fecde57924d51267
fedora/1/updates/i386/zip-2.3-26.1.1.legacy.i386.rpm
2dcdfc8e6ac63e2b74cf7c781c078773e0265eb8
fedora/1/updates/SRPMS/zip-2.3-26.1.1.legacy.src.rpm

Vendor URL:  www.info-zip.org/ (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Red Hat Fedora)
Underlying OS Comments:  FC1

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:  [Full-Disclosure] [FLSA-2005:2255] Updated zip package fixes


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--===============0395460404==
Content-type: multipart/signed;
	boundary=------------enigF04DDD08843A7E38A1E1BFA9;
	protocol="application/pgp-signature"; micalg=pgp-sha1

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF04DDD08843A7E38A1E1BFA9
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

---------------------------------------------------------------------
                Fedora Legacy Update Advisory

Synopsis:          Updated zip package fixes security issue
Advisory ID:       FLSA:2255
Issue date:        2005-02-01
Product:           Red Hat Linux, Fedora Core
Keywords:          Bugfix
Cross references:  https://bugzilla.fedora.us/show_bug.cgi?id=2255
CVE Names:         CAN-2004-1010
---------------------------------------------------------------------


---------------------------------------------------------------------
1. Topic:

An updated zip package that fixes a buffer overflow vulnerability is now
available.

The zip program is an archiving utility which can create ZIP-compatible
archives.

2. Relevant releases/architectures:

Red Hat Linux 7.3 - i386
Red Hat Linux 9 - i386
Fedora Core 1 - i386

3. Problem description:

A buffer overflow bug has been discovered in zip when handling long file
names. An attacker could create a specially crafted path which could
cause zip to crash or execute arbitrary instructions. The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the
name CAN-2004-1010 to this issue.

Users of zip should upgrade to this updated package, which contains
backported patches and is not vulnerable to this issue.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which
are not installed but included in the list will not be updated.  Note
that you can also use wildcards (*.rpm) if your current directory *only*
contains the desired RPMs.

Please note that this update is also available via yum and apt.  Many
people find this an easier way to apply updates.  To use yum issue:

yum update

or to use apt:

apt-get update; apt-get upgrade

This will start an interactive process that will result in the
appropriate RPMs being upgraded on your system.  This assumes that you
have yum or apt-get configured for obtaining Fedora Legacy content.
Please visit http://www fedoralegacy.org/docs for directions on how to
configure yum and apt-get.

5. Bug IDs fixed:

http://bugzilla.fedora.us - bug #2255 - zip long path buffer overflow

6. RPMs required:

Red Hat Linux 7.3:

SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/zip-2.3-26.1.0.7.3.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/zip-2.3-26.1.0.7.3.legacy.i386.rpm

Red Hat Linux 9:

SRPM:
http://download.fedoralegacy.org/redhat/9/updates/SRPMS/zip-2.3-26.1.0.9.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/9/updates/i386/zip-2.3-26.1.0.9.legacy.i386.rpm

Fedora Core 1:

SRPM:
http://download.fedoralegacy.org/fedora/1/updates/SRPMS/zip-2.3-26.1.1.legacy.src.rpm

i386:
http://download.fedoralegacy.org/fedora/1/updates/i386/zip-2.3-26.1.1.legacy.i386.rpm

7. Verification:

SHA1 sum                                 Package Name
---------------------------------------------------------------------

7b1134632529e30a471d2ae038f414f407ac0d3e 
redhat/7.3/updates/i386/zip-2.3-26.1.0.7.3.legacy.i386.rpm
8db58039a432c0f0c9ff01e07b9190ad23ac4413 
redhat/7.3/updates/SRPMS/zip-2.3-26.1.0.7.3.legacy.src.rpm
95966b2b9fdac8f17c74226c3c033b24dd6c9226 
redhat/9/updates/i386/zip-2.3-26.1.0.9.legacy.i386.rpm
92b76aadb2e46b57dd9b71927dada7b1c1154dae 
redhat/9/updates/SRPMS/zip-2.3-26.1.0.9.legacy.src.rpm
9ef4498e118ca6b4a8f72b02fecde57924d51267 
fedora/1/updates/i386/zip-2.3-26.1.1.legacy.i386.rpm
2dcdfc8e6ac63e2b74cf7c781c078773e0265eb8 
fedora/1/updates/SRPMS/zip-2.3-26.1.1.legacy.src.rpm

These packages are GPG signed by Fedora Legacy for security.  Our key is
available from http://www.fedoralegacy org/about/security.php

You can verify each package with the following command:

     rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the sha1sum with the following command:

     sha1sum <filename>

8. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1010
http://lists.netsys.com/pipermail/full-disclosure/2004-November/028379.html

9. Contact:

The Fedora Legacy security contact is <secnotice@fedoralegacy.org>. More
project details at http://www.fedoralegacy.org

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

--------------enigF04DDD08843A7E38A1E1BFA9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCAClaLMAs/0C4zNoRAkduAKCbDGbeSWFNSLn7KQzat/D/FgmTwgCgmlFU
FBYzfKG1aXq5dxCVsgRjDwU=
=jKhP
-----END PGP SIGNATURE-----

--------------enigF04DDD08843A7E38A1E1BFA9--

--===============0395460404==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

--===============0395460404==--

 
 


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 2019, SecurityGlobal.net LLC