NTR ActiveX Control < 2.0.4.8 Multiple Vulnerabilities - Nessus

High   Plugin ID: 57556

This page contains detailed information about the NTR ActiveX Control < 2.0.4.8 Multiple Vulnerabilities Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 57556
Name: NTR ActiveX Control < 2.0.4.8 Multiple Vulnerabilities
Filename: ntr_2_0_4_8_activex.nasl
Vulnerability Published: 2012-01-11
This Plugin Published: 2012-01-16
Last Modification Time: 2018-11-15
Plugin Version: 1.16
Plugin Type: local
Plugin Family: Windows
Dependencies: smb_hotfixes.nasl
Required KB Items [?]: SMB/Registry/Enumerated

Vulnerability Information


Severity: High
Vulnerability Published: 2012-01-11
Patch Published: 2011-12-27
CVE [?]: CVE-2012-0266, CVE-2012-0267
CPE [?]: N/A
Exploited by Malware: True

Synopsis

An ActiveX control installed on the remote Windows host is affected by multiple vulnerabilities.

Description

At least one version of the NTR ActiveX control installed on the remote Windows host is earlier than 2.0.4.8. As such, it reportedly is affected by the following vulnerabilities :

- Four stack-based buffer overflows exist involving the 'bstrUrl' parameter of the 'StartModule()' method, the 'bstrParams' parameter of the 'Check()' method, and the 'bstrUrl' parameter of the 'Download()' and 'DownloadModule()' methods. (CVE-2012-0266)

- An input validation vulnerability exists involving the 'iModule' parameter of the 'StopModule()' method. (CVE-2012-0267)

If an attacker can trick a user on the affected host into visiting a specially crafted web page, these issues could be leveraged to execute arbitrary code on the host subject to the user's privileges.

Solution

Upgrade affected installs to version 2.0.4.8 or later as that reportedly resolves the vulnerability.

Public Exploits


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

Here's the list of publicly known exploits and PoCs for verifying the NTR ActiveX Control < 2.0.4.8 Multiple Vulnerabilities vulnerability:

  1. Metasploit: exploit/windows/browser/ntr_activex_stopmodule
    [NTR ActiveX Control StopModule() Remote Code Execution]
  2. Metasploit: exploit/windows/browser/ntr_activex_check_bof
    [NTR ActiveX Control Check() Method Buffer Overflow]
  3. Exploit-DB: exploits/windows/remote/21839.rb
    [EDB-21839: NTR - ActiveX Control 'StopModule()' Remote Code Execution (Metasploit)]
  4. Exploit-DB: exploits/windows/remote/21841.rb
    [EDB-21841: NTR - ActiveX Control 'Check()' Method Buffer Overflow (Metasploit)]
  5. Immunity Canvas: White_Phosphorus

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:H/RL:OF/RC:C
CVSS Base Score:9.3 (High)
Impact Subscore:10.0
Exploitability Subscore:8.6
CVSS Temporal Score:8.1 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.1 (High)

Go back to menu.

Plugin Source


This is the ntr_2_0_4_8_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(57556);
  script_version("1.16");
  script_cvs_date("Date: 2018/11/15 20:50:27");

  script_cve_id("CVE-2012-0266", "CVE-2012-0267");
  script_bugtraq_id(51374);
  script_xref(name:"Secunia", value:"45166");

  script_name(english:"NTR ActiveX Control < 2.0.4.8 Multiple Vulnerabilities");
  script_summary(english:"Checks control's version / kill bit");

  script_set_attribute(
    attribute:"synopsis",
    value:
"An ActiveX control installed on the remote Windows host is affected
by multiple vulnerabilities."
  );
  script_set_attribute(
    attribute:"description",
    value:
"At least one version of the NTR ActiveX control installed on the
remote Windows host is earlier than 2.0.4.8.  As such, it reportedly
is affected by the following vulnerabilities :

  - Four stack-based buffer overflows exist involving the
    'bstrUrl' parameter of the 'StartModule()' method, the
    'bstrParams' parameter of the 'Check()' method, and the
    'bstrUrl' parameter of the 'Download()' and
    'DownloadModule()' methods. (CVE-2012-0266)

  - An input validation vulnerability exists involving the
    'iModule' parameter of the 'StopModule()' method.
    (CVE-2012-0267)

If an attacker can trick a user on the affected host into visiting a
specially crafted web page, these issues could be leveraged to
execute arbitrary code on the host subject to the user's privileges."
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://secuniaresearch.flexerasoftware.com/secunia_research/2012-1/"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://secuniaresearch.flexerasoftware.com/secunia_research/2012-2/"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://www.securityfocus.com/archive/1/521210/30/0/threaded"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://www.securityfocus.com/archive/1/521211/30/0/threaded"
  );
  script_set_attribute(
    attribute:"solution",
    value:
"Upgrade affected installs to version 2.0.4.8 or later as that
reportedly resolves the vulnerability."
  );
  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:H/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:"exploit_framework_core", value:"true");
  script_set_attribute(attribute:"exploited_by_malware", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'NTR ActiveX Control StopModule() Remote Code Execution');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
  script_set_attribute(attribute:"canvas_package", value:'White_Phosphorus');

  script_set_attribute(attribute:"vuln_publication_date", value:"2012/01/11");
  script_set_attribute(attribute:"patch_publication_date", value:"2011/12/27");
  script_set_attribute(attribute:"plugin_publication_date", value:"2012/01/16");

  script_set_attribute(attribute:"plugin_type", value:"local");
  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("global_settings.inc");
