Lucene search
K

ClamAV Invalid Memory Access Denial Of Service Vulnerability

🗓️ 05 Sep 2008 00:00:00Reported by Copyright (C) 2008 SecPodType 
openvas
 openvas
🔗 plugins.openvas.org👁 32 Views

ClamAV Invalid Memory Access DoS Vulnerabilit

Related
Refs
Code
##############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_clamav_invalid_mem_access_dos_vuln_900117.nasl 7823 2017-11-20 08:54:04Z cfischer $
# Description: ClamAV Invalid Memory Access Denial Of Service Vulnerability 
#
# Authors:
# Sharath S <[email protected]>
#
# Copyright:
# Copyright (C) 2008 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 remote exploitation will allow attackers to cause
        the application to crash.

 Impact Level : Application";

tag_solution = "Upgrade to ClamAV version 0.94
 http://www.clamav.net/download/sources";

tag_affected = "ClamAV versions prior to ClamAV 0.94 on all platform.";

tag_insight = "The flaw exists due to an invalid memory access in chmunpack.c file,
        when processing a malformed CHM file.";

tag_summary = "The host is running Clam AntiVirus, which is prone to denial of
 service vulnerability.";



if(description)
{
 script_id(900117);
 script_version("$Revision: 7823 $");
 script_tag(name:"last_modification", value:"$Date: 2017-11-20 09:54:04 +0100 (Mon, 20 Nov 2017) $");
 script_tag(name:"creation_date", value:"2008-09-05 16:50:44 +0200 (Fri, 05 Sep 2008)");
 script_bugtraq_id(30994);
 script_cve_id("CVE-2008-1389");
 script_copyright("Copyright (C) 2008 SecPod");
 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_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"executable_version");
 script_family("Denial of Service");
 script_name("ClamAV Invalid Memory Access Denial Of Service Vulnerability");
 script_dependencies("gather-package-list.nasl");
 script_mandatory_keys("login/SSH/success");
 script_exclude_keys("ssh/no_linux_shell");

 script_tag(name : "summary" , value : tag_summary);
 script_tag(name : "insight" , value : tag_insight);
 script_tag(name : "affected" , value : tag_affected);
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "impact" , value : tag_impact);
 script_xref(name : "URL" , value : "http://www.frsirt.com/english/advisories/2008/2484");
 script_xref(name : "URL" , value : "http://svn.clamav.net/svn/clamav-devel/trunk/ChangeLog");
 exit(0);
}

include("ssh_func.inc");

 foreach item (get_kb_list("ssh/login/rpms"))
 {
        if("clamav~" >< item)
        {
                if(egrep(pattern:"^clamav~0\.([0-8]?[0-9]|9[0-3])($|[^0-9])",
                         string:item))
		{
                        security_message(0); 
		        exit(0);
                }
        }
 }

 sock = ssh_login_or_reuse_connection();
 if(!sock){
        exit(0);
 }

 clamVer = ssh_cmd(socket:sock, cmd:"clamav-config --version");
 ssh_close_connection();

 if(!clamVer){
        exit(0);
 }

 if(egrep(pattern:"^0\.([0-8]?[0-9]|9[0-3])($|[^0-9])", string:clamVer)){
        security_message(port:0);
 }

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

20 Nov 2017 00:00Current
0.1Low risk
Vulners AI Score0.1
EPSS0.08171
32