VMware ESX sudo package has multiple vulnerabilities (VMSA-2013-0007
Reporter | Title | Published | Views | Family All 91 |
---|---|---|---|---|
![]() | VMSA-2013-0007 : VMware ESX third-party update for Service Console package sudo | 31 May 201300:00 | – | nessus |
![]() | CentOS 5 : sudo (CESA-2012:1149) | 8 Aug 201200:00 | – | nessus |
![]() | Oracle Linux 5 : sudo (ELSA-2012-1149) | 12 Jul 201300:00 | – | nessus |
![]() | Fedora 16 : sudo-1.8.3p1-3.fc16 (2012-8021) | 13 Jul 201200:00 | – | nessus |
![]() | GLSA-201207-01 : sudo: Privilege escalation | 10 Jul 201200:00 | – | nessus |
![]() | openSUSE Security Update : sudo (openSUSE-SU-2012:0652-1) | 13 Jun 201400:00 | – | nessus |
![]() | RHEL 5 : sudo (RHSA-2012:1149) | 8 Aug 201200:00 | – | nessus |
![]() | Scientific Linux Security Update : sudo on SL5.x i386/x86_64 (20120808) | 9 Aug 201200:00 | – | nessus |
![]() | CentOS 5 / 6 : sudo (CESA-2012:1081) | 17 Jul 201200:00 | – | nessus |
![]() | FreeBSD : sudo -- netmask vulnerability (b3435b68-9ee8-11e1-997c-002354ed89bc) | 17 May 201200:00 | – | nessus |
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(89665);
script_version("1.4");
script_cvs_date("Date: 2018/11/15 20:50:24");
script_cve_id("CVE-2012-2337", "CVE-2012-3440");
script_bugtraq_id(54868, 53569);
script_xref(name:"VMSA", value:"2013-0007");
script_name(english:"VMware ESX sudo Package Multiple Vulnerabilities (VMSA-2013-0007) (remote check)");
script_summary(english:"Checks the version and build numbers of the remote host.");
script_set_attribute(attribute:"synopsis", value:
"The remote VMware ESX / ESXi host is missing a security-related patch.");
script_set_attribute(attribute:"description", value:
"The remote VMware ESX / ESXi host is missing a security-related patch.
It is, therefore, affected by multiple vulnerabilities in the bundled
version of sudo :
- An unspecified flaw exists in the sudo package related
to the Network Matching Mechanism that is triggered when
parsing IPv4 netmask hosts. A local attacker can exploit
this to execute arbitrary code. (CVE-2012-2337)
- An arbitrary file overwrite vulnerability exists in sudo
due to a race condition occurs in post-uninstall during
the upgrade or removal of sudo packages. A local
attacker can exploit this via a symlink attack against
the /var/tmp/nsswitch.conf.bak file, allowing the
attacker write to a specified file. (CVE-2012-3440)");
script_set_attribute(attribute:"see_also", value:"https://www.vmware.com/security/advisories/VMSA-2013-0007.html");
script_set_attribute(attribute:"solution", value:
"Apply the appropriate patch according to the vendor advisory that
pertains to ESX version 4.0 / 4.1.");
script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C");
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:"vuln_publication_date", value:"2013/05/30");
script_set_attribute(attribute:"patch_publication_date", value:"2013/05/30");
script_set_attribute(attribute:"plugin_publication_date", value:"2016/03/04");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2016-2018 Tenable Network Security, Inc.");
script_dependencies("vmware_vsphere_detect.nbin");
script_require_keys("Host/VMware/version", "Host/VMware/release");
script_require_ports("Host/VMware/vsphere");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
ver = get_kb_item_or_exit("Host/VMware/version");
rel = get_kb_item_or_exit("Host/VMware/release");
port = get_kb_item_or_exit("Host/VMware/vsphere");
esx = '';
build = 0;
fix = FALSE;
if ("ESX" >!< rel || "ESXi" >< rel)
audit(AUDIT_OS_NOT, "VMware ESX");
extract = eregmatch(pattern:"^ESX (\d\.\d).*$", string:ver);
if (empty_or_null(extract))
audit(AUDIT_UNKNOWN_APP_VER, "VMware ESX");
ver = extract[1];
extract = eregmatch(pattern:'^VMware ESX.* build-([0-9]+)$', string:rel);
if (isnull(extract))
audit(AUDIT_UNKNOWN_BUILD, "VMware ESX", ver);
build = int(extract[1]);
fixes = make_array(
"4.1", 1363503,
"4.0", 1070634
);
fix = fixes[ver];
if (!fix)
audit(AUDIT_INST_VER_NOT_VULN, "VMware ESX", ver, build);
if (build < fix)
{
report = '\n Version : ' + esx + " " + ver +
'\n Installed build : ' + build +
'\n Fixed build : ' + fix +
'\n';
security_report_v4(port:port, severity:SECURITY_HOLE, extra:report);
exit(0);
}
else
audit(AUDIT_INST_VER_NOT_VULN, "VMware ESX", ver, build);
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo