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

2013-04-02T00:00:00
ID OPENVAS:1361412562310103687
Type openvas
Reporter Copyright (C) 2013 Greenbone Networks GmbH
Modified 2019-12-18T00:00:00

Description

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

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
#
# VMSA-2013-0004 VMware ESXi security update for third party library
#
# Authors:
# Michael Meyer <michael.meyer@greenbone.net>
#
# 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.
###############################################################################

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.103687");
  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("2019-12-18T11:13:08+0000");
  script_name("VMware ESXi security update for third party library (VMSA-2013-0004)");
  script_tag(name:"last_modification", value:"2019-12-18 11:13:08 +0000 (Wed, 18 Dec 2019)");
  script_tag(name:"creation_date", value:"2013-04-02 14:04:01 +0100 (Tue, 02 Apr 2013)");
  script_category(ACT_GATHER_INFO);
  script_family("VMware Local Security Checks");
  script_copyright("Copyright (C) 2013 Greenbone Networks GmbH");
  script_dependencies("gb_vmware_esxi_init.nasl");
  script_mandatory_keys("VMware/ESXi/LSC", "VMware/ESX/version");

  script_tag(name:"summary", value:"The remote ESXi is missing one or more security related Updates
  from VMSA-2013-0004.");

  script_tag(name:"affected", value:"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");

  script_tag(name:"insight", value:"The ESXi userworld libxml2 library has been updated to resolve a security issue.");

  script_tag(name:"solution", value:"Apply the missing patch(es).");

  script_tag(name:"vuldetect", value:"Checks if the target host is missing one or more patch(es).");

  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");
include("version_func.inc");

if(!get_kb_item("VMware/ESXi/LSC"))
  exit(0);

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

patches = make_array("4.1.0", "ESXi410-201304401-SG",
                     "4.0.0", "ESXi400-201305401-SG",
                     "5.0.0", "VIB:esx-base:5.0.0-2.29.1022489",
                     "5.1.0", "VIB:esx-base:5.1.0-0.11.1063671");

if(!patches[esxVersion])
  exit(99);

if(report = esxi_patch_missing(esxi_version:esxVersion, patch:patches[esxVersion])) {
  security_message(port:0, data:report);
  exit(0);
}

exit(99);