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:

March 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close