what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

02.27.04a.txt

02.27.04a.txt
Posted Feb 27, 2004
Site idefense.com

iDEFENSE Security Advisory 02.27.04a: Exploitation of a buffer overflow vulnerability within a parameter parsing routine of WinZip Computing Inc.'s WinZip Archive Utility for Windows allows remote attackers to execute arbitrary code. Versions below 9.0 affected.

tags | advisory, remote, overflow, arbitrary
systems | windows
SHA-256 | 53517af4c8cb6810ce93d885a7fbe09d4bed96da22e7c1e59bf7a257545b5c81

02.27.04a.txt

Change Mirror Download
WinZip MIME Parsing Buffer Overflow Vulnerability

iDEFENSE Security Advisory 02.27.04a:
http://www.idefense.com/application/poi/display?id=76&type=vulnerabiliti
es
February 27, 2004

I. BACKGROUND

WinZip is an archiving utility for the Microsoft Windows platform
featuring built-in support for CAB files and for popular Internet file
formats such as TAR, gzip, UUencode, BinHex, and MIME. ARJ, LZH, and ARC
files are supported via external programs. More information is available
at http://www.winzip.com.

II. DESCRIPTION

Exploitation of a buffer overflow vulnerability within a parameter
parsing routine of WinZip Computing Inc.'s WinZip Archive Utility for
Windows allows remote attackers to execute arbitrary code.

The problem specifically exists in the UUDeview package which is used to
support various decoding routines. When providing long strings to
certain parameters of MIME archives (.mim, .uue, .uu, .b64, .bhx, .hqx
and .xxe extensions) WinZip will crash referencing an "internal error in
file misc.c line 132". Analysis of the log file created by WinZip upon
crash reveals that exploitation is plausible:

Return address = 0041a923
Return address = 0044c06c
Return address = 41414141

Further analysis reveals that WinZip is crashing due to an invalid
reference at the following instruction:

0049c332: mov dword ptr [ecx+08], edi

Both the ecx and edi registers in the above instruction are user
controllable allowing an attacker to craft a MIME archive that upon
opening will execute arbitrary code.

III. ANALYSIS

Successful exploitation requires that an attacker convince a target user
to open a malicious MIME archive. The target user must have a vulnerable
version of WinZip installed which by default includes a handler for the
one of the vulnerable file types. Example methods of propagation include
e-mail, web links and P2P software.

iDEFENSE has proof of concept exploit code demonstrating the impact of
this vulnerability.

IV. DETECTION

iDEFENSE has confirmed the existence of this vulnerability in WinZip
8.1 SR-1 (the latest stable version) and the latest beta release of
WinZip 9.0. It is suspected that earlier versions are vulnerable as
well.

V. WORKAROUND

User awareness is the best method of defense against this class of
attack. Users must be wary when opening attachments or following links
from untrusted sources.

Removal of the extension handler for vulnerable file types can prevent
exploitation from double clicking on what may appear to be a harmless
WinZip archive. This can be accomplished by opening Windows Explorer,
selecting "Tools", then "Folder Options", selecting the "File Types"
tab, scrolling to MIM and deleting the appropriate entry.

VI. VENDOR FIX

This issue has been addressed in WinZip 9.0, available at
http://www.winzip.com/.

VII. CVE INFORMATION

A Mitre Corp. Common Vulnerabilities and Exposures (CVE) number has not
yet been assigned.

VIII. DISCLOSURE TIMELINE

January 13, 2004 Vulnerability acquired by iDEFENSE
February 9, 2004 Initial vendor notification
February 9, 2004 Initial vendor response
February 10, 2004 iDEFENSE clients notified
February 27, 2004 Coordinated public disclosure
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    0 Files
  • 17
    Sep 17th
    0 Files
  • 18
    Sep 18th
    0 Files
  • 19
    Sep 19th
    0 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close