The host is installed with VMWare product(s) that are vulnerable
to local privilege escalation vulnerability.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_vmware_prdts_prv_esc_vuln.nasl 4917 2017-01-02 14:43:20Z cfi $
#
# VMware Product(s) Local Privilege Escalation Vulnerability
#
# Authors: Chandan S <[email protected]>
#
# Copyright:
# Copyright (c) 2008 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_impact = "Successful exploitation could result in arbitrary code execution
on linux based host system by an unprivileged user and can also crash the
application.
Local access is required in order to execute the set-uid vmware-authd and
Also, vix.inGuest.enable configuration must be set.
Impact Level : System";
tag_insight = "Issue is due to local exploitation of an untrusted library path in
vmware-authd.
VMware VIX API (Application Program Interface) fails to adequately bounds
check user supplied input before copying it to insufficient size buffer.";
tag_solution = "Upgrade VMware Product(s) to below version,
VMware Player 1.0.7 build 91707 or 2.0.4 build 93057 or later
www.vmware.com/download/player/
VMware Server 1.0.6 build 91891 or later
www.vmware.com/download/server/
VMware Workstation 5.5.7 build 91707 or 6.0.4 build 93057 or later
www.vmware.com/download/ws/";
tag_summary = "The host is installed with VMWare product(s) that are vulnerable
to local privilege escalation vulnerability.";
tag_affected = "VMware Player 1.x - before 1.0.7 build 91707 on Linux
VMware Player 2.x - before 2.0.4 build 93057 on Linux
VMware Server 1.x - before 1.0.6 build 91891 on Linux
VMware Workstation 5.x - before 5.5.7 build 91707 on Linux
VMware Workstation 6.x - before 6.0.4 build 93057 on Linux";
if(description)
{
script_id(800006);
script_version("$Revision: 4917 $");
script_tag(name:"last_modification", value:"$Date: 2017-01-02 15:43:20 +0100 (Mon, 02 Jan 2017) $");
script_tag(name:"creation_date", value:"2008-09-26 14:12:58 +0200 (Fri, 26 Sep 2008)");
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_cve_id("CVE-2008-0967", "CVE-2008-2100");
script_bugtraq_id(29552);
script_xref(name:"CB-A", value:"08-0093");
script_name("VMware Product(s) Local Privilege Escalation Vulnerability");
script_category(ACT_GATHER_INFO);
script_tag(name:"qod_type", value:"executable_version");
script_copyright("Copyright (C) 2008 Greenbone Networks GmbH");
script_family("Privilege escalation");
script_dependencies("gb_vmware_prdts_detect_lin.nasl");
script_mandatory_keys("VMware/Linux/Installed");
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "summary" , value : tag_summary);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "impact" , value : tag_impact);
script_xref(name : "URL" , value : "http://secunia.com/advisories/30556");
script_xref(name : "URL" , value : "http://www.vmware.com/security/advisories/VMSA-2008-0009.html");
exit(0);
}
if(!get_kb_item("VMware/Linux/Installed")){
exit(0);
}
# VMware Player
playerVer = get_kb_item("VMware/Player/Linux/Ver");
if(playerVer)
{
if(ereg(pattern:"^(1\.0(\.[0-6])?|2\.0(\.[0-3])?)($|[^.0-9])",
string:playerVer)){
security_message(0);
}
exit(0);
}
# VMware Server
serverVer = get_kb_item("VMware/Server/Linux/Ver");
if(serverVer)
{
if(ereg(pattern:"^1\.0(\.[0-5])?($|[^.0-9])", string:serverVer)){
security_message(0);
}
exit(0);
}
# VMware Workstation
wrkstnVer = get_kb_item("VMware/Workstation/Linux/Ver");
if(wrkstnVer)
{
if(ereg(pattern:"^(5\.([0-4](\..*)?|5(\.[0-6])?)|6\.0(\.[0-3])?)($|[^.0-9])",
string:wrkstnVer)){
security_message(0);
}
}