The host is installed with VMWare products tools local privilege
escalation vulnerability.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_vmware_prdts_tools_loc_prev_escl_vuln_lin.nasl 5388 2017-02-21 15:13:30Z teissa $
#
# VMware Products Tools Local Privilege Escalation Vulnerability (Linux)
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2010 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.
###############################################################################
tag_solution =
"Upgrade workstation 6.5.5 build 328052 or 7.1.2 build 301548
http://www.vmware.com/products/ws/
Upgrade to player 2.5.5 build 328052 to 3.1.2 build 301548
http://www.vmware.com/products/player/
For VMware Server version 2.x ,
No solution or patch was made available for at least one year
since disclosure of this vulnerability. Likely none will be provided anymore.
General solution options are to upgrade to a newer release, disable respective
features, remove the product or replace the product by another one.";
tag_impact = "Successful exploitation will allow attacker to execute arbitrary
code with elevated privileges, this may aid in other attacks.
Impact Level: System/Application";
tag_summary = "The host is installed with VMWare products tools local privilege
escalation vulnerability.";
tag_affected = "VMware Server version 2.x
VMware Player 2.5.x before 2.5.5 build 328052 and 3.1.x before 3.1.2 build 301548
VMware Workstation 6.5.x before 6.5.5 build 328052 and 7.x before 7.1.2 build 301548";
tag_insight = "The flaw is due to an error in Tools update functionality, which
allows host OS users to gain privileges on the guest OS via unspecified vectors.";
if(description)
{
script_id(801560);
script_version("$Revision: 5388 $");
script_tag(name:"last_modification", value:"$Date: 2017-02-21 16:13:30 +0100 (Tue, 21 Feb 2017) $");
script_tag(name:"creation_date", value:"2010-12-13 15:28:53 +0100 (Mon, 13 Dec 2010)");
script_cve_id("CVE-2010-4297");
script_tag(name:"cvss_base", value:"7.2");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:C/I:C/A:C");
script_name("VMware Products Tools Local Privilege Escalation Vulnerability (Linux)");
script_xref(name : "URL" , value : "http://www.securityfocus.com/archive/1/514995");
script_xref(name : "URL" , value : "http://www.vmware.com/security/advisories/VMSA-2010-0018.html");
script_xref(name : "URL" , value : "http://lists.vmware.com/pipermail/security-announce/2010/000112.html");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (c) 2010 Greenbone Networks GmbH");
script_family("General");
script_dependencies("gb_vmware_prdts_detect_lin.nasl");
script_require_keys("VMware/Linux/Installed");
script_tag(name : "impact" , value : tag_impact);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "summary" , value : tag_summary);
script_tag(name : "solution" , value : tag_solution);
script_tag(name:"solution_type", value:"WillNotFix");
script_tag(name:"qod_type", value:"executable_version");
exit(0);
}
include("version_func.inc");
if(!get_kb_item("VMware/Linux/Installed")){
exit(0);
}
# Check for VMware Player
vmplayerVer = get_kb_item("VMware/Player/Linux/Ver");
if(vmplayerVer != NULL )
{
if(version_in_range(version:vmplayerVer, test_version:"2.5", test_version2:"2.5.4") ||
version_in_range(version:vmplayerVer, test_version:"3.0", test_version2:"3.1.1"))
{
security_message(0);
exit(0);
}
}
#Check for VMware Workstation
vmworkstnVer = get_kb_item("VMware/Workstation/Linux/Ver");
if(vmworkstnVer != NULL)
{
if(version_in_range(version:vmworkstnVer, test_version:"6.5", test_version2:"6.5.4")||
version_in_range(version:vmworkstnVer, test_version:"7.0", test_version2:"7.1.1"))
{
security_message(0);
exit(0);
}
}
# VMware Server
vmserVer = get_kb_item("VMware/Server/Linux/Ver");
if(vmserVer)
{
if(vmserVer =~ "^2.*"){
security_message(0);
}
}