UnZip inflate_dynamic() code execution

unzip-inflatedynamic-code-execution (41246) The risk level is classified as HighHigh Risk

Description:

UnZip could allow a remote attacker to execute arbitrary code on the system, caused by the passing of uninitialized pointers in the inflate_dynamic() function. A remote attacker could exploit this vulnerability using a specially-crafted ZIP file to release a restricted memory region and execute arbitrary code on the system.

*CVSS:

Base Score: 7.5
  Access Vector: Network
  Access Complexity: Low
  Authentication: None
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 5.5
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Refer to RPL-2317 for patch, upgrade or suggested workaround information. See References.

For other distributions:
Apply the appropriate update for your system. See References.

References:

  • Apple Web site: About the security content of Security Update 2010-002 / Mac OS X v10.6.3.
  • Info-ZIP Web site: Info-ZIP's UnZip.
  • RPL-2317: unzip CVE-2008-0888.
  • VMSA-2008-0009: Updates to VMware Workstation, VMware Player, VMware ACE, VMware Fusion, VMware Server, VMware VIX API, VMware ESX, VMware ESXi resolve critical security issues.
  • ASA-2008-149: unzip security update (RHSA-2008-0196)
  • BID-14450: Info-ZIP UnZip CHMod File Permission Modification Race Condition Weakness
  • BID-28288: Info-ZIP UnZip 'inflate_dynamic()' Remote Code Execution Vulnerability
  • CVE-2005-2475: Race condition in Unzip 5.52 allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being decompressed, whose permissions are changed by Unzip after the decompression is complete.
  • CVE-2008-0888: The NEEDBITS macro in the inflate_dynamic function in inflate.c for unzip can be invoked using invalid buffers, which allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via unknown vectors that trigger a free of uninitialized or previously-freed data.
  • DSA-1522: unzip -- programming error
  • GLSA-200804-06: UnZip: User-assisted execution of arbitrary code
  • MDKSA-2005:197: unzip
  • MDVSA-2008:068: Updated unzip packages vulnerability
  • OSVDB ID: 18530: UnZip Race Condition Arbitrary File Permission Modification
  • RHSA-2008-0196: Moderate: unzip security update
  • SA16309: UnZip File Permissions Change Vulnerability
  • SA29415: UnZip "inflate_dynamic()" Uninitialized Pointers Vulnerability
  • SA30535: VMware ESX Server Multiple Security Updates
  • SA40542: Sun Solaris 10 Unzip Two Vulnerabilities
  • SECTRACK ID: 1019634: UnZip NEEDBITS Macro Memory Free May Let Remote Users Execute Arbitrary Code
  • SUSE-SR:2008:007: SUSE Security Summary Report
  • USN-589-1: unzip vulnerability
  • VUPEN/ADV-2008-0913: UnZip inflate_dynamic() Invalid Pointers Code Execution Vulnerability
  • VUPEN/ADV-2008-1744: VMware Security Update Fixes Multiple Code Execution Vulnerabilities
  • VUPEN/ADV-2010-1789: Sun Products Unzip Code Execution and Race Condition Vulnerabilities

Platforms Affected:

  • Apple Mac OS X 10.5.8
  • Apple Mac OS X Server 10.5.8
  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 6.10
  • Canonical Ubuntu 7.04
  • Canonical Ubuntu 7.10
  • Debian Debian Linux 3.1
  • Debian Debian Linux 4.0
  • EMC VMware Player 2.0
  • EMC VMware Player 2.0.1
  • EMC VMware Player 2.0.2
  • EMC VMware Player 2.0.3
  • Gentoo Linux
  • Info-ZIP UnZip 5.52
  • MandrakeSoft Mandrake Linux 10.1 X86_64
  • MandrakeSoft Mandrake Linux 10.1
  • MandrakeSoft Mandrake Linux 2006
  • MandrakeSoft Mandrake Linux 2006 X86_64
  • MandrakeSoft Mandrake Linux 2007
  • MandrakeSoft Mandrake Linux 2007 X86_64
  • MandrakeSoft Mandrake Linux 2007.1 X86_64
  • MandrakeSoft Mandrake Linux 2007.1
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • MandrakeSoft Mandrake Linux 2008.0
  • MandrakeSoft Mandrake Linux LE2005
  • MandrakeSoft Mandrake Linux LE2005 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 2.1
  • MandrakeSoft Mandrake Linux Corporate Server 2.1 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • MandrakeSoft Mandrake Multi Network Firewall 2.0
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 WS
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • VMware ACE 2.0
  • VMware ACE 2.0.1
  • VMware ACE 2.0.2
  • VMware ACE 2.0.3
  • VMware ESX Server 3.5
  • VMware ESXi Server 3.5
  • VMware Fusion 1.0
  • VMware Fusion 1.1
  • VMware Fusion 1.1.1
  • VMware Server 1.0
  • VMware Server 1.0.1
  • VMware Server 1.0.2
  • VMware Server 1.0.3
  • VMware Server 1.0.4
  • VMware Server 1.0.5
  • VMware Workstation 6.0
  • VMware Workstation 6.0.1
  • VMware Workstation 6.0.2
  • VMware Workstation 6.0.3

Reported:

Mar 17, 2008

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 (IBM 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.

For corrections or additions please email xforce@iss.net

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.