IBM SPSS SamplePower 3.0 < 3.0 FP 1 Multiple ActiveX Controls Arbitrary Code Execution - Nessus

High   Plugin ID: 66473

This page contains detailed information about the IBM SPSS SamplePower 3.0 < 3.0 FP 1 Multiple ActiveX Controls Arbitrary Code Execution Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 66473
Name: IBM SPSS SamplePower 3.0 < 3.0 FP 1 Multiple ActiveX Controls Arbitrary Code Execution
Filename: ibm_spss_sample_power_activex.nasl
Vulnerability Published: 2013-05-26
This Plugin Published: 2013-05-16
Last Modification Time: 2020-06-12
Plugin Version: 1.15
Plugin Type: remote
Plugin Family: Windows
Dependencies: ibm_spss_sample_power_installed.nasl
Required KB Items [?]: SMB/ibm_spss_samplepower/Version

Vulnerability Information


Severity: High
Vulnerability Published: 2013-05-26
Patch Published: 2013-04-26
CVE [?]: CVE-2012-5945, CVE-2012-5946, CVE-2012-5947, CVE-2013-0593
CPE [?]: cpe:/a:ibm:spss_samplepower
Exploited by Malware: True

Synopsis

The remote host has multiple ActiveX controls with code execution vulnerabilities.

Description

The remote install of IBM SPSS SamplePower has a vulnerable version of one or more ActiveX controls installed. 'Vsflex8l.ocx', 'c1sizer.ocx', 'vsflex7l .ocx', and 'olch2x32.ocx' ActiveX controls have unspecified arbitrary code execution vulnerabilities, which can be exploited by tricking a user into opening a specially crafted web page.

Solution

Upgrade to IBM SPSS SamplePower 3.0 FP 1 or higher.

Public Exploits


Target Network Port(s): N/A
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 IBM SPSS SamplePower 3.0 < 3.0 FP 1 Multiple ActiveX Controls Arbitrary Code Execution vulnerability:

  1. Metasploit: exploit/windows/browser/ibm_spss_c1sizer
    [IBM SPSS SamplePower C1Tab ActiveX Heap Overflow]
  2. Exploit-DB: exploits/windows/remote/25814.rb
    [EDB-25814: IBM SPSS SamplePower C1Tab - ActiveX Heap Overflow (Metasploit)]
  3. Immunity Canvas: D2ExploitPack

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 ibm_spss_sample_power_activex.nasl nessus plugin source code. This script is Copyright (C) 2013-2020 Tenable Network Security, Inc.

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

include("compat.inc");

if (description)
{
  script_id(66473);
  script_version("1.15");
  script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/12");

  script_cve_id(
    "CVE-2012-5945",
    "CVE-2012-5946",
    "CVE-2012-5947",
    "CVE-2013-0593"
  );
  script_bugtraq_id(59527, 59556, 59557, 59559);

  script_name(english:"IBM SPSS SamplePower 3.0 < 3.0 FP 1 Multiple ActiveX Controls Arbitrary Code Execution");
  script_summary(english:"Checks if ActiveX controls have been updated or disabled");

  script_set_attribute(
    attribute:"synopsis",
    value:
"The remote host has multiple ActiveX controls with code execution
vulnerabilities."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The remote install of IBM SPSS SamplePower has a vulnerable version of
one or more ActiveX controls installed.  'Vsflex8l.ocx', 'c1sizer.ocx',
'vsflex7l .ocx', and 'olch2x32.ocx' ActiveX controls have unspecified
arbitrary code execution vulnerabilities, which can be exploited by
tricking a user into opening a specially crafted web page."
  );
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-13-092/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-13-099/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-13-100/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-13-101/");
  # https://www.ibm.com/blogs/psirt/security-bulletin-ibm-spss-samplepower-olch2x32-activex-control-vulnerability-cve-2013-0593/
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?fef142e2");
  # https://www.ibm.com/blogs/psirt/security-bulletin-ibm-spss-samplepower-vsflex7l-activex-control-vulnerability-cve-2012-5947/
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?5ef00761");
  # https://www.ibm.com/blogs/psirt/security-bulletin-ibm-spss-samplepower-c1sizer-activex-control-vulnerability-cve-2012-5946/
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?caa21312");
  # https://www.ibm.com/blogs/psirt/security-bulletin-ibm-spss-samplepower-vsflex8l-activex-control-vulnerability-cve-2012-5945/
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?64d1094a");
  script_set_attribute(attribute:"solution", value:"Upgrade to IBM SPSS SamplePower 3.0 FP 1 or higher.");
  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:'IBM SPSS SamplePower C1Tab ActiveX Heap Overflow');
  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:'D2ExploitPack');

  script_set_attribute(attribute:"vuln_publication_date", value:"2013/05/26");
  script_set_attribute(attribute:"patch_publication_date", value:"2013/04/26");
  script_set_attribute(attribute:"plugin_publication_date", value:"2013/05/16");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe",value:"cpe:/a:ibm:spss_samplepower");
  script_end_attributes();

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

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

  script_dependencies("ibm_spss_sample_power_installed.nasl");
  script_require_keys("SMB/ibm_spss_samplepower/Version");

  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");

app = 'IBM SPSS SamplePower';
kb_base = 'SMB/ibm_spss_samplepower/';

port = kb_smb_transport();

version = get_kb_item_or_exit(kb_base + "Version");
path = get_kb_item_or_exit(kb_base + "Path");

if (version !~ "^3\.")
  audit(AUDIT_INST_VER_NOT_VULN, app, version);