include("misc_func.inc");
include("smb_func.inc");
include("smb_activex_func.inc");


get_kb_item_or_exit("SMB/Registry/Enumerated");
if (activex_init() != ACX_OK) exit(1, "activex_init() failed.");


# Determine if the control is installed.
clsids = make_list(
  '{0FADB9AA-6955-4319-B538-BB1461E11A28}',
  '{11BD6F81-233F-4B62-BAFB-27ECABD3CBCF}',
  '{31C766ED-EAB7-400B-A861-86EB4001F491}',
  '{7AFFF5C9-F28D-4A93-8362-3EB66D33D849}',
  '{7BABCBE7-ECFF-4EA0-A344-1DC32458A6ED}',
  '{93B08541-9F6B-4697-9F9A-7058F1E33785}',
  '{B8634A6E-38D5-4AAE-8708-3F3DB92FF9D0}',
  '{E6ACF817-0A85-4EBE-9F0A-096C6488CFEA}',
  '{F11BFF96-CC7A-4482-819B-91EAE4C454EF}'
);
fixed_version = "2.0.4.8";
installs = 0;

info = '';
foreach clsid (clsids)
{
  file = activex_get_filename(clsid:clsid);
  if (isnull(file))
  {
    debug_print('activex_get_filename() returned NULL.');
    continue;
  }
  if (!file)
  {
    debug_print("There is no ActiveX control using the class id '"+clsid+"' on the host.");
    continue;
  }
  installs++;

  # Get its version.
  version = activex_get_fileversion(clsid:clsid);

  # And check it.
  if (version && activex_check_fileversion(clsid:clsid, fix:fixed_version) == TRUE)
  {
    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();
if (!installs) exit(0, 'None of the affected controls were found on the remote host.');


# Report findings.
if (info)
{
  # At this point, we want to know how many *vulnerable* installs there are.
  installs = max_index(split(info)) / 5;

  if (report_paranoia > 1)
  {
    if (installs == 1)
      report = info +
        '\nNote, though, that Nessus did not check whether the kill bit was set' +
        '\nfor the control\'s CLSID because of the Report Paranoia setting in' +
        '\neffect when this scan was run.\n';
    else
      report = info +
        '\nNote, though, that Nessus did not check whether the kill bits were set' +
        '\nfor the controls\' CLSIDs because of the Report Paranoia setting in' +
        '\neffect when this scan was run.\n';
  }
  else
  {
    if (installs == 1)
      report = info +
        '\nMoreover, its kill bit is not set so it is accessible via Internet' +
        '\nExplorer.\n';
    else
      report = info +
        '\nMoreover, their kill bits are not set so they are accessible via' +
        '\nInternet Explorer.\n';
  }

  if (report_verbosity > 0) security_hole(port:kb_smb_transport(), extra:report);
  else security_hole(kb_smb_transport());
  exit(0);
}
else 
{
  if (installs == 1) exit(0, 'One of the controls is installed but its kill bit is set.');
  else exit(0, 'The controls are installed but their kill bits are set.');
}

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

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

Go back to menu.

How to Run


Here is how to run the NTR ActiveX Control < 2.0.4.8 Multiple Vulnerabilities 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 NTR ActiveX Control < 2.0.4.8 Multiple Vulnerabilities plugin ID 57556.
  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 ntr_2_0_4_8_activex.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

/opt/nessus/bin/nasl -T - ntr_2_0_4_8_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 ntr_2_0_4_8_activex.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: Secunia Advisory: See also: Similar and related Nessus plugins:
  • 33859 - WebEx Meeting Manager WebexUCFObject ActiveX Control Buffer Overflow
  • 34049 - Novell iPrint Client ActiveX Control Multiple Vulnerabilities
  • 34348 - GdPicture Multiple ActiveX Control SaveAsPDF Method Arbitrary File Overwrite
  • 34472 - LPViewer ActiveX Control Multiple Buffer Overflow Vulnerabilities
  • 35403 - Symantec AppStream Client LaunchObj ActiveX Control Multiple Unsafe Methods (SYM09-001)
  • 35627 - AutoDesk LiveUpdate ActiveX Control ApplyPatch Method Execution
  • 35953 - Morovia Barcode ActiveX Control < 3.6.0 Arbitrary File Overwrite
  • 36087 - Autodesk IDrop ActiveX Control Heap Corruption
  • 36163 - SAP GUI KWEdit ActiveX Control SaveDocumentAs() Insecure Method
  • 38977 - IBM Access Support ActiveX Control GetXMLValue Method Overflow
  • 41062 - Altiris Altiris.AeXNSPkgDL.1 ActiveX Control DownloadAndInstall() Method Arbitrary Code Execution
  • 41945 - FlexCell Grid FlexCell.Grid ActiveX Control Multiple Method Arbitrary File Overwrite
  • 42372 - Altiris ConsoleUtilities 'BrowseAndSaveFile()' ActiveX Control Buffer Overflow
  • 51894 - SigPlus Pro ActiveX Control LCDWriteString() Method HexString Parameter Overflow
  • 54841 - Data Dynamics ActiveBar ActiveX Controls Code Execution
  • 55653 - Citrix Access Gateway Plug-in for Windows ActiveX Control Multiple Vulnerabilities (CTX129902)
  • 55832 - HP Easy Printer Care Software ActiveX Control Remote Code Execution Vulnerabilities
  • 58591 - D-Link DCS-5605 Network Surveillance DcsCliCtrl.dll ActiveX Control SelectDirectory() Method Buffer Overflow
  • 58597 - TRENDnet SecurView UltraMJCam ActiveX Control OpenFileDlg Method WideCharToMultiByte() Call Remote Overflow
  • 59685 - IBM Lotus iNotes Upload Module ActiveX Control Attachment_Times() Method Buffer Overflow
  • 60107 - Cisco Linksys PlayerPT ActiveX Control SetSource() Multiple Overflows
  • 60109 - Sony VAIO Wireless Manager ActiveX Control WifiMan.dll Multiple Buffer Overflows
  • 61719 - McAfee Virtual Technician ActiveX Control GetObject() Method Remote Command Execution (SB10028)
  • 62311 - KeyWorks KeyHelp ActiveX Control Multiple Vulnerabilities
  • 62392 - Flexera AdminStudio LaunchProcess Function ActiveX Control Remote Command Execution
  • 63280 - WibuKey Runtime ActiveX Control DisplayMessageDialog Method String Parsing Overflow
  • 65612 - Samsung Kies < 2.5.0.12094_27_11 Multiple ActiveX Control Vulnerabilities
  • 65942 - McAfee Virtual Technician McHealthCheck.dll ActiveX Control Save() Method Arbitrary File Overwrite (SB10040)
  • 66473 - IBM SPSS SamplePower 3.0 < 3.0 FP 1 Multiple ActiveX Controls Arbitrary Code Execution
  • 66839 - Siemens Solid Edge SEListCtrlX ActiveX Control SetItemReadOnly Method Memory Address Write Arbitrary Code Execution
  • 66840 - Siemens Solid Edge WPHelper ActiveX Control OpenInEditor Method Arbitrary Command Execution
  • 69421 - Tumbleweed SecureTransport vcst_eu.dll ActiveX Control Buffer Overflows

Version


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

Go back to menu.