VMSA-2011-0012 : VMware ESXi and ESX updates to third-party libraries and ESX Service Console - Nessus

High   Plugin ID: 56508

This page contains detailed information about the VMSA-2011-0012 : VMware ESXi and ESX updates to third-party libraries and ESX Service Console Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 56508
Name: VMSA-2011-0012 : VMware ESXi and ESX updates to third-party libraries and ESX Service Console
Filename: vmware_VMSA-2011-0012.nasl
Vulnerability Published: 2010-04-06
This Plugin Published: 2011-10-14
Last Modification Time: 2021-01-06
Plugin Version: 1.58
Plugin Type: local
Plugin Family: VMware ESX Local Security Checks
Dependencies: ssh_get_info.nasl
Required KB Items [?]: Host/local_checks_enabled, Host/VMware/release, Host/VMware/version

Vulnerability Information


Severity: High
Vulnerability Published: 2010-04-06
Patch Published: 2011-10-12
CVE [?]: CVE-2010-0296, CVE-2010-1083, CVE-2010-1323, CVE-2010-2492, CVE-2010-2798, CVE-2010-2938, CVE-2010-2942, CVE-2010-2943, CVE-2010-3015, CVE-2010-3066, CVE-2010-3067, CVE-2010-3078, CVE-2010-3086, CVE-2010-3296, CVE-2010-3432, CVE-2010-3442, CVE-2010-3477, CVE-2010-3699, CVE-2010-3858, CVE-2010-3859, CVE-2010-3865, CVE-2010-3876, CVE-2010-3877, CVE-2010-3880, CVE-2010-3904, CVE-2010-4072, CVE-2010-4073, CVE-2010-4075, CVE-2010-4080, CVE-2010-4081, CVE-2010-4083, CVE-2010-4157, CVE-2010-4158, CVE-2010-4161, CVE-2010-4238, CVE-2010-4242, CVE-2010-4243, CVE-2010-4247, CVE-2010-4248, CVE-2010-4249, CVE-2010-4251, CVE-2010-4255, CVE-2010-4263, CVE-2010-4343, CVE-2010-4346, CVE-2010-4526, CVE-2010-4655, CVE-2011-0281, CVE-2011-0282, CVE-2011-0521, CVE-2011-0536, CVE-2011-0710, CVE-2011-1010, CVE-2011-1071, CVE-2011-1090, CVE-2011-1095, CVE-2011-1478, CVE-2011-1494, CVE-2011-1495, CVE-2011-1658, CVE-2011-1659
CPE [?]: cpe:/o:vmware:esxi:3.5, cpe:/o:vmware:esxi:4.0, cpe:/o:vmware:esxi:4.1, cpe:/o:vmware:esxi:5.0, cpe:/o:vmware:esx:3.5, cpe:/o:vmware:esx:4.0, cpe:/o:vmware:esx:4.1
Exploited by Malware: True

Synopsis

The remote VMware ESXi / ESX host is missing one or more security-related patches.

Description

a. ESX third-party update for Service Console kernel

This update takes the console OS kernel package to kernel-2.6.18-238.9.1 which resolves multiple security issues.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the names CVE-2010-1083, CVE-2010-2492, CVE-2010-2798, CVE-2010-2938, CVE-2010-2942, CVE-2010-2943, CVE-2010-3015, CVE-2010-3066, CVE-2010-3067, CVE-2010-3078, CVE-2010-3086, CVE-2010-3296, CVE-2010-3432, CVE-2010-3442, CVE-2010-3477, CVE-2010-3699, CVE-2010-3858, CVE-2010-3859, CVE-2010-3865, CVE-2010-3876, CVE-2010-3877, CVE-2010-3880, CVE-2010-3904, CVE-2010-4072, CVE-2010-4073, CVE-2010-4075, CVE-2010-4080, CVE-2010-4081, CVE-2010-4083, CVE-2010-4157, CVE-2010-4158, CVE-2010-4161, CVE-2010-4238, CVE-2010-4242, CVE-2010-4243, CVE-2010-4247, CVE-2010-4248, CVE-2010-4249, CVE-2010-4251, CVE-2010-4255, CVE-2010-4263, CVE-2010-4343, CVE-2010-4346, CVE-2010-4526, CVE-2010-4655, CVE-2011-0521, CVE-2011-0710, CVE-2011-1010, CVE-2011-1090 and CVE-2011-1478 to these issues.

