Lucene search
+L

ClamAV Unsupported Version Detection

🗓️ 16 May 2014 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 19 Views

The remote host contains an unsupported version of ClamAV. Lack of support implies that no new security patches for the product will be released by the vendor

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

include("compat.inc");

if (description)
{
  script_id(74039);
  script_version("1.12");
  script_set_attribute(attribute:"plugin_modification_date", value:"2020/09/22");

  script_xref(name:"IAVA", value:"0001-A-0528");

  script_name(english:"ClamAV Unsupported Version Detection");
  script_summary(english:"Checks response to a clamd VERSION command.");

  script_set_attribute(attribute:"synopsis", value:
"The remote host contains an unsupported version of ClamAV.");
  script_set_attribute(attribute:"description", value:
"According to its version, the ClamAV clamd antivirus daemon running on
the remote host is no longer supported.

Lack of support implies that no new security patches for the product
will be released by the vendor. As a result, it is likely to contain
security vulnerabilities.");
  script_set_attribute(attribute:"see_also", value:"https://github.com/Cisco-Talos/clamav-faq/blob/master/faq/faq-eol.md");
  script_set_attribute(attribute:"see_also", value:"http://www.clamav.net/doc/eol.html");
  script_set_attribute(attribute:"see_also", value:"http://www.clamav.net/download.html");
  script_set_attribute(attribute:"solution", value:
"Upgrade to a version of ClamAV that is currently supported.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");

  script_set_attribute(attribute:"plugin_publication_date", value:"2014/05/16");

  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_set_attribute(attribute:"unsupported_by_vendor", value:"true");
  script_end_attributes();

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

  script_copyright(english:"This script is Copyright (C) 2014-2020 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");
include("misc_func.inc");

version = get_kb_item_or_exit("Antivirus/ClamAV/version");
port = get_service(svc:"clamd", default:3310, exit_on_fail:TRUE);

# 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);

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

# Clam AV only does security patching on the latest minor release.
if (ver[0] == 0 && ver[1] < 98 && ver[2] < 7)
{

  register_unsupported_product(product_name:"ClamAV",
                               version:version, cpe_base:"clamav:clamav");

  if (report_verbosity > 0)
  {
    report =
      '\n  Installed version : ' + version +
      '\n  Supported version : 0.98.7 or later \n';
    security_hole(port:port, extra:report);
  }
  else security_hole(port);
  exit(0);
}
else exit(0, "The ClamAV " + version + " installation on port " + port + " is still supported.");

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

22 Sep 2020 00:00Current
5.5Medium risk
Vulners AI Score5.5
19