IBM Tivoli Management Framework Endpoint addr URL Remote Buffer Overflow - Nessus

High   Plugin ID: 54924

This page contains detailed information about the IBM Tivoli Management Framework Endpoint addr URL Remote 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: 54924
Name: IBM Tivoli Management Framework Endpoint addr URL Remote Buffer Overflow
Filename: tivoli_endpoint_addr_opts_bof.nasl
Vulnerability Published: 2011-05-30
This Plugin Published: 2011-05-31
Last Modification Time: 2020-08-05
Plugin Version: 1.18
Plugin Type: remote
Plugin Family: Web Servers
Dependencies: tivoli_endpoint_detect.nasl
Required KB Items [?]: www/tivoli_endpoint

Vulnerability Information


Severity: High
Vulnerability Published: 2011-05-30
Patch Published: 2011-05-30
CVE [?]: CVE-2011-1220
CPE [?]: cpe:/a:ibm:tivoli_management_framework

Synopsis

A web server running on the remote host has a buffer overflow vulnerability.

Description

According to its self-reported version, the Tivoli Endpoint installation running on the remote host is earlier than 4.1.1-LCF-0076 or 4.3.1-LCF-0012LA, and therefore has a buffer overflow vulnerability. Input to the 'opts' parameter of '/addr' is not properly validated. Authentication is required for exploitation, though this can be achieved trivially by using a built-in account.

A remote, authenticated attacker could exploit this by sending a malicious POST request to the server, resulting in arbitrary code execution.

Solution

Upgrade to Tivoli Endpoint 4.1.1-LCF-0076 / 4.3.1-LCF-0012LA or later. Alternatively, use the workaround described in the IBM advisory.

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 Tivoli Management Framework Endpoint addr URL Remote Buffer Overflow vulnerability:

  1. Metasploit: exploit/windows/http/ibm_tivoli_endpoint_bof
    [IBM Tivoli Endpoint Manager POST Query Buffer Overflow]
  2. Exploit-DB: exploits/windows/remote/17365.py
    [EDB-17365: IBM Tivoli Endpoint 4.1.1 - Remote SYSTEM]
  3. Exploit-DB: exploits/windows/remote/17392.rb
    [EDB-17392: IBM Tivoli Endpoint Manager - POST Query Buffer Overflow (Metasploit)]
  4. 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 Score Source [?]: CVE-2011-1220
CVSS V2 Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:9.0 (High)
Impact Subscore:10.0
Exploitability Subscore:8.0
CVSS Temporal Score:7.4 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.4 (High)
STIG Severity [?]: I
STIG Risk Rating: High

Go back to menu.

Plugin Source


This is the tivoli_endpoint_addr_opts_bof.nasl nessus plugin source code. This script is Copyright (C) 2011-2020 and is owned by Tenable, Inc. or an Affiliate thereof.

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


include("compat.inc");


if (description)
{
  script_id(54924);
  script_version("1.18");
  script_set_attribute(attribute:"plugin_modification_date", value:"2020/08/05");

  script_cve_id("CVE-2011-1220");
  script_bugtraq_id(48049);
  script_xref(name:"TRA", value:"TRA-2011-04");
  script_xref(name:"IAVA", value:"2011-A-0072-S");
  script_xref(name:"EDB-ID", value:"17365");
  script_xref(name:"EDB-ID", value:"17392");

  script_name(english:"IBM Tivoli Management Framework Endpoint addr URL Remote Buffer Overflow");
  script_summary(english:"Does a version check on TMF Endpoint");

  script_set_attribute(
    attribute:"synopsis",
    value:
"A web server running on the remote host has a buffer overflow
vulnerability."
  );
  script_set_attribute(
    attribute:"description",
    value:
"According to its self-reported version, the Tivoli Endpoint
installation running on the remote host is earlier than 4.1.1-LCF-0076
or 4.3.1-LCF-0012LA, and therefore has a buffer overflow
vulnerability.  Input to the 'opts' parameter of '/addr' is not
properly validated.  Authentication is required for exploitation,
though this can be achieved trivially by using a built-in account.

A remote, authenticated attacker could exploit this by sending a
malicious POST request to the server, resulting in arbitrary code
execution."
  );
  script_set_attribute(attribute:"see_also", value:"https://www.tenable.com/security/research/tra-2011-04");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-11-169/");
  script_set_attribute(attribute:"see_also", value:"https://www-304.ibm.com/support/docview.wss?uid=swg21499146");
  script_set_attribute(
    attribute:"solution",
    value:
"Upgrade to Tivoli Endpoint 4.1.1-LCF-0076 / 4.3.1-LCF-0012LA
or later.  Alternatively, use the workaround described in the
IBM advisory."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2011-1220");
  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 Tivoli Endpoint Manager POST Query Buffer 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:'White_Phosphorus');

  script_set_attribute(attribute:"vuln_publication_date", value:"2011/05/30");
  script_set_attribute(attribute:"patch_publication_date", value:"2011/05/30");
  script_set_attribute(attribute:"plugin_publication_date", value:"2011/05/31");

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

  script_category(ACT_GATHER_INFO);
  script_family(english:"Web Servers");

  script_copyright(english:"This script is Copyright (C) 2011-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("tivoli_endpoint_detect.nasl");
  script_require_keys("www/tivoli_endpoint");

  exit(0);
}


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