b. ESX third-party update for Service Console krb5 RPMs

This patch updates the krb5-libs and krb5-workstation RPMs of the console OS to version 1.6.1-55.el5_6.1, which resolves multiple security issues.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the names CVE-2010-1323, CVE-2011-0281, and CVE-2011-0282 to these issues.

c. ESXi and ESX update to third-party component glibc

The glibc third-party library is updated to resolve multiple security issues.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the names CVE-2010-0296, CVE-2011-0536, CVE-2011-1071, CVE-2011-1095, CVE-2011-1658, and CVE-2011-1659 to these issues.

d. ESX update to third-party drivers mptsas, mpt2sas, and mptspi

The mptsas, mpt2sas, and mptspi drivers are updated which addresses multiple security issues in the mpt2sas driver.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the names CVE-2011-1494 and CVE-2011-1495 to these issues.

Solution

Apply the missing patches.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): Host/VMware/esxcli_software_vibs, Host/VMware/esxupdate
Exploit Available: True (Metasploit Framework, Exploit-DB, GitHub, Immunity Canvas, Core Impact)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the VMSA-2011-0012 : VMware ESXi and ESX updates to third-party libraries and ESX Service Console vulnerability:

  1. Metasploit: exploit/linux/local/rds_rds_page_copy_user_priv_esc
    [Reliable Datagram Sockets (RDS) rds_page_copy_user Privilege Escalation]
  2. Exploit-DB: exploits/linux/local/15285.c
    [EDB-15285: Linux Kernel 2.6.36-rc8 - 'RDS Protocol' Local Privilege Escalation]
  3. Exploit-DB: exploits/linux/local/17787.c
    [EDB-17787: Linux Kernel < 2.6.36.2 (Ubuntu 10.04) - 'Half-Nelson.c' Econet Privilege Escalation]
  4. Exploit-DB: exploits/linux/local/44677.rb
    [EDB-44677: Linux 2.6.30 < 2.6.36-rc8 - Reliable Datagram Sockets (RDS) Privilege Escalation (Metasploit)]
  5. GitHub: https://github.com/RedHatOfficial/rhsecapi
    [CVE-2010-0296]
  6. GitHub: https://github.com/RedHatProductSecurity/cve-pylib
    [CVE-2010-0296]
  7. GitHub: https://github.com/mergebase/usn2json
    [CVE-2010-3865]
  8. GitHub: https://github.com/mergebase/usn2json
    [CVE-2010-3876]
  9. GitHub: https://github.com/mergebase/usn2json
    [CVE-2010-3877]
  10. GitHub: https://github.com/0xS3rgI0/OSCP
    [CVE-2010-3904]
  11. GitHub: https://github.com/3TH1N/Kali
    [CVE-2010-3904]
  12. GitHub: https://github.com/4n6strider/The-Security-Handbook
    [CVE-2010-3904]
  13. GitHub: https://github.com/Ahsanzia/OSCP
    [CVE-2010-3904]
  14. GitHub: https://github.com/AidenPearce369/OSCP-Notes
    [CVE-2010-3904]
  15. GitHub: https://github.com/Ak500k/oscp-notes
    [CVE-2010-3904]
  16. GitHub: https://github.com/Al1ex/LinuxEelvation
    [CVE-2010-3904]
  17. GitHub: https://github.com/De4dCr0w/Linux-kernel-EoP-exp
    [CVE-2010-3904]
  18. GitHub: https://github.com/DictionaryHouse/The-Security-Handbook-Kali-Linux
    [CVE-2010-3904]
  19. GitHub: https://github.com/Elinpf/OSCP-survival-guide
    [CVE-2010-3904]
  20. GitHub: https://github.com/Gajasurve/The-Security-Handbook
    [CVE-2010-3904]
  21. GitHub: https://github.com/MLGBSec/os-survival
    [CVE-2010-3904]
  22. GitHub: https://github.com/Oakesh/The-Security-Handbook
    [CVE-2010-3904]
  23. GitHub: https://github.com/R0B1NL1N/Linux-Kernal-Exploits-m-
    [CVE-2010-3904]
  24. GitHub: https://github.com/R0B1NL1N/Linux-Kernel-Exploites
    [CVE-2010-3904]
  25. GitHub: https://github.com/Raavan353/Pentest-notes
    [CVE-2010-3904]
  26. GitHub: https://github.com/Satya42/OSCP-Guide
    [CVE-2010-3904]
  27. GitHub: https://github.com/SenpaiX00/OSCP-Survival
    [CVE-2010-3904]
  28. GitHub: https://github.com/Snoopy-Sec/Localroot-ALL-CVE
    [CVE-2010-3904]
  29. GitHub: https://github.com/T3b0g025/PWK-CheatSheet
    [CVE-2010-3904]
  30. GitHub: https://github.com/amane312/Linux_menthor
    [CVE-2010-3904]
  31. GitHub: https://github.com/arya07071992/oscp_guide
    [CVE-2010-3904]
  32. GitHub: https://github.com/deepamkanjani/The-Security-Handbook
    [CVE-2010-3904]
  33. GitHub: https://github.com/doduytrung/The-Security-Handbook
    [CVE-2010-3904]
  34. GitHub: https://github.com/doffensive/wired-courtyard
    [CVE-2010-3904]
  35. GitHub: https://github.com/elzerjp/OSCP
    [CVE-2010-3904]
  36. GitHub: https://github.com/frizb/Linux-Privilege-Escalation
    [CVE-2010-3904]
  37. GitHub: https://github.com/h4x0r-dz/local-root-exploit-
    [CVE-2010-3904]
  38. GitHub: https://github.com/iantal/The-Security-Handbook
    [CVE-2010-3904]
  39. GitHub: https://github.com/ismailvc1111/Linux_Privilege
    [CVE-2010-3904]
  40. GitHub: https://github.com/jamiechap/oscp
    [CVE-2010-3904]
  41. GitHub: https://github.com/mergebase/usn2json
    [CVE-2010-3904]
  42. GitHub: https://github.com/monkeysm8/OSCP_HELP
    [CVE-2010-3904]
  43. GitHub: https://github.com/nitishbadole/hacking_30
    [CVE-2010-3904]
  44. GitHub: https://github.com/nullport/The-Security-Handbook
    [CVE-2010-3904]
  45. GitHub: https://github.com/pbnj/The-Security-Handbook
    [CVE-2010-3904]
  46. GitHub: https://github.com/qiantu88/Linux--exp
    [CVE-2010-3904]
  47. GitHub: https://github.com/r0ug3/The-Security-Handbook
    [CVE-2010-3904]
  48. GitHub: https://github.com/rakjong/LinuxElevation
    [CVE-2010-3904]
  49. GitHub: https://github.com/redhatkaty/-cve-2010-3904-report
    [CVE-2010-3904]
  50. GitHub: https://github.com/redteampa1/my-learning
    [CVE-2010-3904]
  51. GitHub: https://github.com/reybango/The-Security-Handbook
    [CVE-2010-3904]
  52. GitHub: https://github.com/shafeekzamzam/MyOSCPresources
    [CVE-2010-3904]
  53. GitHub: https://github.com/whackmanic/OSCP_Found
    [CVE-2010-3904]
  54. GitHub: https://github.com/mergebase/usn2json
    [CVE-2010-4072]
  55. GitHub: https://github.com/Al1ex/LinuxEelvation
    [CVE-2010-4073]
  56. GitHub: https://github.com/De4dCr0w/Linux-kernel-EoP-exp
    [CVE-2010-4073]
  57. GitHub: https://github.com/InteliSecureLabs/Linux_Exploit_Suggester
    [CVE-2010-4073]
  58. GitHub: https://github.com/PleXone2019/Linux_Exploit_Suggester
    [CVE-2010-4073]
  59. GitHub: https://github.com/R0B1NL1N/Linux-Kernal-Exploits-m-
    [CVE-2010-4073]
  60. GitHub: https://github.com/R0B1NL1N/Linux-Kernel-Exploites
    [CVE-2010-4073]
  61. GitHub: https://github.com/Snoopy-Sec/Localroot-ALL-CVE
    [CVE-2010-4073]
  62. GitHub: https://github.com/h4x0r-dz/local-root-exploit-
    [CVE-2010-4073]
  63. GitHub: https://github.com/qashqao/linux-xsuggest
    [CVE-2010-4073]
  64. GitHub: https://github.com/qiantu88/Linux--exp
    [CVE-2010-4073]
  65. GitHub: https://github.com/rakjong/LinuxElevation
    [CVE-2010-4073]
  66. GitHub: https://github.com/ram4u/Linux_Exploit_Suggester
    [CVE-2010-4073]
  67. GitHub: https://github.com/mergebase/usn2json
    [CVE-2010-4158]
  68. GitHub: https://github.com/mergebase/usn2json
    [CVE-2010-4249]
  69. GitHub: https://github.com/mergebase/usn2json
    [CVE-2010-4346]
  70. GitHub: https://github.com/mudongliang/LinuxFlaw/tree/master/CVE-2011-1071
    [CVE-2011-1071]
  71. Immunity Canvas: CANVAS

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:A/AC:M/Au:N/C:C/I:C/A:C/E:H/RL:OF/RC:C
CVSS Base Score:7.9 (High)
Impact Subscore:10.0
Exploitability Subscore:5.5
CVSS Temporal Score:6.9 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.9 (Medium)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N/E:H/RL:O/RC:C
CVSS Base Score:8.1 (High)
Impact Subscore:5.2
Exploitability Subscore:2.8
CVSS Temporal Score:7.7 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.7 (High)

