Lucene search
K

MS Windows HID Functionality(Over USB) Code Execution Vulnerability

🗓️ 31 Jan 2011 00:00:00Reported by Copyright (c) 2011 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 385 Views

MS Windows HID Functionality(Over USB) Code Execution Vulnerability. Vulnerability allows user-assisted attackers to execute arbitrary programs via crafted USB data

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2011-0638
25 Jan 201100:00
cve
Cvelist
CVE-2011-0638
25 Jan 201100:00
cvelist
EUVD
EUVD-2011-0656
7 Oct 202500:30
euvd
Kaspersky
KLA12360 ACE vulnerability in Microsoft Windows
24 Jan 201100:00
kaspersky
NVD
CVE-2011-0638
25 Jan 201101:00
nvd
OpenVAS
Microsoft Windows HID Functionality (Over USB) Code Execution Vulnerability (Jan 2011)
31 Jan 201100:00
openvas
Prion
Null pointer dereference
25 Jan 201101:00
prion
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ms_windows_hid_over_usb_code_exec_vuln.nasl 8724 2018-02-08 15:02:56Z cfischer $
#
# MS Windows HID Functionality(Over USB) Code Execution Vulnerability
#
# Authors:
# Antu Sanadi <[email protected]>
#
# 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.
###############################################################################

tag_impact = "Successful exploitation will allows user-assisted attackers to
execute arbitrary programs via crafted USB data.

Impact Level: System/Application";

tag_affected = "Microsoft Windows 7

Microsoft Windows XP Service Pack 2 and prior

Microsoft Windows 2k Service Pack 4 and prior

Microsoft Windows 2K3 Service Pack 2 and prior

Microsoft Windows 2k8 Service Pack 4 and prior

Microsoft Windows Vista service Pack 2 and prior";

tag_insight = "The flaw is due to error in USB device driver, which does not
properly warn the user before enabling additional Human Interface Device (HID)
functionality.";

tag_solution = "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_summary = "This host is installed with USB device driver software and is
prone to code execution vulnerability.";

if(description)
{
  script_id(801581);
  script_version("$Revision: 8724 $");
  script_tag(name:"last_modification", value:"$Date: 2018-02-08 16:02:56 +0100 (Thu, 08 Feb 2018) $");
  script_tag(name:"creation_date", value:"2011-01-31 05:37:34 +0100 (Mon, 31 Jan 2011)");
  script_cve_id("CVE-2011-0638");
  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("MS Windows HID Functionality(Over USB) Code Execution Vulnerability");
  script_xref(name : "URL" , value : "http://www.cs.gmu.edu/~astavrou/publications.html");
  script_xref(name : "URL" , value : "http://news.cnet.com/8301-27080_3-20028919-245.html");
  script_xref(name : "URL" , value : "http://www.blackhat.com/html/bh-dc-11/bh-dc-11-briefings.html#Stavrou");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
  script_family("Windows");
  script_dependencies("secpod_reg_enum.nasl");
  script_require_ports(139, 445);
  script_mandatory_keys("SMB/WindowsVersion");

  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);
  script_tag(name:"solution_type", value:"WillNotFix");
  exit(0);
}


include("smb_nt.inc");
include("secpod_smb_func.inc");

## Get System Path
sysPath = smb_get_systemroot();
if(!sysPath ){
  exit(0);
}

dllPath = sysPath + "\system32\hidserv.dll";
share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:dllPath);
file = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:dllPath);

## Get Version from hidserv.dll file
dllVer = GetVer(file:file, share:share);

## Check for the existence of file
if(dllVer){
  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