VMware ESX sudo Package Multiple Vulnerabilities (VMSA-2013-0007) (remote check)

high Nessus Plugin ID 89665
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote VMware ESX / ESXi host is missing a security-related patch.

Description

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)

Solution

Apply the appropriate patch according to the vendor advisory that pertains to ESX version 4.0 / 4.1.

See Also

https://www.vmware.com/security/advisories/VMSA-2013-0007.html

Plugin Details

Severity: High

ID: 89665

File Name: vmware_esx_VMSA-2013-0007_remote.nasl

Version: 1.4

Type: remote

Family: Misc.

Published: 3/4/2016

Updated: 11/15/2018

Dependencies: vmware_vsphere_detect.nbin

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: E:U/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/o:vmware:esx

Required KB Items: Host/VMware/version, Host/VMware/release

Exploit Ease: No known exploits are available

Patch Publication Date: 5/30/2013

Vulnerability Publication Date: 5/30/2013

Reference Information

CVE: CVE-2012-2337, CVE-2012-3440

BID: 54868, 53569

VMSA: 2013-0007