Go back to menu.

Plugin Source


This is the vmware_VMSA-2011-0012.nasl nessus plugin source code. This script is Copyright (C) 2011-2021 and is owned by Tenable, Inc. or an Affiliate thereof.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were  
# extracted from VMware Security Advisory 2011-0012. 
# The text itself is copyright (C) VMware Inc.
#

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

if (description)
{
  script_id(56508);
  script_version("1.58");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/06");

  script_cve_id("CVE-2010-0296", "CVE-2010-1083", "CVE-2010-1323", "CVE-2010-2492", "CVE-2010-2798", "CVE-2010-2938", "CVE-2010-2942", "CVE-2010-2943", "CVE-2010-3015", "CVE-2010-3066", "CVE-2010-3067", "CVE-2010-3078", "CVE-2010-3086", "CVE-2010-3296", "CVE-2010-3432", "CVE-2010-3442", "CVE-2010-3477", "CVE-2010-3699", "CVE-2010-3858", "CVE-2010-3859", "CVE-2010-3865", "CVE-2010-3876", "CVE-2010-3877", "CVE-2010-3880", "CVE-2010-3904", "CVE-2010-4072", "CVE-2010-4073", "CVE-2010-4075", "CVE-2010-4080", "CVE-2010-4081", "CVE-2010-4083", "CVE-2010-4157", "CVE-2010-4158", "CVE-2010-4161", "CVE-2010-4238", "CVE-2010-4242", "CVE-2010-4243", "CVE-2010-4247", "CVE-2010-4248", "CVE-2010-4249", "CVE-2010-4251", "CVE-2010-4255", "CVE-2010-4263", "CVE-2010-4343", "CVE-2010-4346", "CVE-2010-4526", "CVE-2010-4655", "CVE-2011-0281", "CVE-2011-0282", "CVE-2011-0521", "CVE-2011-0536", "CVE-2011-0710", "CVE-2011-1010", "CVE-2011-1071", "CVE-2011-1090", "CVE-2011-1095", "CVE-2011-1478", "CVE-2011-1494", "CVE-2011-1495", "CVE-2011-1658", "CVE-2011-1659");
  script_bugtraq_id(39042, 42124, 42237, 42477, 42527, 42529, 43022, 43221, 43353, 43480, 43578, 43787, 43806, 43809, 44219, 44301, 44354, 44549, 44630, 44648, 44665, 44754, 44755, 44758, 45004, 45014, 45028, 45029, 45037, 45039, 45054, 45058, 45063, 45064, 45073, 45099, 45118, 45208, 45262, 45323, 45661, 45795, 45972, 45986, 46265, 46271, 46421, 46492, 46563, 46637, 46766, 47056, 47185, 47370);
  script_xref(name:"VMSA", value:"2011-0012");

  script_name(english:"VMSA-2011-0012 : VMware ESXi and ESX updates to third-party libraries and ESX Service Console");
  script_summary(english:"Checks esxupdate output for the patches");

  script_set_attribute(
    attribute:"synopsis",
    value:
"The remote VMware ESXi / ESX host is missing one or more
security-related patches."
  );
  script_set_attribute(
    attribute:"description",
    value:
"a. ESX third-party update for Service Console kernel

   This update takes the console OS kernel package to
   kernel-2.6.18-238.9.1 which resolves multiple security issues.

   The Common Vulnerabilities and Exposures project (cve.mitre.org) has
   assigned the names CVE-2010-1083, CVE-2010-2492, CVE-2010-2798,
   CVE-2010-2938, CVE-2010-2942, CVE-2010-2943, CVE-2010-3015,
   CVE-2010-3066, CVE-2010-3067, CVE-2010-3078, CVE-2010-3086,
   CVE-2010-3296, CVE-2010-3432, CVE-2010-3442, CVE-2010-3477,
   CVE-2010-3699, CVE-2010-3858, CVE-2010-3859, CVE-2010-3865,
   CVE-2010-3876, CVE-2010-3877, CVE-2010-3880, CVE-2010-3904,
   CVE-2010-4072, CVE-2010-4073, CVE-2010-4075, CVE-2010-4080,
   CVE-2010-4081, CVE-2010-4083, CVE-2010-4157, CVE-2010-4158,
   CVE-2010-4161, CVE-2010-4238, CVE-2010-4242, CVE-2010-4243,
   CVE-2010-4247, CVE-2010-4248, CVE-2010-4249, CVE-2010-4251,
   CVE-2010-4255, CVE-2010-4263, CVE-2010-4343, CVE-2010-4346,
   CVE-2010-4526, CVE-2010-4655, CVE-2011-0521, CVE-2011-0710,
   CVE-2011-1010, CVE-2011-1090 and CVE-2011-1478 to these issues.

b. ESX third-party update for Service Console krb5 RPMs

   This patch updates the krb5-libs and krb5-workstation RPMs of the
   console OS to version 1.6.1-55.el5_6.1, which resolves multiple
   security issues.

   The Common Vulnerabilities and Exposures project (cve.mitre.org) has
   assigned the names CVE-2010-1323, CVE-2011-0281, and CVE-2011-0282
   to these issues.

c. ESXi and ESX update to third-party component glibc

   The glibc third-party library is updated to resolve multiple
   security issues.

   The Common Vulnerabilities and Exposures project (cve.mitre.org) has
   assigned the names CVE-2010-0296, CVE-2011-0536, CVE-2011-1071,
   CVE-2011-1095, CVE-2011-1658, and CVE-2011-1659 to these issues.

d. ESX update to third-party drivers mptsas, mpt2sas, and mptspi

   The mptsas, mpt2sas, and mptspi drivers are updated which addresses
   multiple security issues in the mpt2sas driver.

   The Common Vulnerabilities and Exposures project (cve.mitre.org) has
   assigned the names CVE-2011-1494 and CVE-2011-1495 to these issues."
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://lists.vmware.com/pipermail/security-announce/2012/000164.html"
  );
  script_set_attribute(attribute:"solution", value:"Apply the missing patches.");
  script_set_cvss_base_vector("CVSS2#AV:A/AC:M/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploit_framework_core", value:"true");
  script_set_attribute(attribute:"exploited_by_malware", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Reliable Datagram Sockets (RDS) rds_page_copy_user Privilege Escalation');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
  script_set_attribute(attribute:"canvas_package", value:'CANVAS');

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx:3.5");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx:4.0");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esx:4.1");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esxi:3.5");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esxi:4.0");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esxi:4.1");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:esxi:5.0");

  script_set_attribute(attribute:"vuln_publication_date", value:"2010/04/06");
  script_set_attribute(attribute:"patch_publication_date", value:"2011/10/12");
  script_set_attribute(attribute:"plugin_publication_date", value:"2011/10/14");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2011-2021 and is owned by Tenable, Inc. or an Affiliate thereof.");
  script_family(english:"VMware ESX Local Security Checks");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/VMware/release", "Host/VMware/version");
  script_require_ports("Host/VMware/esxupdate", "Host/VMware/esxcli_software_vibs");

  exit(0);
}


