McAfee Virtual Technician ActiveX Control GetObject() Method Remote Command Execution (SB10028) - Nessus

High   Plugin ID: 61719

This page contains detailed information about the McAfee Virtual Technician ActiveX Control GetObject() Method Remote Command Execution (SB10028) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 61719
Name: McAfee Virtual Technician ActiveX Control GetObject() Method Remote Command Execution (SB10028)
Filename: mcafee_virtual_technician_activex.nasl
Vulnerability Published: 2012-04-30
This Plugin Published: 2012-08-29
Last Modification Time: 2018-07-14
Plugin Version: 1.6
Plugin Type: local
Plugin Family: Windows
Dependencies: smb_hotfixes.nasl
Required KB Items [?]: SMB/Registry/Enumerated

Vulnerability Information


Severity: High
Vulnerability Published: 2012-04-30
Patch Published: 2012-05-04
CVE [?]: CVE-2012-4598
CPE [?]: cpe:/a:mcafee:mcafee_virtual_technician

Synopsis

An ActiveX control installed on the remote Windows host can be abused to execute arbitrary code.

Description

The remote Windows host has a version of the McAfee Virtual Technician / ePolicy Orchestrator ActiveX control that allows execution of arbitrary code. The 'GetObject()' method can be used to load any class on the underlying operating system. For example, by loading the 'WScript.Shell' class, attackers can then run arbitrary operating system commands.

If an attacker can trick a user on the affected host into viewing a specially crafted HTML document, he can leverage this issue to execute arbitrary commands on the affected system subject to the user's privileges.

Solution

Upgrade to McAfee Virtual Technician 6.4 / ePolicy Orchestrator 1.0.8 or later.

Public Exploits


Target Network Port(s): 139, 445
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the McAfee Virtual Technician ActiveX Control GetObject() Method Remote Command Execution (SB10028) vulnerability:

  1. Metasploit: exploit/windows/browser/mcafee_mvt_exec
    [McAfee Virtual Technician MVTControl 6.3.0.1911 GetObject Vulnerability]
  2. Exploit-DB: exploits/windows/remote/18805.txt
    [EDB-18805: McAfee Virtual Technician 6.3.0.1911 MVT.MVTControl.6300 - ActiveX 'GetObject()' Code Execution]
  3. Exploit-DB: exploits/windows/remote/18812.rb
    [EDB-18812: McAfee Virtual Technician MVTControl 6.3.0.1911 - GetObject (Metasploit)]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:M/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:9.3 (High)
Impact Subscore:10.0
Exploitability Subscore:8.6
CVSS Temporal Score:7.7 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.7 (High)

Go back to menu.

Plugin Source


This is the mcafee_virtual_technician_activex.nasl nessus plugin source code. This script is Copyright (C) 2012-2018 Tenable Network Security, Inc.

#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


if (description)
{
  script_id(61719);
  script_version("1.6");
  script_cvs_date("Date: 2018/07/14  1:59:37");

  script_cve_id("CVE-2012-4598");
  script_bugtraq_id(53304);
  script_xref(name:"EDB-ID", value:"18805");
  script_xref(name:"EDB-ID", value:"18812");
  script_xref(name:"MCAFEE-SB", value:"SB10028");

  script_name(english:"McAfee Virtual Technician ActiveX Control GetObject() Method Remote Command Execution (SB10028)");
  script_summary(english:"Checks control's file version");

  script_set_attribute(
    attribute:"synopsis",
    value:
"An ActiveX control installed on the remote Windows host can be abused
to execute arbitrary code."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The remote Windows host has a version of the McAfee Virtual Technician
/ ePolicy Orchestrator ActiveX control that allows execution of
arbitrary code.  The 'GetObject()' method can be used to load any class
on the underlying operating system.  For example, by loading the
'WScript.Shell' class, attackers can then run arbitrary operating system
commands.

If an attacker can trick a user on the affected host into viewing a
specially crafted HTML document, he can leverage this issue to execute
arbitrary commands on the affected system subject to the user's
privileges."
  );
  script_set_attribute(attribute:"see_also", value:"https://kc.mcafee.com/corporate/index?page=content&id=SB10028");
  script_set_attribute(
    attribute:"solution",
    value:"
Upgrade to McAfee Virtual Technician 6.4 / ePolicy Orchestrator 1.0.8 or
later."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'McAfee Virtual Technician MVTControl 6.3.0.1911 GetObject Vulnerability');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2012/04/30");
  script_set_attribute(attribute:"patch_publication_date", value:"2012/05/04");
  script_set_attribute(attribute:"plugin_publication_date", value:"2012/08/29");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:mcafee:mcafee_virtual_technician");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

  script_copyright(english:"This script is Copyright (C) 2012-2018 Tenable Network Security, Inc.");

  script_dependencies("smb_hotfixes.nasl");
  script_require_keys("SMB/Registry/Enumerated");
  script_require_ports(139, 445);

  exit(0);
}

include("audit.inc");
include("smb_func.inc");
include("smb_hotfixes.inc");
include("smb_hotfixes_fcheck.inc");
include("smb_activex_func.inc");
include("smb_reg_query.inc");
include("misc_func.inc");

get_kb_item_or_exit("SMB/Registry/Enumerated");

registry_init();
hklm = registry_hive_connect(hive:HKEY_LOCAL_MACHINE, exit_on_fail:TRUE);
key = 'SOFTWARE\\Classes\\MVT.MVTControl\\CLSID\\';

clsid = get_registry_value(handle:hklm, item:key);

RegCloseKey(handle:hklm);

close_registry();

if (isnull(clsid)) audit(AUDIT_NOT_INST, 'McAfee Virtual Technician');