port = get_http_port(default:9495, embedded:TRUE);
install = get_install_from_kb(appname:'tivoli_endpoint', port:port, exit_on_fail:TRUE);
ver = install['ver'];
if (ver == UNKNOWN_VER) exit(1, 'Unable to determine version on port '+port+'.');

match = eregmatch(string:ver, pattern:'^([0-9]+)');
if (!match) exit(1, 'Error parsing the version of Tivoli Management Framework Endpoint listening on port '+port+' (' + ver + ').');
else build = int(match[1]);

# do the version check
fix = NULL;
if (build < 41176)
  fix = '41176 (4.1.1-LCF-0076)';
else if (build >= 43100 && build < 43112)
  fix = '43112 (4.3.1-LCF-0012LA)';
else
  exit(0, 'Tivoli Management Framework Endpoint version '+ver+' is listening on port '+port+' and thus not affected.');

# make sure the workaround isn't in use unless paranoid
info = NULL;
if (report_paranoia < 2)
{
  # if the workaround is applied (disable configuration via HTTP), there will be an
  # error message saying so. if there's no workaround, we'll be prompted for auth
  res = http_send_recv3(method:'POST', port:port, item:'/addr', exit_on_fail:TRUE);

  if ('Configuration capability has been disabled on this endpoint' >< res[2])
    exit(0, 'The workaround has been applied on port ' + port + '.');
}
else
{
  info =
    '\nNessus did not check if the workaround is in use since' +
    '\nReport Paranoia is set to "Paranoid".\n';
}

if (report_verbosity > 0)
{
  report =
    '\n  Installed version : ' + ver +
    '\n  Fixed version     : ' + fix + '\n' +
    info;
  security_hole(port:port, extra:report);
}
else security_hole(port);

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

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

Go back to menu.

How to Run


Here is how to run the IBM Tivoli Management Framework Endpoint addr URL Remote 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 Web Servers plugin family.
  6. On the right side table select IBM Tivoli Management Framework Endpoint addr URL Remote Buffer Overflow plugin ID 54924.
  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 tivoli_endpoint_addr_opts_bof.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: IAVA | Information Assurance Vulnerability Alert:
  • 2011-A-0072-S
TRA | Tenable Research Advisory: See also: Similar and related Nessus plugins:
  • 54987 - IBM Tivoli Management Framework Endpoint addr URL Default Credentials
  • 80479 - IBM Tivoli Access Manager for e-Business < 6.0.0.33 / 6.1.0.14 / 6.1.1.10 SSL Multiple Vulnerabilities
  • 54943 - IBM Tivoli Directory Server SASL Bind Request Buffer Overflow (uncredentialed check)
  • 53625 - IBM Tivoli Directory Server Vulnerabilities (credentialed check)
  • 80481 - IBM Tivoli Directory Server < 6.0.0.72 / 6.1.0.55 / 6.2.0.30 / 6.3.0.22 with GSKit < 7.0.4.45 / 8.0.14.27 TLS Side-Channel Timing Information Disclosure
  • 80482 - IBM Security Directory Server < 6.1.0.61 / 6.2.0.36 / 6.3.0.30 / 6.3.1.2 with GSKit < 7.0.4.50 / 8.0.50.20 SSL CPU Utilization DoS
  • 58389 - IBM Tivoli Provisioning Manager Express for Software Distribution Isig.isigCtl.1 ActiveX RunAndUploadFile Method Boundary Error Remote Overflow
  • 66270 - IBM Tivoli Endpoint Manager Server < 8.2.1372 Multiple Vulnerabilities
  • 79335 - IBM Tivoli Endpoint Manager Server 9.1.x < 9.1.1117.0 OpenSSL Security Bypass
  • 25005 - IBM Tivoli Provisioning Manager OS Deployment Multiple Unspecified Input Validation Vulnerabilities
  • 25149 - IBM Tivoli Provisioning Manager OS Deployment Multiple Stack Overflows
  • 26187 - IBM Tivoli Storage Manager Client Multiple Vulnerabilities (swg21268775)
  • 42824 - IBM Tivoli Storage Manager Client Multiple Vulnerabilities (swg21405562)
  • 25662 - IBM Tivoli Storage Manager Multiple Remote Overflows
  • 77116 - IBM Tivoli Storage Manager Server 5.5.x Multiple Vulnerabilities
  • 77117 - IBM Tivoli Storage Manager Server 6.1.x Multiple Vulnerabilities
  • 77118 - IBM Tivoli Storage Manager Server 6.2.x < 6.2.6.0 Multiple Vulnerabilities
  • 77120 - IBM Tivoli Storage Manager Server 6.3.x < 6.3.4.200 Information Disclosure
  • 144291 - IBM HTTP Server 7.0.0.0 < 7.0.0.33 / 8.0.0.0 < 8.0.0.9 / 8.5.0.0 < 8.5.5.2 Buffer Overflow (244199)
  • 10657 - MS01-023: Microsoft IIS 5.0 Malformed HTTP Printer Request Header Remote Buffer Overflow (953155) (uncredentialed check)
  • 73519 - nginx < 1.4.7 / 1.5.12 SPDY Heap Buffer Overflow

Version


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

Go back to menu.