Lucene search

K
openvasCopyright (c) 2010 SecPodOPENVAS:902189
HistoryMay 28, 2010 - 12:00 a.m.

ClamAV 'cli_pdf()' and 'cli_scanicon()' Denial of Service Vulnerabilities (Win

2010-05-2800:00:00
Copyright (c) 2010 SecPod
plugins.openvas.org
10

0.023 Low

EPSS

Percentile

88.6%

This host has ClamAV installed, and is prone to multiple Denial of Service
vulnerabilities.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_clamav_mult_dos_vuln_win.nasl 5451 2017-03-01 08:24:31Z cfi $
#
# ClamAV 'cli_pdf()' and 'cli_scanicon()' Denial of Service Vulnerabilities (Windows)
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2010 SecPod, http://www.secpod.com
#
# 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 = "Successful exploitation will allow attackers to cause a denial of service.
  Impact Level: Application";
tag_affected = "ClamAV version prior to 0.96.1 (1.0.26) on Windows.";
tag_insight = "The flaws are due to:
  - Errors exists within the 'cli_pdf()' function in 'libclamav/pdf.c' when
    processing certain 'PDF' files. This can be exploited to cause a crash.
  - Error exists within the 'parseicon()' function in 'libclamav/pe_icons.c'
    when processing 'PE' icons. This can be exploited to trigger an out-of-bounds
    access when reading data and potentially cause a crash.";
tag_solution = "Upgrade to ClamAV 0.96.1 or later,
  For updates refer to http://www.clamav.net";
tag_summary = "This host has ClamAV installed, and is prone to multiple Denial of Service
  vulnerabilities.";

if(description)
{
  script_id(902189);
  script_version("$Revision: 5451 $");
  script_tag(name:"last_modification", value:"$Date: 2017-03-01 09:24:31 +0100 (Wed, 01 Mar 2017) $");
  script_tag(name:"creation_date", value:"2010-05-28 16:52:49 +0200 (Fri, 28 May 2010)");
  script_cve_id("CVE-2010-1639", "CVE-2010-1640");
  script_bugtraq_id(40318, 40317);
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:N/A:P");
  script_name("ClamAV 'cli_pdf()' and 'cli_scanicon()' Denial of Service Vulnerabilities (Win");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/39895");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/58824");
  script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2010/1214");
  script_xref(name : "URL" , value : "http://git.clamav.net/gitweb?p=clamav-devel.git;a=blob_plain;f=ChangeLog;hb=clamav-0.96.1");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2010 SecPod");
  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");

avVer = get_kb_item("ClamAV/Win/Ver");
if(!avVer){
  exit(0);
}

## ClamAV version less than 0.96.1 (1.0.26)
if(version_is_less(version:avVer, test_version:"0.96.1")){
  security_message(0);
}