The remote host is probably affected by the
vulnerabilities described in CVE 2007-6335 CVE 2007-6336 CVE 2007-6337
CVE-2008-0318 CVE-2008-1100 CVE-2008-1387 CVE-2008-2713.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: clamav-CB-A08-0001.nasl 12667 2018-12-05 12:55:38Z cfischer $
#
# ClamAV < 0.93.1 vulnerability
#
# Authors:
# Carsten Koch-Mauthe <c.koch-mauthe at dn-systems.de>
# Slight modification by Vlatko Kosturjak - Kost <[email protected]>
#
# Copyright:
# Copyright (C) 2008 Greenbone Networks GmbH
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# 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.
###############################################################################
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.90000");
script_version("$Revision: 12667 $");
script_tag(name:"last_modification", value:"$Date: 2018-12-05 13:55:38 +0100 (Wed, 05 Dec 2018) $");
script_tag(name:"creation_date", value:"2008-02-29 23:43:58 +0100 (Fri, 29 Feb 2008)");
script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_cve_id("CVE-2007-6335", "CVE-2007-6336", "CVE-2007-6337", "CVE-2008-0318", "CVE-2008-1100",
"CVE-2008-1387", "CVE-2008-2713");
script_name("ClamAV < 0.93.1 vulnerability");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2008 Greenbone Networks GmbH");
script_family("General");
script_dependencies("gb_clamav_detect_lin.nasl", "gb_clamav_detect_win.nasl", "gb_clamav_remote_detect.nasl");
script_mandatory_keys("ClamAV/installed");
script_tag(name:"solution", value:"All ClamAV users should upgrade to the latest version.");
script_tag(name:"summary", value:"The remote host is probably affected by the
vulnerabilities described in CVE 2007-6335 CVE 2007-6336 CVE 2007-6337
CVE-2008-0318 CVE-2008-1100 CVE-2008-1387 CVE-2008-2713.");
script_tag(name:"impact", value:"CVE 2008-2713
libclamav/petite.c in ClamAV before 0.93.1 allows remote attackers to cause
a denial of service via a crafted Petite file that triggers an out-of-bound read.
CVE 2008-1387
ClamAV before 0.93 allows remote attackers to cause a denial of service
(CPU consumption) via a crafted ARJ archive, as demonstrated by the PROTOS
GENOME test suite for Archive Formats.
CVE 2008-1100
Buffer overflow in the cli_scanpe function in libclamav (libclamav/pe.c)
for ClamAV 0.92 and 0.92.1 allows remote attackers to execute arbitrary
code via a crafted Upack PE file.
CVE 2008-0318
Integer overflow in the cli_scanpe function in libclamav in ClamAV before
0.92.1, as used in clamd, allows remote attackers to cause a denial of
service and possibly execute arbitrary code via a crafted Petite packed
PE file, which triggers a heap-based buffer overflow.
CVE 2007-6337
Unspecified vulnerability in the bzip2 decompression algorithm in
nsis/bzlib_private.h in ClamAV before 0.92 has unknown impact and remote
attack vectors.
CVE 2007-6336
off-by-one error in ClamAV before 0.92 allows remote attackers to execute
arbitrary code via a crafted MS-ZIP compressed CAB file.
CVE 2007-6335
Integer overflow in libclamav in ClamAV before 0.92 allows remote attackers
to execute arbitrary code via a crafted MEW packed PE file, which triggers
a heap-based buffer overflow.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"executable_version_unreliable");
exit(0);
}
include("version_func.inc");
port = get_kb_item( "Services/clamd" );
if( ! port )
port = 0;
ver = get_kb_item( "ClamAV/remote/Ver" );
if( ! ver ) {
ver = get_kb_item( "ClamAV/Lin/Ver" );
if( ! ver ) {
ver = get_kb_item("ClamAV/Win/Ver");
}
}
if( ! ver )
exit( 0 );
if( version_is_less( version:ver, test_version:"0.93.1" ) ) {
report = report_fixed_ver( installed_version:ver, fixed_version:"0.93.1" );
security_message( port:port, data:report );
}
exit( 0 );