Lucene search
K

ClamAV < 0.95.2 Multiple Scan Evasion Vulnerabilities

🗓️ 17 Jun 2009 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 12 Views

ClamAV < 0.95.2 Multiple Scan Evasion Vulnerabilities: Malicious code in CAB, RAR, or ZIP archives, UTF-16 encoded email, and signature bypass issue

Refs
Code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(39437);
  script_version("1.20");
  script_cvs_date("Date: 2018/11/15 20:50:23");

  script_bugtraq_id(35398, 35410, 35426);

  script_name(english:"ClamAV < 0.95.2 Multiple Scan Evasion Vulnerabilities");
  script_summary(english:"Checks response to a clamd VERSION command");

  script_set_attribute(attribute:"synopsis", value:
"The remote antivirus service is vulnerable to a file scan evasion
attack.");
  script_set_attribute(attribute:"description", value:
"According to its version, the clamd antivirus daemon on the remote
host is earlier than 0.95.2. Such versions are reportedly affected by
multiple scan evasion vulnerabilities :

  - An attacker could bypass antivirus detection by
    embedding malicious code in a specially crafted 'CAB',
    'RAR', or 'ZIP' archive.

  - Due to an issue in 'libclamav/mbox.c', an attacker can
    bypass antivirus detection by sending a UTF-16 encoded
    email.

  - Due to an issue in 'libclamav/readdb.c', certain
    signatures that should be rejected are able to bypass
    detection.");
  script_set_attribute(attribute:"see_also", value:"http://blog.zoller.lu/2009/05/advisory-clamav-generic-bypass.html");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2009/Jun/170");
  script_set_attribute(attribute:"see_also", value:"https://bugzilla.clamav.net/show_bug.cgi?id=1573");
  script_set_attribute(attribute:"see_also", value:"https://bugzilla.clamav.net/show_bug.cgi?id=1615");
  script_set_attribute(attribute:"solution", value:"Upgrade to ClamAV 0.95.2 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"plugin_publication_date", value:"2009/06/17");

  script_set_attribute(attribute:"potential_vulnerability", value:"true");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:clamav:clamav");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2009-2018 Tenable Network Security, Inc.");

  script_dependencies("clamav_detect.nasl");
  script_require_keys("Antivirus/ClamAV/version", "Settings/ParanoidReport");

  exit(0);
}

include("audit.inc");
include("global_settings.inc");

# nb. banner checks of open source software are prone to false-
#     positives so only run the check if reporting is paranoid.
if (report_paranoia < 2) audit(AUDIT_PARANOID);

version = get_kb_item("Antivirus/ClamAV/version");
if (!version) exit(0);

port = get_kb_item("Services/clamd");
if (!port) port = 3310;
if (!get_port_state(port)) exit(0);

ver = split(version, sep:'.', keep:FALSE);
for (i=0;i<max_index(ver);i++)
  ver[i] = int(ver[i]);

if (
  (
    ver[0] == 0 &&
    (
      ver[1] < 95 ||
      (ver[1] == 95 && ver[2] < 2)
    )
  )
)
{
  if (report_verbosity > 0)
  {
    report = string(
      "\n",
      "Nessus found the following vulnerable version of ClamAV installed on\n",
      "the remote host :",
      "\n",
      "Version: ", version,
      "\n"
    );
    security_warning(port:port, extra:report);
  }
  else security_warning(port:port);
}

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

15 Nov 2018 20:50Current
5.8Medium risk
Vulners AI Score5.8
12