VMware Products Multiple Vulnerabilities (Linux) -june11

2011-06-13T00:00:00
ID OPENVAS:1361412562310801949
Type openvas
Reporter Copyright (c) 2011 Greenbone Networks GmbH
Modified 2018-10-20T00:00:00

Description

The host is installed with VMWare product(s) which are vulnerable to multiple vulnerabilities.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_vmware_prdts_mult_vuln_lin_jun11.nasl 11997 2018-10-20 11:59:41Z mmartin $
#
# VMware Products Multiple Vulnerabilities (Linux) -june11
#
# Authors:
# Antu Sanadi <santu@secpod.com>
#
# Copyright:
# Copyright (c) 2011 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# 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.801949");
  script_version("$Revision: 11997 $");
  script_tag(name:"last_modification", value:"$Date: 2018-10-20 13:59:41 +0200 (Sat, 20 Oct 2018) $");
  script_tag(name:"creation_date", value:"2011-06-13 15:28:04 +0200 (Mon, 13 Jun 2011)");
  script_cve_id("CVE-2011-1787", "CVE-2011-2146");
  script_tag(name:"cvss_base", value:"6.9");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:C/I:C/A:C");
  script_name("VMware Products Multiple Vulnerabilities (Linux) -june11");

  script_xref(name:"URL", value:"http://www.vmware.com/security/advisories/VMSA-2011-0009.html");
  script_xref(name:"URL", value:"http://lists.vmware.com/pipermail/security-announce/2011/000141.html");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("gb_vmware_prdts_detect_lin.nasl");
  script_mandatory_keys("VMware/Linux/Installed");
  script_tag(name:"impact", value:"Successful exploitation allows attackers to gain privileges on the guest OS.");
  script_tag(name:"affected", value:"VMware ESX 3.0.3 to 4.1
  VMware Player 3.1.x before 3.1.4
  VMware Workstation 7.1.x before 7.1.4 on Linux.");
  script_tag(name:"insight", value:"Multiple flaws are due to,

  - An information disclosure vulnerability in 'Mount.vmhgfs', allows guest OS
    users to determine the existence of host OS files and directories via
    unspecified vectors.

  - A race condition privilege escalation in 'Mount.vmhgfs' via a race condition,
    that allows guest OS users to gain privileges on the guest OS by mounting a
    file system on top of an arbitrary directory.");
  script_tag(name:"summary", value:"The host is installed with VMWare product(s) which are vulnerable
  to multiple vulnerabilities.");
  script_tag(name:"solution", value:"Apply the patch or upgrade to player 3.1.4 or later,
  Apply the patch or upgrade to VMware Workstation 7.1.4 or later,
  Apply the patch for VMware ESX,
  *****
  NOTE: Ignore this warning if above mentioned patch is already applied.
  *****");
  script_xref(name:"URL", value:"http://www.vmware.com/products/player/");
  script_xref(name:"URL", value:"http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/3_0");
  script_xref(name:"URL", value:"http://downloads.vmware.com/d/info/desktop_downloads/vmware_workstation/7_0");
  script_xref(name:"URL", value:"http://kb.vmware.com/kb/1035110");
  script_xref(name:"URL", value:"https://hostupdate.vmware.com/software/VUM/OFFLINE/release-275-20110420-062017/ESX410-201104001.z");


  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


include("version_func.inc");

if(!get_kb_item("VMware/Linux/Installed")){
  exit(0);
}

# VMware Player
vmpVer = get_kb_item("VMware/Player/Linux/Ver");
if(vmpVer)
{
  if(version_in_range(version:vmpVer, test_version:"3.1.0", test_version2:"3.1.3"))
  {
    security_message( port: 0, data: "The target host was found to be vulnerable" );
    exit(0);
  }
}

# VMware Workstation
vmwtnVer = get_kb_item("VMware/Workstation/Linux/Ver");
if(vmwtnVer)
{
  if(version_in_range(version:vmwtnVer, test_version:"7.1.0", test_version2:"7.1.3")){
    security_message( port: 0, data: "The target host was found to be vulnerable" );
  }
}

# VMware ESX
vmesx = get_kb_item("VMware/Esx/Linux/Ver");
if(vmesx)
{
  if(version_in_range(version:vmesx, test_version:"3.0.3", test_version2:"4.1.0")){
    security_message( port: 0, data: "The target host was found to be vulnerable" );
  }
}