if (activex_init() != ACX_OK) exit(1, "activex_init() failed.");

info = '';

vuln_version = '6.3.0.1911';
fixed_version = '6.4';

file = activex_get_filename(clsid:clsid);

if (isnull(file))
{
  activex_end();
  exit(1, "activex_get_filename() returned NULL.");
}

if (!file)
{
  activex_end();
  audit(AUDIT_ACTIVEX_NOT_FOUND, clsid);
}

# Get its version.
version = activex_get_fileversion(clsid:clsid);
if (!version)
{
  activex_end();
  audit(AUDIT_VER_FAIL, file);
}

if(ver_compare(ver:version, fix:vuln_version) <= 0)
{
  if (report_paranoia > 1 || activex_get_killbit(clsid:clsid) == 0)
  {
      info += '\n  Class identifier  : ' + clsid +
              '\n  Filename          : ' + file +
              '\n  Installed version : ' + version +
              '\n  Fixed version     : ' + fixed_version + '\n';
   }
}

activex_end();

# Report findings.
if (info)
{
  if (report_paranoia > 1)
  {
    report = info +
      '\n' +
      'Note, though, that Nessus did not check whether the kill bit was\n' +
      "set for the control's CLSID because of the Report Paranoia setting" + '\n' +
      'in effect when this scan was run.\n';
  }
  else
  {
    report = info +
      '\n' +
      'Moreover, its kill bit is not set so it is accessible via Internet\n' +
      'Explorer.\n';
  }

  if (report_verbosity > 0) security_hole(port:kb_smb_transport(), extra:report);
  else security_hole(kb_smb_transport());

  exit(0);
}
else
{
  if(ver_compare(ver:version, fix:vuln_version) > 0)
    audit(AUDIT_INST_VER_NOT_VULN, version, file);
  else
    exit(0, "The " + file + " control is installed, but its kill bit is set.");
}

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/mcafee_virtual_technician_activex.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\mcafee_virtual_technician_activex.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/mcafee_virtual_technician_activex.nasl

Go back to menu.

How to Run


Here is how to run the McAfee Virtual Technician ActiveX Control GetObject() Method Remote Command Execution (SB10028) as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Windows plugin family.
  6. On the right side table select McAfee Virtual Technician ActiveX Control GetObject() Method Remote Command Execution (SB10028) plugin ID 61719.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl mcafee_virtual_technician_activex.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a mcafee_virtual_technician_activex.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - mcafee_virtual_technician_activex.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state mcafee_virtual_technician_activex.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: MCAFEE-SB | McAfee Security Bulletin:
  • SB10028
See also: Similar and related Nessus plugins:
  • 81247 - McAfee DLPe Agent Privilege Escalation Vulnerability on Windows XP (SB10097)
  • 135972 - McAfee Endpoint Security for Windows 10.5.x < 10.5.5 Security Hotfix 129256 / 10.6.x < 10.6.1 April 2020 Update / 10.7.x < 10.7.0 April 2020 Update Multiple Vulnerabilities (SB10309)
  • 67120 - McAfee ePO Extension for McAfee Agent Multiple Blind SQL Injection (SB10043)
  • 88624 - McAfee ePolicy Orchestrator Java Object Deserialization RCE
  • 141833 - McAfee ePolicy Orchestrator (SB10332)
  • 95469 - McAfee Host Intrusion Prevention Services < 8.0.0.3828 Authentication Bypass (SB10173)
  • 57713 - McAfee Security-as-a-Service (SaaS) mcCIOScn.dll ShowReport Method Remote Command Execution
  • 103529 - McAfee Security Scan Plus < 3.11.599.3 LiveSafe Non-certificate-based Authentication HTTP Backend-response Handling MitM Registry Value Manipulation (TS102723)
  • 102355 - McAfee Security Scan Plus < 3.11.587.1 Protection Level UI Element Download MitM Command Execution (TS102714)
  • 65942 - McAfee Virtual Technician McHealthCheck.dll ActiveX Control Save() Method Arbitrary File Overwrite (SB10040)
  • 89940 - McAfee VirusScan Enterprise < 8.8 Patch 7 Protected Resource Access Bypass (SB10151)
  • 91310 - McAfee VirusScan Enterprise < 8.8 Patch 6/7 Hotfix 1123565 Protection Bypass Vulnerability (SB10158)
  • 24012 - Acer LunchApp.APlunch ActiveX Arbitrary Command Execution
  • 34393 - CA BrightStor ARCserve Backup RPC Interface (asdbapi.dll) Traversal Arbitrary Command Execution
  • 62392 - Flexera AdminStudio LaunchProcess Function ActiveX Control Remote Command Execution
  • 80306 - Git for Windows .git/config Command Execution
  • 102494 - Git for Windows 2.7.x < 2.7.6 / 2.8.x < 2.8.6 / 2.9.x < 2.9.5 / 2.10.x < 2.10.4 / 2.11.x < 2.11.13 / 2.12.x < 2.12.4 / 2.13.x < 2.13.5 / 2.14.x < 2.14.1 Malicious SSH URL Command Execution
  • 80202 - GitHub for Windows < 2.6.5 .git/config Command Execution
  • 35689 - Google Chrome < 1.0.154.48 Cross-browser Command Execution
  • 38664 - Intel Common Base Agent CreateProcessA() Function Remote Command Execution
  • 66840 - Siemens Solid Edge WPHelper ActiveX Control OpenInEditor Method Arbitrary Command Execution
  • 80333 - Microsoft Visual Studio .gitconfig Command Execution

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file mcafee_virtual_technician_activex.nasl version 1.6. For more plugins, visit the Nessus Plugin Library.

Go back to menu.