HP LoadRunner < 11.00 Patch 4 Code Execution Vulnerability - Nessus

Critical   Plugin ID: 59718

This page contains detailed information about the HP LoadRunner < 11.00 Patch 4 Code Execution Vulnerability Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 59718
Name: HP LoadRunner < 11.00 Patch 4 Code Execution Vulnerability
Filename: hp_loadrunner_11_patch4_code_exec.nasl
Vulnerability Published: 2012-01-12
This Plugin Published: 2012-06-26
Last Modification Time: 2018-11-15
Plugin Version: 1.5
Plugin Type: local
Plugin Family: Windows
Dependencies: hp_loadrunner_installed.nasl
Required KB Items [?]: SMB/HP LoadRunner/Path, SMB/HP LoadRunner/Version, SMB/HP LoadRunner/VersionUI

Vulnerability Information


Severity: Critical
Vulnerability Published: 2012-01-12
Patch Published: 2012-05-29
CVE [?]: CVE-2011-4789
CPE [?]: cpe:/a:hp:loadrunner

Synopsis

The remote Windows host has a software performance testing application that is affected by a remote code execution vulnerability.

Description

The version of HP LoadRunner installed on the remote Windows host is potentially affected by a code execution vulnerability. The application fails to properly handle incoming packets with '0x00000000' as the first 32-bit value. A remote, unauthenticated attacker, exploiting this flaw, could execute arbitrary code on the remote host subject to the privileges of the user running the affected application.

Solution

Upgrade to HP LoadRunner 11.00 Patch 4 or later.

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 HP LoadRunner < 11.00 Patch 4 Code Execution Vulnerability vulnerability:

  1. Metasploit: exploit/windows/misc/hp_magentservice
    [HP Diagnostics Server magentservice.exe Overflow]
  2. Exploit-DB: exploits/windows/remote/18423.rb
    [EDB-18423: HP Diagnostics Server - 'magentservice.exe' Remote 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:L/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.3 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.3 (High)

Go back to menu.

Plugin Source


This is the hp_loadrunner_11_patch4_code_exec.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(59718);
  script_version("1.5");
  script_cvs_date("Date: 2018/11/15 20:50:27");

  script_cve_id("CVE-2011-4789");
  script_bugtraq_id(51398);

  script_name(english:"HP LoadRunner < 11.00 Patch 4 Code Execution Vulnerability");
  script_summary(english:"Checks version of HP Load Runner");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has a software performance testing 
application that is affected by a remote code execution vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of HP LoadRunner installed on the remote Windows host is
potentially affected by a code execution vulnerability.  The
application fails to properly handle incoming packets with 
'0x00000000' as the first 32-bit value.  A remote, unauthenticated 
attacker, exploiting this flaw, could execute arbitrary code on the 
remote host subject to the privileges of the user running the affected
application.");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-12-016/");
  script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/522928/30/0/threaded");
  script_set_attribute(attribute:"solution", value:"Upgrade to HP LoadRunner 11.00 Patch 4 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/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:'HP Diagnostics Server magentservice.exe Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2012/01/12");
  script_set_attribute(attribute:"patch_publication_date", value:"2012/05/29");
  script_set_attribute(attribute:"plugin_publication_date", value:"2012/06/26");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:hp:loadrunner");
  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("hp_loadrunner_installed.nasl");
  script_require_keys("SMB/HP LoadRunner/Version", "SMB/HP LoadRunner/VersionUI", "SMB/HP LoadRunner/Path");
  script_require_ports(139, 445);

  exit(0);
}

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

app = 'HP LoadRunner';
version = get_kb_item_or_exit('SMB/'+app+'/Version');
verui = get_kb_item('SMB/'+app+'/VersionUI');
if (isnull(verui))
{
  ver = split(version, sep:'.', keep:FALSE);
  verui = ver[0] + '.' + ver[1] + '.0';
}