killbit_checks = make_list(
  '{92D71E93-25A8-11CF-A640-9986B64D9618}', # olch2x32.ocx
  '{C0A63B86-4B21-11D3-BD95-D426EF2C7949}', # vsflex7l.ocx
  '{24E04EBF-014D-471F-930E-7654B1193BA9}', # c1sizer.ocx
  '{0F026C11-5A66-4C2B-87B5-88DDEBAE72A1}'  # vsflex8l.ocx
);

info = '';

error_list = make_list();

foreach clsid (killbit_checks)
{
  file = activex_get_filename(clsid:clsid);

  if (isnull(file))
  {
    error_list = make_list(error_list,
                 'activex_get_filename() for CLSID ' + clsid + ' failed.');
    continue;
  }


  if (!file)
  {
    error_list = make_list(error_list,
                 'ActiveX control for CLSID ' + clsid + ' not found.');
    continue;
  }

  # Get its version.
  version = activex_get_fileversion(clsid:clsid);
  if (!version)
  {
    error_list = make_list(error_list,
                 'Error getting version for ActiveX control with CLSID ' +
                 clsid + '.');
    continue;
  }

  # per the patch, these controls should have kill bit set
  if (
    clsid != '{0F026C11-5A66-4C2B-87B5-88DDEBAE72A1}' && # vsflex8l.ocx
    activex_get_killbit(clsid:clsid) == 0
  )
  {
      info += '\n  Class identifier  : ' + clsid +
              '\n  Filename          : ' + file +
              '\n  Installed version : ' + version +
              '\n  Fixed version     : no fixed version available\n';
  }

  # this control can have its kill bit unset if it is up to date
  if (
    clsid == '{0F026C11-5A66-4C2B-87B5-88DDEBAE72A1}' && # vsflex8l.ocx
    ver_compare(ver:version, fix:'8.0.20122.296') == -1 &&
    activex_get_killbit(clsid:clsid) == 0
  )
  {
      info  += '\n  Class identifier  : ' + clsid +
               '\n  Filename          : ' + file +
               '\n  Installed version : ' + version +
               '\n  Fixed version     : 8.0.20122.296\n';
  }
}

activex_end();

report = '';

if (info != '')
{
  # build report
  report += '\nThe following vulnerable controls are installed and do not have a' +
            '\nkill bit set :\n' + info;

  if (max_index(error_list) > 0)
  {
    report += '\nThe results for this plugin may be incomplete due to the following' +
              '\nerrors:\n';
    foreach var error (error_list)
      report += error + '\n';
  }

  if (report_verbosity > 0) security_hole(extra:report, port:port);
  else security_hole(port);
}
else
{
  audit_msg = 'No vulnerable ActiveX controls found.\n';

  if (max_index(error_list) > 0)
  {
    audit_msg += 'The results for this plugin may be incomplete due to the following errors:\n';
    foreach error (error_list)
      audit_msg += error + '\n';
    # errors, exit with failure
    exit(1, audit_msg);
  }

  # no errors, exit with success
  exit(0, audit_msg);
}

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

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

Go back to menu.

How to Run


Here is how to run the IBM SPSS SamplePower 3.0 < 3.0 FP 1 Multiple ActiveX Controls Arbitrary Code Execution 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 IBM SPSS SamplePower 3.0 < 3.0 FP 1 Multiple ActiveX Controls Arbitrary Code Execution plugin ID 66473.
  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 ibm_spss_sample_power_activex.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 77811 - IBM Domino 9.0.x < 9.0.1 Fix Pack 2 Multiple Vulnerabilities (credentialed check) (POODLE)
  • 90512 - IBM Domino SSLv3 Padding Oracle On Downgraded Legacy Encryption Vulnerability (POODLE)
  • 72026 - IBM Forms Viewer Stack Buffer Overflow
  • 76766 - IBM General Parallel File System OpenSSH Memory Corruption
  • 74104 - IBM General Parallel File System 3.5 < 3.5.0.17 Multiple OpenSSL Vulnerabilities (Heartbleed)
  • 76428 - IBM General Parallel File System OpenSSL Security Bypass (Windows)
  • 80885 - IBM General Parallel File System Multiple Vulnerabilities (Windows) (POODLE)
  • 74287 - IBM Global Security Kit 7 < 7.0.4.50 / 8.0.14.x < 8.0.14.43 / 8.0.50.x < 8.0.50.20 Multiple Vulnerabilities
  • 64379 - IBM Informix Genero < 2.41 png_decompress_chunk Integer Overflow
  • 77812 - IBM Notes 9.0.x < 9.0.1 Fix Pack 2 Multiple Vulnerabilities
  • 81782 - IBM Rational ClearQuest 7.1.1.x / 7.1.2.x < 7.1.2.13.01 / 8.0.0.x < 8.0.0.10.01 / 8.0.1.x < 8.0.1.3.01 OpenSSL Library Multiple Vulnerabilities (credentialed check) (Heartbleed)
  • 81784 - IBM Rational ClearQuest 7.1.x < 7.1.2.16 / 8.0.0.x < 8.0.0.13 / 8.0.1.x < 8.0.1.6 Multiple Vulnerabilities (credentialed check) (POODLE)
  • 59293 - IBM Rational ClearQuest 7.1.1.x < 7.1.1.9 / 7.1.2.x < 7.1.2.6 / 8.0.0.x < 8.0.0.2 Multiple Vulnerabilities (credentialed check)

Version


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

Go back to menu.