include("audit.inc");
include("vmware_esx_packages.inc");


if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
if (!get_kb_item("Host/VMware/release")) audit(AUDIT_OS_NOT, "VMware ESX / ESXi");
if (
  !get_kb_item("Host/VMware/esxcli_software_vibs") &&
  !get_kb_item("Host/VMware/esxupdate")
) audit(AUDIT_PACKAGE_LIST_MISSING);


init_esx_check(date:"2011-10-12");
flag = 0;


if (esx_check(ver:"ESX 3.5.0", patch:"ESX350-201203403-SG")) flag++;

if (
  esx_check(
    ver           : "ESX 4.0",
    patch         : "ESX400-201110401-SG",
    patch_updates : make_list("ESX400-201111201-SG", "ESX400-201203401-SG", "ESX400-201205401-SG", "ESX400-201206401-SG", "ESX400-201209401-SG", "ESX400-201302401-SG", "ESX400-201305401-SG", "ESX400-201310401-SG", "ESX400-201404401-SG", "ESX400-Update04")
  )
) flag++;
if (
  esx_check(
    ver           : "ESX 4.0",
    patch         : "ESX400-201110403-SG",
    patch_updates : make_list("ESX400-201203407-SG", "ESX400-Update04")
  )
) flag++;
if (
  esx_check(
    ver           : "ESX 4.0",
    patch         : "ESX400-201110409-SG",
    patch_updates : make_list("ESX400-Update04")
  )
) flag++;