fix = '11.4.2021.0';
if (ver_compare(ver:version, fix:fix) == -1)
{
  if (report_verbosity > 0)
  {
    path = get_kb_item('SMB/'+app+'/Path');
    if (isnull(path)) path = 'n/a';
    report = 
      '\n  Path              : ' + path +
      '\n  Installed version : ' + verui +
      '\n  Fixed version     : 11.4.0\n';
    security_hole(port:get_kb_item('SMB/transport'), extra:report);
  }
  else security_hole(get_kb_item('SMB/transport'));
  exit(0);
}
audit(AUDIT_INST_VER_NOT_VULN, app, verui);

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

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

Go back to menu.

How to Run


Here is how to run the HP LoadRunner < 11.00 Patch 4 Code Execution Vulnerability 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 HP LoadRunner < 11.00 Patch 4 Code Execution Vulnerability plugin ID 59718.
  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 hp_loadrunner_11_patch4_code_exec.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
  • 62902 - HP LoadRunner < 11.00 Patch 4 Code Execution (intrusive check)
  • 72177 - HP B-series SAN Network Advisor < 12.1.1 Remote Code Execution (Windows)
  • 55551 - HP Data Protector <= A.06.20 Multiple Vulnerabilities (credentialed check)
  • 58399 - HP Data Protector Express 5.x < 5.0.0 Build 59287 / 6.x < 6.0.0 Build 11974 Multiple Vulnerabilities
  • 49645 - HP Data Protector Express < 4.x build 56906 / 3.x build 56936 Multiple Vulnerabilities
  • 38792 - HP Data Protector Express Crafted Traffic Remote Memory Disclosure
  • 29725 - HP Info Center ActiveX Control Multiple Remote Vulnerabilities
  • 55577 - HP iNode Management Center Remote Code Execution (HPSB3C02687)
  • 76463 - HP Insight Control Server Migration 7.3.0 and 7.3.1 OpenSSL Heartbeat Information Disclosure (Heartbleed)
  • 25655 - HP Instant Support Driver Check HPSDDX Class (SDD) ActiveX (sdd.dll) queryHub Function Overflow
  • 93097 - HP Intelligent Management Center Java Object Deserialization RCE
  • 100869 - H3C / HPE Intelligent Management Center PLAT < 7.3 E0504P04 Multiple Vulnerabilities
  • 152164 - HP, Samsung, and Xerox Printer Driver Privilege Escalation (CVE-2021-3438)
  • 70806 - HP LoadRunner < 11.52 Patch 1 Multiple Vulnerabilities
  • 77054 - HP LoadRunner 11.52.x < 11.52 Patch 2 / 12.00.x < 12.00 Patch 1 Heartbeat Information Disclosure (Heartbleed)
  • 77730 - HP Network Node Manager i Remote Code Execution (HPSBMU03075)
  • 42879 - HP OpenView Network Node Manager Multiple Vulnerabilities
  • 88562 - HP Operations Manager for Windows 8.x and 9.0 Java Object Deserialization RCE
  • 126826 - HP Support Assistant < 8.8 Multiple Vulnerabilities
  • 59684 - HP Systems Insight Manager < 7.0 Multiple Vulnerabilities
  • 72963 - HP Systems Insight Manager < 7.2 Multiple Vulnerabilities
  • 77020 - HP Systems Insight Manager 7.2.x < 7.2 Hotfix 37 / 7.3.x < 7.3 Hotfix 34 OpenSSL Multiple Vulnerabilities
  • 77024 - HP Version Control Agent (VCA) Heartbeat Information Disclosure (Heartbleed)
  • 77150 - HP Version Control Agent (VCA) < 7.3.3 Multiple SSL Vulnerabilities
  • 77025 - HP Version Control Repository Manager (VCRM) Heartbeat Information Disclosure (Heartbleed)
  • 85802 - HP Version Control Repository Manager < 7.5.0 Multiple Vulnerabilities (HPSBMU03396) (FREAK)
  • 76390 - HP Version Control Repository Manager Multiple Vulnerabilities (HPSBMU03056)
  • 84194 - HP WebInspect XXE Unauthorized Information Disclosure
  • 45593 - HP Operations Manager SourceView ActiveX LoadFile / SaveFile Stack Overflows
  • 55832 - HP Easy Printer Care Software ActiveX Control Remote Code Execution Vulnerabilities

Version


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

Go back to menu.