Vulnerabilities > CVE-2010-3973 - Code Injection vulnerability in Microsoft WMI Administrative Tools
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
The WMITools ActiveX control in WBEMSingleView.ocx 1.50.1131.0 in Microsoft WMI Administrative Tools 1.1 and earlier in Microsoft Windows XP SP2 and SP3 allows remote attackers to execute arbitrary code via a crafted argument to the AddContextRef method, possibly an untrusted pointer dereference, aka "Microsoft WMITools ActiveX Control Vulnerability."
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leverage Executable Code in Non-Executable Files An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
- Manipulating User-Controlled Variables This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Exploit-Db
description Microsoft WMI Administration Tools ActiveX Buffer Overflow. CVE-2010-3973. Remote exploit for windows platform id EDB-ID:16516 last seen 2016-02-02 modified 2011-01-14 published 2011-01-14 reporter metasploit source https://www.exploit-db.com/download/16516/ title Microsoft WMI Administration Tools ActiveX Buffer Overflow description WMITools ActiveX - Remote Command Execution Exploit (0day). CVE-2010-3973,CVE-2010-4588. Remote exploit for windows platform file exploits/windows/remote/15809.html id EDB-ID:15809 last seen 2016-02-01 modified 2010-12-22 platform windows port published 2010-12-22 reporter WooYun source https://www.exploit-db.com/download/15809/ title WMITools ActiveX - Remote Command Execution Exploit 0day type remote
Metasploit
description | This module exploits a memory trust issue in the Microsoft WMI Administration tools ActiveX control. When processing a specially crafted HTML page, the WEBSingleView.ocx ActiveX Control (1.50.1131.0) will treat the 'lCtxHandle' parameter to the 'AddContextRef' and 'ReleaseContext' methods as a trusted pointer. It makes an indirect call via this pointer which leads to arbitrary code execution. This exploit utilizes a combination of heap spraying and the .NET 2.0 'mscorie.dll' module to bypass DEP and ASLR. This module does not opt-in to ASLR. As such, this module should be reliable on all Windows versions. The WMI Administrative Tools are a standalone download & install (linked in the references). |
id | MSF:EXPLOIT/WINDOWS/BROWSER/WMI_ADMINTOOLS |
last seen | 2020-06-14 |
modified | 2017-09-14 |
published | 2010-12-22 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/browser/wmi_admintools.rb |
title | Microsoft WMI Administration Tools ActiveX Buffer Overflow |
Msbulletin
bulletin_id | MS11-027 |
bulletin_url | |
date | 2011-04-12T00:00:00 |
impact | Remote Code Execution |
knowledgebase_id | 2508272 |
knowledgebase_url | |
severity | Critical |
title | Cumulative Security Update of ActiveX Kill Bits |
Nessus
NASL family | Windows : Microsoft Bulletins |
NASL id | SMB_NT_MS11-027.NASL |
description | The remote Windows host has one or more ActiveX controls installed that could be abused to execute arbitrary code remotely if a user can be tricked into viewing a malicious web page using Internet Explorer. Three of these controls are from Microsoft itself while the others are from third-party vendors that have asked Microsoft to prevent their controls from being run in Internet Explorer. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 53384 |
published | 2011-04-13 |
reporter | This script is Copyright (C) 2011-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/53384 |
title | MS11-027: Cumulative Security Update of ActiveX Kill Bits (2508272) |
code |
|
Oval
accepted | 2014-05-05T04:00:11.435-04:00 | ||||||||
class | vulnerability | ||||||||
contributors |
| ||||||||
definition_extensions |
| ||||||||
description | The WMITools ActiveX control in WBEMSingleView.ocx 1.50.1131.0 in Microsoft WMI Administrative Tools 1.1 and earlier in Microsoft Windows XP SP2 and SP3 allows remote attackers to execute arbitrary code via a crafted argument to the AddContextRef method, possibly an untrusted pointer dereference, aka "Microsoft WMITools ActiveX Control Vulnerability." | ||||||||
family | windows | ||||||||
id | oval:org.mitre.oval:def:12475 | ||||||||
status | accepted | ||||||||
submitted | 2010-02-08T13:00:00 | ||||||||
title | Microsoft WMITools ActiveX Control Vulnerability | ||||||||
version | 26 |
Saint
bid | 45546 |
description | Microsoft WMI Administrative Tools ActiveX Control AddContextRef vulnerability |
id | win_patch_wbemsingleview |
osvdb | 69942 |
title | microsoft_wmi_admin_tools_addcontextref |
type | client |
References
- http://blogs.technet.com/b/srd/archive/2011/01/07/assessing-the-risk-of-public-issues-currently-being-tracked-by-the-msrc.aspx
- http://blogs.technet.com/b/srd/archive/2011/01/07/assessing-the-risk-of-public-issues-currently-being-tracked-by-the-msrc.aspx
- http://secunia.com/advisories/42693
- http://secunia.com/advisories/42693
- http://www.exploit-db.com/exploits/15809
- http://www.exploit-db.com/exploits/15809
- http://www.kb.cert.org/vuls/id/725596
- http://www.kb.cert.org/vuls/id/725596
- http://www.securityfocus.com/bid/45546
- http://www.securityfocus.com/bid/45546
- http://www.vupen.com/english/advisories/2010/3301
- http://www.vupen.com/english/advisories/2010/3301
- http://www.wooyun.org/bug.php?action=view&id=1006
- http://www.wooyun.org/bug.php?action=view&id=1006
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2011/ms11-027
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2011/ms11-027
- https://exchange.xforce.ibmcloud.com/vulnerabilities/64250
- https://exchange.xforce.ibmcloud.com/vulnerabilities/64250
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12475
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12475