if (
  esx_check(
    ver           : "ESX 4.1",
    patch         : "ESX410-201110201-SG",
    patch_updates : make_list("ESX410-201201401-SG", "ESX410-201204401-SG", "ESX410-201205401-SG", "ESX410-201206401-SG", "ESX410-201208101-SG", "ESX410-201211401-SG", "ESX410-201301401-SG", "ESX410-201304401-SG", "ESX410-201307401-SG", "ESX410-201312401-SG", "ESX410-201404401-SG", "ESX410-Update02", "ESX410-Update03")
  )
) flag++;
if (
  esx_check(
    ver           : "ESX 4.1",
    patch         : "ESX410-201110224-SG",
    patch_updates : make_list("ESX410-Update02", "ESX410-Update03")
  )
) flag++;

if (esx_check(ver:"ESXi 3.5.0", patch:"ESXe350-201203401-I-SG")) flag++;

if (
  esx_check(
    ver           : "ESXi 4.0",
    patch         : "ESXi400-201110401-SG",
    patch_updates : make_list("ESXi400-201203401-SG", "ESXi400-201205401-SG", "ESXi400-201206401-SG", "ESXi400-201209401-SG", "ESXi400-201302401-SG", "ESXi400-201305401-SG", "ESXi400-201310401-SG", "ESXi400-201404401-SG", "ESXi400-Update04")
  )
) flag++;

