Lucene search
K

VMware ESX / ESXi Unsupported Version Detection

🗓️ 02 Dec 2011 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 951 Views

The remote host is running an unsupported version of a virtualization application. 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

Refs
Code
SourceLink
nessuswww.nessus.org/u
nessuswww.nessus.org/u
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(56997);
  script_version("1.20");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/02/12");

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

  script_name(english:"VMware ESX / ESXi Unsupported Version Detection");
  script_summary(english:"Checks if a VMware ESX / ESXi version is unsupported");

  script_set_attribute(attribute:"synopsis", value:
"The remote host is running an unsupported version of a virtualization
application.");
  script_set_attribute(attribute:"description", value:
"According to its version, the installation of VMware ESX or ESXi 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.");
  #https://support.broadcom.com/group/ecx/productlifecycle
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?06aa119b");
  #https://ftpdocs.broadcom.com/cadocs/0/contentimages/Product_EOTG_Dates.pdf
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c4c485e7");
  script_set_attribute(attribute:"solution", value:"Upgrade to a version of VMware ESX / ESXi that is currently supported.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H");
  script_set_attribute(attribute:"cvss_score_source", value:"manual");
  script_set_attribute(attribute:"cvss_score_rationale", value:"Tenable score for unsupported software");

  script_set_attribute(attribute:"plugin_publication_date", value:"2011/12/02");

  script_set_attribute(attribute:"plugin_type", value:"combined");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:vmware:esx_server");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esxi");
  script_set_attribute(attribute:"unsupported_by_vendor", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"VMware ESX Local Security Checks");

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

  script_dependencies("ssh_get_info.nasl", "vmware_vsphere_detect.nbin");
  script_require_keys("Host/VMware/version");

  exit(0);
}

# necessary when using combined detection
var port = get_kb_item('Host/VMware/vsphere');
if (empty_or_null(port)) port = 0;

var now = get_kb_item('Flatline/nowtime');
if (empty_or_null(now))
  now = gettimeofday();

  var esx_version = get_kb_item_or_exit('Host/VMware/version');

  var match = pregmatch(pattern:"^(ESXi?) ([0-9].+)", string:esx_version);
if (!match) exit(1, "Failed to parse the ESX/ESXi version ("+esx_version+").");

var product = match[1];
var version = match[2];

# nb: these dates are for the end of "Extended Support"; in "Technical
#     Guidance", the life cycle policy document specifically says
#     there will be no security patches.
if ("ESXi" >< product)
{
  # ESXi
  eos_dates = make_array(
    "^6\.7$"    , 'October 15, 2022',
    "^6\.5$"	, 'October 15, 2022',
    "^6\.0$"    , 'March 12, 2020',
    "^5\.5$"    , 'September 19, 2018',
    "^5\.[01]$" , 'August 08, 2016',
    "^4\.[01]$" , 'May 21, 2014',
    "^3\.5$"    , 'May 21, 2013',
    "^3\.0$"    , 'No date available'
  );
  
  supported_versions = '7.0';

  # 7.0 on April 02, 2025
  if (now > 1806638400)
  {
    eos_dates["^7\.0$"] = 'April 02, 2027';
    supported_versions = 'TBD';
  }

}
else
{
  # ESX
  eos_dates = make_array(
    "^4\.[01]$" , 'May 21, 2014',       # http://kb.vmware.com/kb/2039567
    "^3\.5$"    , 'May 21, 2013',
    "^3\.0$"    , 'December 10, 2011',
    "^2\.5$"    , 'June 15, 2010',
    "^2\.[01]$" , 'No date available',
    "^1\.[015]$", 'No date available'
  );
  supported_versions = NULL;
}

var ver = split(version, sep:".", keep:FALSE);

var i;
for (i=0; i<max_index(ver); i++)
{
  ver[i] = int(ver[i]);
}

var version_highlevel = ver[0] + "." + ver[1];

var v, tag_name;
var report = '';
foreach v (keys(eos_dates))
{
  if (version_highlevel =~ v)
  {
    if ("ESXi" >< product) tag_name = "vmware:esxi";
    else tag_name = "vmware:esx_server";

    register_unsupported_product(product_name:product, cpe_class:CPE_CLASS_OS,
                                 cpe_base:tag_name, version:version);

    report +=
      '\n  Product            : ' + product +
      '\n  Installed version  : ' + version +
      '\n  EOL date           : ' + eos_dates[v];

    if (!isnull(supported_versions)) report += '\n  Supported versions : ' + supported_versions;

    report += '\n';

    security_report_v4(port:port, severity:SECURITY_HOLE , extra:report);
    exit(0);
  }
}
audit(AUDIT_INST_VER_NOT_VULN, "VMware "+product, version_highlevel);

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

12 Feb 2025 00:00Current
5.5Medium risk
Vulners AI Score5.5
951