ClamAV LZH File Unpacking Denial of Service Vulnerability (Windows)

2009-07-07T00:00:00
ID OPENVAS:800596
Type openvas
Reporter Copyright (C) 2009 Greenbone Networks GmbH
Modified 2016-12-28T00:00:00

Description

The host is installed with ClamAV and is prone to Denial of Service Vulnerability.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_clamav_lzh_dos_vuln_win.nasl 4865 2016-12-28 16:16:43Z teissa $
#
# ClamAV LZH File Unpacking Denial of Service Vulnerability (Windows)
#
# Authors:
# Nikita MR <rnikita@secpod.com>
#
# Copyright:
# Copyright (c) 2009 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_impact = "Attackers can exploit this issue to execute arbitrary code in the context
  of affected application, and can cause denial of service.
  Impact Level: Application";
tag_affected = "ClamAV 0.93.3 and prior on Windows.";
tag_insight = "A segmentation fault ocurs in the unpack feature when processing malicious
  LZH file.";
tag_solution = "Upgrade to ClamAV 0.94 or later
  http://www.clamav.net/download";
tag_summary = "The host is installed with ClamAV and is prone to Denial of Service
  Vulnerability.";

if(description)
{
  script_id(800596);
  script_version("$Revision: 4865 $");
  script_tag(name:"last_modification", value:"$Date: 2016-12-28 17:16:43 +0100 (Wed, 28 Dec 2016) $");
  script_tag(name:"creation_date", value:"2009-07-07 11:58:41 +0200 (Tue, 07 Jul 2009)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_cve_id("CVE-2008-6845");
  script_bugtraq_id(32752);
  script_name("ClamAV LZH File Unpacking Denial of Service Vulnerability (Windows)");
  script_xref(name : "URL" , value : "http://www.ivizsecurity.com/security-advisory-iviz-sr-08011.html");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 Greenbone Networks GmbH");
  script_family("Denial of Service");
  script_dependencies("gb_clamav_detect_win.nasl");
  script_require_keys("ClamAV/Win/Ver");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


include("version_func.inc");

clamavVer = get_kb_item("ClamAV/Win/Ver");
if(clamavVer == NULL){
  exit(0);
}

if(version_is_less_equal(version:clamavVer, test_version:"0.93.3")){
  security_message(0);
}