if (
  esx_check(
    ver           : "ESXi 4.1",
    patch         : "ESXi410-201110201-SG",
    patch_updates : make_list("ESXi410-201201401-SG", "ESXi410-201204401-SG", "ESXi410-201205401-SG", "ESXi410-201206401-SG", "ESXi410-201208101-SG", "ESXi410-201211401-SG", "ESXi410-201301401-SG", "ESXi410-201304401-SG", "ESXi410-201307401-SG", "ESXi410-201312401-SG", "ESXi410-201404401-SG", "ESXi410-Update02", "ESXi410-Update03")
  )
) flag++;

if (esx_check(ver:"ESXi 5.0", vib:"VMware:esx-base:5.0.0-0.3.515841")) flag++;


if (flag)
{
  if (report_verbosity > 0) security_hole(port:0, extra:esx_report_get());
  else security_hole(0);
  exit(0);
}
else audit(AUDIT_HOST_NOT, "affected");

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/vmware_VMSA-2011-0012.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\vmware_VMSA-2011-0012.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/vmware_VMSA-2011-0012.nasl

Go back to menu.

How to Run


Here is how to run the VMSA-2011-0012 : VMware ESXi and ESX updates to third-party libraries and ESX Service Console as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select VMware ESX Local Security Checks plugin family.
  6. On the right side table select VMSA-2011-0012 : VMware ESXi and ESX updates to third-party libraries and ESX Service Console plugin ID 56508.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl vmware_VMSA-2011-0012.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a vmware_VMSA-2011-0012.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - vmware_VMSA-2011-0012.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state vmware_VMSA-2011-0012.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: VMSA | VMware Security Advisory: See also: Similar and related Nessus plugins:
  • 70880 - ESXi 5.0 < Build 515841 Multiple Vulnerabilities (remote check)
  • 89680 - VMware ESX / ESXi Third-Party Libraries Multiple Vulnerabilities (VMSA-2011-0012) (remote check)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file vmware_VMSA-2011-0012.nasl version 1.58. For more plugins, visit the Nessus Plugin Library.

Go back to menu.