IBM Lotus iNotes Upload Module ActiveX Control Attachment_Times() Method Buffer Overflow - Nessus

High   Plugin ID: 59685

This page contains detailed information about the IBM Lotus iNotes Upload Module ActiveX Control Attachment_Times() Method Buffer Overflow Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 59685
Name: IBM Lotus iNotes Upload Module ActiveX Control Attachment_Times() Method Buffer Overflow
Filename: lotus_notes_upload_activex_bof.nasl
Vulnerability Published: 2012-05-31
This Plugin Published: 2012-06-19
Last Modification Time: 2018-11-15
Plugin Version: 1.12
Plugin Type: local
Plugin Family: Windows
Dependencies: smb_hotfixes.nasl
Required KB Items [?]: SMB/Registry/Enumerated

Vulnerability Information


Severity: High
Vulnerability Published: 2012-05-31
Patch Published: 2012-05-31
CVE [?]: CVE-2012-2175
CPE [?]: cpe:/a:ibm:lotus_notes

Synopsis

The remote Windows host has an ActiveX control that is affected by a buffer overflow vulnerability.

Description

The Lotus iNotes Upload Module ActiveX Control is installed on the remote Windows host. The installed version of the control is affected by a buffer overflow vulnerability in the Attachment_Times() method. By tricking a victim into visiting a specially crafted page, an attacker may be able to execute arbitrary code on the host.

Solution

Either set the kill bit for the control or see the vendor's advisory for an updated control.

Public Exploits


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

Here's the list of publicly known exploits and PoCs for verifying the IBM Lotus iNotes Upload Module ActiveX Control Attachment_Times() Method Buffer Overflow vulnerability:

  1. Metasploit: exploit/windows/browser/inotes_dwa85w_bof
    [IBM Lotus iNotes dwa85W ActiveX Buffer Overflow]
  2. Exploit-DB: exploits/windows/remote/23736.rb
    [EDB-23736: IBM Lotus iNotes dwa85W - ActiveX Buffer Overflow (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 lotus_notes_upload_activex_bof.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(59685);
  script_version("1.12");
  script_cvs_date("Date: 2018/11/15 20:50:27");

  script_cve_id("CVE-2012-2175");
  script_bugtraq_id(53879);

  script_name(english:"IBM Lotus iNotes Upload Module ActiveX Control Attachment_Times() Method Buffer Overflow");
  script_summary(english:"Checks if control's kill bit is set");

  script_set_attribute(
    attribute:"synopsis",
    value:
"The remote Windows host has an ActiveX control that is affected by a
buffer overflow vulnerability."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The Lotus iNotes Upload Module ActiveX Control is installed on the
remote Windows host.  The installed version of the control is affected
by a buffer overflow vulnerability in the Attachment_Times() method.
By tricking a victim into visiting a specially crafted page, an
attacker may be able to execute arbitrary code on the host."
  );
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-12-132/");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/fulldisclosure/2012/Aug/61");
  script_set_attribute(attribute:"see_also", value:"http://www-304.ibm.com/support/docview.wss?uid=swg21596862");
  script_set_attribute(
    attribute:"solution",
    value:
"Either set the kill bit for the control or see the vendor's advisory
for an updated control."
  );
  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:"exploit_framework_core", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'IBM Lotus iNotes dwa85W ActiveX Buffer Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_set_attribute(attribute:"vuln_publication_date", value:"2012/05/31");
  script_set_attribute(attribute:"patch_publication_date", value:"2012/05/31");
  script_set_attribute(attribute:"plugin_publication_date", value:"2012/06/19");
  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:ibm:lotus_notes");
  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("audit.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.
clsid = '{0F2AAAE3-7E9E-4b64-AB5D-1CA24C6ACB9C}';

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

info = '';
if (report_paranoia > 1 || activex_get_killbit(clsid:clsid) == 0)
{
  info += '\n  Class Identifier  : ' + clsid +
          '\n  Filename          : ' + file +
          '\n  Installed version : ' + version;
}
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
  exit(0, "Host not vulnerable since the control's 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/lotus_notes_upload_activex_bof.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\lotus_notes_upload_activex_bof.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/lotus_notes_upload_activex_bof.nasl

Go back to menu.

How to Run


Here is how to run the IBM Lotus iNotes Upload Module ActiveX Control Attachment_Times() Method Buffer Overflow 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 Lotus iNotes Upload Module ActiveX Control Attachment_Times() Method Buffer Overflow plugin ID 59685.
  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 lotus_notes_upload_activex_bof.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 70743 - IBM Domino 8.5.x < 8.5.3 FP5 Multiple Vulnerabilities
  • 73969 - IBM Domino 8.0.x / 8.5.x / 9.0.x with IBM Java < 1.6 SR15 FP1 Multiple Vulnerabilities (credentialed check)
  • 71861 - IBM Domino 9.x < 9.0.1 Multiple Vulnerabilities (credentialed check)
  • 61487 - IBM Lotus Notes < 8.5.3 FP2 URL Handler Unspecified Remote Code Execution
  • 70744 - IBM Notes 8.5.x < 8.5.3 FP5 Multiple Vulnerabilities
  • 73970 - IBM Notes 8.0.x / 8.5.x / 9.0.x with IBM Java < 1.6 SR15 FP1 Multiple Vulnerabilities
  • 66944 - IBM Notes PNG Integer Overflow
  • 53534 - IBM Lotus Domino iCalendar Email Address ORGANIZER:mailto Header Remote Overflow
  • 70103 - IBM Lotus Sametime Multiplexer Buffer Overflow
  • 32433 - IBM Lotus Domino < 8.0.1 / 7.0.3 FP1 Multiple Vulnerabilities
  • 66239 - IBM Lotus Domino 8.5.x < 8.5.3 Multiple Vulnerabilities
  • 19309 - IBM Lotus Domino HTML Hidden Field Encrypted Password Disclosure
  • 24903 - IBM Lotus Domino IMAP Server (nimap.exe) CRAM-MD5 Authentication Remote Overflow
  • 29801 - IBM Lotus Domino Web Access ActiveX Control Buffer Overflow Vulnerabilities
  • 54922 - IBM Lotus Notes Attachment Handling Multiple Buffer Overflows
  • 27534 - Lotus Notes Client < 7.0.3 / 8.0.1 Multiple Overflows

Version


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

Go back to menu.