Lucene search
K

VMware Open Virtual Machine Tools File Corruption Vulnerability

🗓️ 13 Apr 2011 00:00:00Reported by Copyright (c) 2011 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 32 Views

VMware Open Virtual Machine Tools File Corruption Vulnerability. Allows local users to trigger file corruption via VMware process with small resource limits

Related
Refs
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2011-1681
10 Apr 201102:55
attackerkb
CVE
CVE-2011-1681
10 Apr 201101:29
cve
Cvelist
CVE-2011-1681
10 Apr 201101:29
cvelist
Debian CVE
CVE-2011-1681
10 Apr 201101:29
debiancve
EUVD
EUVD-2011-1681
7 Oct 202500:30
euvd
NVD
CVE-2011-1681
10 Apr 201102:55
nvd
OpenVAS
VMware Open Virtual Machine Tools File Corruption Vulnerability
13 Apr 201100:00
openvas
OSV
DEBIAN-CVE-2011-1681
10 Apr 201102:55
osv
OSV
UBUNTU-CVE-2011-1681
10 Apr 201102:55
osv
Prion
Design/Logic Flaw
10 Apr 201102:55
prion
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_vmware_ovm_tools_file_corruption_vuln.nasl 7029 2017-08-31 11:51:40Z teissa $
#
# VMware Open Virtual Machine Tools File Corruption Vulnerability
#
# Authors:
# Antu Sanadi <[email protected]>
#
# 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.
###############################################################################

tag_impact = "Successful exploitation will allows local users to trigger
corruption of this file via a process with a small RLIMIT_FSIZE value.";

tag_affected = "VMware Open Virtual Machine Tools version 8.4.2-261024 and
prior.";

tag_insight = "The flaw is due to an error in 'vmware-hgfsmounter', which
attempts to append to the '/etc/mtab' file without first checking whether
resource limits would interfere.";

tag_solution = "Upgrade to version 2011.05.27 or later,
For updates refer to http://sourceforge.net/projects/open-vm-tools/files/open-vm-tools";

tag_summary = "This host is installed with VMware Open Virtual Machine Tools
and is prone to file corruption vulnerability.";

if(description)
{
  script_id(801917);
  script_version("$Revision: 7029 $");
  script_tag(name:"last_modification", value:"$Date: 2017-08-31 13:51:40 +0200 (Thu, 31 Aug 2017) $");
  script_tag(name:"creation_date", value:"2011-04-13 15:50:09 +0200 (Wed, 13 Apr 2011)");
  script_cve_id("CVE-2011-1681");
  script_tag(name:"cvss_base", value:"3.3");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:P/I:P/A:N");
  script_name("VMware Open Virtual Machine Tools File Corruption Vulnerability");
  script_xref(name : "URL" , value : "http://openwall.com/lists/oss-security/2011/03/31/4");
  script_xref(name : "URL" , value : "http://openwall.com/lists/oss-security/2011/03/22/6");
  script_xref(name : "URL" , value : "http://openwall.com/lists/oss-security/2011/03/05/7");
  script_xref(name : "URL" , value : "http://openwall.com/lists/oss-security/2011/03/04/10");

  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_ovm_tools_detect_lin.nasl");
  script_mandatory_keys("VMware/OVM/Tools/Ver");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}


include("version_func.inc");

## Get the version from kb
vmVer = get_kb_item("VMware/OVM/Tools/Ver");
if(!vmVer){
  exit(0);
}

## match the version without build
version = eregmatch(pattern:"([0-9]+\.[0-9]+\.[0-9]+)", string:vmVer);
if(version[1])
{
  ## Get the build version
  buildVer = eregmatch(pattern:"build ([0-9]+)", string:vmVer);
  if(buildVer[1]){
    ver = version[1] +"." + buildVer[1];
  }
  else {
    ver = version[1];
  }

  ## Check the version is less or equal to 8.4.2.261024
  if(version_is_less_equal(version:ver, test_version:"8.4.2.261024")){
    security_message(0);
  }
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation