HP LoadRunner < 11.52 Patch 1 Multiple Vulnerabilities - Nessus

Critical   Plugin ID: 70806

This page contains detailed information about the HP LoadRunner < 11.52 Patch 1 Multiple Vulnerabilities Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 70806
Name: HP LoadRunner < 11.52 Patch 1 Multiple Vulnerabilities
Filename: hp_loadrunner_11_52_1.nasl
Vulnerability Published: 2013-10-30
This Plugin Published: 2013-11-09
Last Modification Time: 2018-11-15
Plugin Version: 1.15
Plugin Type: local
Plugin Family: Windows
Dependencies: hp_loadrunner_installed.nasl
Required KB Items [?]: installed_sw/HP LoadRunner, SMB/Registry/Enumerated

Vulnerability Information


Severity: Critical
Vulnerability Published: 2013-10-30
Patch Published: 2013-10-30
CVE [?]: CVE-2013-4837, CVE-2013-4838, CVE-2013-4839, CVE-2013-6213
CPE [?]: cpe:/a:hp:loadrunner

Synopsis

The remote Windows host has an application that is affected by multiple vulnerabilities.

Description

The version of HP LoadRunner installed on the remote host is prior to 11.52 Patch 1. It is, therefore, affected by multiple vulnerabilities :

- Flaws exist in the Virtual User Generator that allow directory traversal outside of a restricted path. These can be exploited by a remote attacker to create files with arbitrary content, thus leading to remote code execution. (CVE-2013-4837, CVE-2013-4838)

- A SQL injection vulnerability exists in the Virtual User Generator that allows remote attackers to acquire sensitive information, modify data, or cause a denial of service. (CVE-2013-4839)

- A flaw exists in the Virtual User Generator when handling multiple unspecified methods that allows a remote attacker to read, write, or delete arbitrary files, thus leading to information disclosure or the execution of arbitrary code. (CVE-2013-6213)

Solution

Upgrade to HP LoadRunner 11.52 Patch 1 or later or apply the workaround.

Public Exploits


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

Here's the list of publicly known exploits and PoCs for verifying the HP LoadRunner < 11.52 Patch 1 Multiple Vulnerabilities vulnerability:

  1. Metasploit: exploit/windows/http/hp_loadrunner_copyfiletoserver
    [HP LoadRunner EmulationAdmin Web Service Directory Traversal]
  2. Exploit-DB: exploits/windows/remote/30209.rb
    [EDB-30209: HP LoadRunner EmulationAdmin - Web Service Directory Traversal (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_52_1.nasl nessus plugin source code. This script is Copyright (C) 2013-2018 Tenable Network Security, Inc.

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

include("compat.inc");

if (description)
{
  script_id(70806);
  script_version("1.15");
  script_cvs_date("Date: 2018/11/15 20:50:27");

  script_cve_id(
    "CVE-2013-4837",
    "CVE-2013-4838",
    "CVE-2013-4839",
    "CVE-2013-6213"
  );
  script_bugtraq_id(63475, 63476, 63477, 66961);
  script_xref(name:"HP", value:"HPSBMU02935");
  script_xref(name:"HP", value:"SSRT101191");
  script_xref(name:"HP", value:"SSRT101192");
  script_xref(name:"HP", value:"SSRT101193");
  script_xref(name:"HP", value:"SSRT101357");
  script_xref(name:"HP", value:"emr_na-c03969437");

  script_name(english:"HP LoadRunner < 11.52 Patch 1 Multiple Vulnerabilities");
  script_summary(english:"Checks the version of HP LoadRunner.");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has an application that is affected by
multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of HP LoadRunner installed on the remote host is prior to
11.52 Patch 1. It is, therefore, affected by multiple
vulnerabilities :

  - Flaws exist in the Virtual User Generator that allow
    directory traversal outside of a restricted path. These
    can be exploited by a remote attacker to create files
    with arbitrary content, thus leading to remote code
    execution. (CVE-2013-4837, CVE-2013-4838)

  - A SQL injection vulnerability exists in the Virtual User
    Generator that allows remote attackers to acquire
    sensitive information, modify data, or cause a denial of
    service. (CVE-2013-4839)

  - A flaw exists in the Virtual User Generator when
    handling multiple unspecified methods that allows a
    remote attacker to read, write, or delete arbitrary
    files, thus leading to information disclosure or the
    execution of arbitrary code. (CVE-2013-6213)");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-13-259/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-13-260/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-13-261/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-14-100/");
  # https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03969437
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?bf50511c");
  script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/531867/30/0/threaded");
  script_set_attribute(attribute:"solution", value:
"Upgrade to HP LoadRunner 11.52 Patch 1 or later or apply the
workaround.");
  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:"metasploit_name", value:'HP LoadRunner EmulationAdmin Web Service Directory Traversal');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2013/10/30");
  script_set_attribute(attribute:"patch_publication_date", value:"2013/10/30");
  script_set_attribute(attribute:"plugin_publication_date", value:"2013/11/09");

  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) 2013-2018 Tenable Network Security, Inc.");

  script_dependencies("hp_loadrunner_installed.nasl");
  script_require_keys("SMB/Registry/Enumerated", "installed_sw/HP LoadRunner");
  script_require_ports(139, 445);

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("install_func.inc");
include("smb_func.inc");
include("smb_hotfixes_fcheck.inc");

app_name = "HP LoadRunner";

install = get_single_install(app_name:app_name, exit_if_unknown_ver:TRUE);

version = install['version'];
path = install['path'];
verui = install['display_version'];

# 11.52.0 fix is 11.52.1517.0
fixed = "11.52.1517.0";
if (ver_compare(ver:version, fix:fixed, strict:FALSE) == -1)
{
  # Check for workaround : ServiceEmulator Tomcat Webapp is removed
  webapp = "\apache-tomcat-5.5.17\webapps\ServiceEmulation\WEB-INF\service-emulation.jar";
  webapp_path = hotfix_append_path(path:path, value:webapp);

  file_exists = hotfix_file_exists(path:webapp_path);
  hotfix_check_fversion_end();

  if (isnull(file_exists))
    exit(1, 'An error occurred while attempting to access ' + webapp_path + '.');
  if (!file_exists)
    audit(AUDIT_INST_PATH_NOT_VULN, app_name, verui, path);

  # Host is vulnerable
  set_kb_item(name:'www/0/SQLInjection', value:TRUE);

  port = get_kb_item("SMB/transport");
  if (!port) port = 445;

  if (report_verbosity > 0)
  {
    report =
      '\n  Path              : ' + path +
      '\n  Installed version : ' + version +
      '\n  Fixed version     : ' + fixed + ' (11.52 Patch 1)' +
      '\n';
    security_hole(port:port, extra:report);
  }
  else security_hole(port);
}
else audit(AUDIT_INST_PATH_NOT_VULN, app_name, verui, path);

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

Go back to menu.

How to Run


Here is how to run the HP LoadRunner < 11.52 Patch 1 Multiple Vulnerabilities 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.52 Patch 1 Multiple Vulnerabilities plugin ID 70806.
  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_52_1.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a hp_loadrunner_11_52_1.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_52_1.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_52_1.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: Hewlett Packard Security:
  • emr_na-c03969437, HPSBMU02935, SSRT101191, SSRT101192, SSRT101193, SSRT101357
See also: Similar and related Nessus plugins:
  • 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)
  • 59718 - HP LoadRunner < 11.00 Patch 4 Code Execution Vulnerability
  • 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_52_1.nasl version 1.15. For more plugins, visit the Nessus Plugin Library.

Go back to menu.