IBM Lotus Notes < 8.5.3 FP2 URL Handler Unspecified Remote Code Execution - Nessus

High   Plugin ID: 61487

This page contains detailed information about the IBM Lotus Notes < 8.5.3 FP2 URL Handler Unspecified Remote 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: 61487
Name: IBM Lotus Notes < 8.5.3 FP2 URL Handler Unspecified Remote Code Execution
Filename: lotus_notes_8_5_3_fp2.nasl
Vulnerability Published: 2012-06-15
This Plugin Published: 2012-08-10
Last Modification Time: 2018-11-15
Plugin Version: 1.13
Plugin Type: local
Plugin Family: Windows
Dependencies: lotus_notes_installed.nasl
Required KB Items [?]: SMB/Lotus_Notes/Installed

Vulnerability Information


Severity: High
Vulnerability Published: 2012-06-15
Patch Published: 2012-06-15
CVE [?]: CVE-2012-2174
CPE [?]: cpe:/a:ibm:lotus_notes

Synopsis

The remote host has software installed that is affected by a code execution vulnerability.

Description

The remote host has a version of Lotus Notes prior to 8.5.3 Fix Pack 2 installed. It is, therefore, reportedly affected by a remote code execution vulnerability that an attacker can exploit by tricking a victim into clicking a specially crafted 'notes://' URL.

Note that this vulnerability can only be exploited when the software is running in 'standard' mode.

Solution

Upgrade to Lotus Notes 8.5.3 Fix Pack 2 or later.

Public Exploits


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

Here's the list of publicly known exploits and PoCs for verifying the IBM Lotus Notes < 8.5.3 FP2 URL Handler Unspecified Remote Code Execution vulnerability:

  1. Metasploit: exploit/windows/browser/notes_handler_cmdinject
    [IBM Lotus Notes Client URL Handler Command Injection]
  2. Exploit-DB: exploits/windows/remote/23650.rb
    [EDB-23650: IBM Lotus Notes Client URL Handler - Command Injection (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: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_8_5_3_fp2.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(61487);
  script_version("1.13");
  script_cvs_date("Date: 2018/11/15 20:50:27");

  script_cve_id("CVE-2012-2174");
  script_bugtraq_id(54070);

  script_name(english:"IBM Lotus Notes < 8.5.3 FP2 URL Handler Unspecified Remote Code Execution");
  script_summary(english:"Checks version of IBM Lotus Notes");

  script_set_attribute(
    attribute:"synopsis",
    value:
"The remote host has software installed that is affected by a code
execution vulnerability."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The remote host has a version of Lotus Notes prior to 8.5.3 Fix Pack
2 installed.  It is, therefore, reportedly affected by a remote code
execution vulnerability that an attacker can exploit by tricking a
victim into clicking a specially crafted 'notes://' URL.  

Note that this vulnerability can only be exploited when the software
is running in 'standard' mode."
  );
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-12-154/");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/fulldisclosure/2012/Aug/275");
  script_set_attribute(attribute:"see_also", value:"https://www-01.ibm.com/support/docview.wss?uid=swg21598348");
  script_set_attribute(attribute:"solution", value:"Upgrade to Lotus Notes 8.5.3 Fix Pack 2 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:'IBM Lotus Notes Client URL Handler Command Injection');
  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:"2012/06/15");
  script_set_attribute(attribute:"patch_publication_date", value:"2012/06/15");
  script_set_attribute(attribute:"plugin_publication_date", value:"2012/08/10");

  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("lotus_notes_installed.nasl");
  script_require_keys("SMB/Lotus_Notes/Installed");

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");

appname = "IBM Lotus Notes";
kb_base = "SMB/Lotus_Notes/";

version = get_kb_item_or_exit(kb_base + 'Version');
path = get_kb_item_or_exit(kb_base + 'Path');
ver_ui = get_kb_item_or_exit(kb_base + 'Version_UI');

fix = '8.5.32.12184';

if (
  version =~ "^8\." &&
  ver_compare(ver:version, fix:fix, strict:FALSE) == -1
)
{
  if (report_verbosity > 0)
  {
    report =
      '\n  Path              : ' + path +
      '\n  Installed version : ' + ver_ui + 
      '\n  Fixed version     : 8.5.3 FP2 (' + fix + ')' +
      '\n';
    security_hole(port:get_kb_item('SMB/transport'), extra:report);
  }
  else security_hole(get_kb_item('SMB/transport'));
  exit(0);
} 
else audit(AUDIT_INST_PATH_NOT_VULN, appname, ver_ui, path);

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_8_5_3_fp2.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\lotus_notes_8_5_3_fp2.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/lotus_notes_8_5_3_fp2.nasl

Go back to menu.

How to Run


Here is how to run the IBM Lotus Notes < 8.5.3 FP2 URL Handler Unspecified Remote 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 Lotus Notes < 8.5.3 FP2 URL Handler Unspecified Remote Code Execution plugin ID 61487.
  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_8_5_3_fp2.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a lotus_notes_8_5_3_fp2.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_8_5_3_fp2.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_8_5_3_fp2.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)
  • 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
  • 59685 - IBM Lotus iNotes Upload Module ActiveX Control Attachment_Times() Method Buffer 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_8_5_3_fp2.nasl version 1.13. For more plugins, visit the Nessus Plugin Library.

Go back to menu.