Lucene search

K
openvasThis script is Copyright (C) 2013 Greenbone Networks GmbHOPENVAS:103848
HistoryDec 03, 2013 - 12:00 a.m.

VMSA-2013-0004 VMware ESXi security update for third party library (remote check)

2013-12-0300:00:00
This script is Copyright (C) 2013 Greenbone Networks GmbH
plugins.openvas.org
10

0.04 Low

EPSS

Percentile

91.2%

The remote ESXi is missing one or more security related Updates
from VMSA-2013-0004.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_VMSA-2013-0004_remote.nasl 6065 2017-05-04 09:03:08Z teissa $
#
# VMSA-2013-0004 VMware ESXi security update for third party library (remote check)
#
# Authors:
# Michael Meyer <[email protected]>
#
# Copyright:
# Copyright (c) 2013 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
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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_summary = "The remote ESXi is missing one or more security related Updates
from VMSA-2013-0004.";

tag_affected = "ESXi 5.1 without patch ESXi510-201304101
ESXi 5.0 without patch ESXi500-201303101
ESXi 4.0 without patch ESXi400-201305001 
ESXi 4.1 without patch ESXi410-201304401";

tag_insight ="The ESXi userworld libxml2 library has been updated to resolve a security issue.";
tag_solution = "Apply the missing patch(es).";
tag_vuldetect = "Check the build number.";

if (description)
{
 script_id(103848);
 script_cve_id("CVE-2012-5134");
 script_tag(name:"cvss_base", value:"6.8");
 script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
 script_version ("$Revision: 6065 $");
 script_name("VMSA-2013-0004 VMware ESXi security update for third party library (remote check)");


 script_tag(name:"last_modification", value:"$Date: 2017-05-04 11:03:08 +0200 (Thu, 04 May 2017) $");
 script_tag(name:"creation_date", value:"2013-12-03 14:03:01 +0100 (Tue, 03 Dec 2013)");
 script_category(ACT_GATHER_INFO);
 script_family("General");
 script_copyright("This script is Copyright (C) 2013 Greenbone Networks GmbH");
 script_dependencies("gb_vmware_esx_web_detect.nasl");
 script_mandatory_keys("VMware/ESX/build","VMware/ESX/version");

 script_tag(name : "summary" , value : tag_summary);
 script_tag(name : "vuldetect" , value : tag_vuldetect);
 script_tag(name : "insight" , value : tag_insight);
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "affected" , value : tag_affected);
 script_tag(name:"qod_type", value:"package");
 script_tag(name:"solution_type", value:"VendorFix");
 script_xref(name : "URL" , value : "http://www.vmware.com/security/advisories/VMSA-2013-0004.html");
 exit(0);
}

include("vmware_esx.inc");

if(!esxVersion = get_kb_item("VMware/ESX/version"))exit(0);
if(!esxBuild = get_kb_item("VMware/ESX/build"))exit(0);

fixed_builds = make_array("5.0.0","1022489",
                          "5.1.0","1063671");

if(!fixed_builds[esxVersion])exit(0);

if(int(esxBuild) < int(fixed_builds[esxVersion])) {

  security_message(port:0, data: esxi_remote_report(ver:esxVersion, build: esxBuild, fixed_build: fixed_builds[esxVersion]));
  exit(0);
}

exit(99);