Multiple F-Secure LZH buffer overflow

fsecure-lzh-bo (34575) The risk level is classified as HighHigh Risk

Description:

Multiple F-Secure Anti-Virus products are vulnerable to a buffer overflow, caused by improper bounds checking when scanning LHA (LZH) archive files. By creating a specially-crafted LZH file, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash, if the attacker could persuade the victim to scan the malicious file.

Platforms Affected:

  • F-Secure, F-Secure Anti-Virus 2005
  • F-Secure, F-Secure Anti-Virus 2006
  • F-Secure, F-Secure Anti-Virus 2007
  • F-Secure, F-Secure Anti-Virus Client Security 6.03 and prior
  • F-Secure, F-Secure Anti-Virus for Citrix Servers 5.52
  • F-Secure, F-Secure Anti-Virus for Linux Gateways 4.65 and prior
  • F-Secure, F-Secure Anti-Virus for Linux Servers 4.65 and prior
  • F-Secure, F-Secure Anti-Virus for MIMEsweeper 5.61 and prior
  • F-Secure, F-Secure Anti-Virus for MS Exchange 6.40 and prior
  • F-Secure, F-Secure Anti-Virus for Windows Servers 5.52 and prior
  • F-Secure, F-Secure Anti-Virus for Workstation 5.44 and prior
  • F-Secure, F-Secure Anti-Virus Linux Client Sec 5.30 and prior
  • F-Secure, F-Secure Anti-Virus Linux Server Sec 5.30 and prior
  • F-Secure, F-Secure Internet Gatekeeper 6.60 and prior
  • F-Secure, F-Secure Internet Gatekeeper for Linux 2.16 and prior
  • F-Secure, F-Secure Internet Security 2005
  • F-Secure, F-Secure Internet Security 2006
  • F-Secure, F-Secure Internet Security 2007

Remedy:

Refer to F-Secure Security Bulletin FSC-2007-1 for patch, upgrade, or suggested workaround information. See References.

Consequences:

Gain Access

References:

  • F-Secure Security Bulletin FSC-2007-1, Buffer overflow vulnerability in handling of specially crafted LHA archives at http://www.f-secure.com/security/fsc-2007-1.shtml.
  • Full-Disclosure Mailing List, Fri Jun 01 2007 - 11:37:10 CDT, n.runs-SA-2007.013 - F-Secure Antivirus LZH parsing BufferOverflow Advisory at http://archives.neohapsis.com/archives/fulldisclosure/2007-06/0002.html.
  • BID-24235: F-Secure Anti-Virus LHA Processing Buffer Overflow Vulnerability
  • CVE-2007-2966: Buffer overflow in the LHA decompresion component in F-Secure anti-virus products for Microsoft Windows and Linux before 20070529 allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via a crafted LHA archive, related to an integer wrap, a similar issue to CVE-2006-4335.
  • FrSIRT/ADV-2007-1985: F-Secure Anti-Virus Products Code Execution and Denial of Service Vulnerabilities
  • SA25426: F-Secure Products LHA Archive Handling Buffer Overflow
  • SECTRACK ID: 1018146: F-Secure Internet Security Lets Remote Users Execute Arbitrary Code and Local Users Gain Elevated Privileges
  • SECTRACK ID: 1018147: F-Secure Internet Gatekeeper Lets Remote Users Execute Arbitrary Code
  • SECTRACK ID: 1018148: F-Secure Anti-Virus Lets Remote Users Execute Arbitrary Code and Local Users Gain Elevated Privileges

Reported:

May 29, 2007

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

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page