Vulnerabilities > CVE-2015-2110 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in HP Loadrunner 11.52

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
hp
CWE-119
critical
nessus

Summary

Buffer overflow in HP LoadRunner 11.52 allows remote attackers to execute arbitrary code via unspecified vectors.

Vulnerable Configurations

Part Description Count
Application
Hp
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Nessus

NASL familyWindows
NASL idHP_LOADRUNNER_HPSBGN03286.NASL
descriptionThe version of HP LoadRunner installed on the remote host is 11.52 without the proper patch to
last seen2020-06-01
modified2020-06-02
plugin id83815
published2015-05-26
reporterThis script is Copyright (C) 2015-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/83815
titleHP LoadRunner 11.52 Buffer Overflow RCE
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

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

  script_cve_id("CVE-2015-2110");
  script_bugtraq_id(74737);
  script_xref(name:"HP", value:"HPSBGN03286");
  script_xref(name:"HP", value:"SSRT101319");
  script_xref(name:"HP", value:"emr_na-c04594015");

  script_name(english:"HP LoadRunner 11.52 Buffer Overflow RCE");
  script_summary(english:"Checks the version of an HP LoadRunner library file.");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has an 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 host is 11.52
without the proper patch to 'two_way_comm.dll'. It is, therefore,
affected by a buffer overflow flaw that can allow an unauthenticated,
remote attacker to execute arbitrary code in the context of the HP
LoadRunner Agent process.");
  # https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c04594015
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3d9b6fca");
  script_set_attribute(attribute:"solution", value:"Apply the patch provided by HP.");
  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:U/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2015/05/19");
  script_set_attribute(attribute:"patch_publication_date", value:"2015/05/19");
  script_set_attribute(attribute:"plugin_publication_date", value:"2015/05/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) 2015-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('smb_func.inc');
include('smb_hotfixes.inc');
include('smb_hotfixes_fcheck.inc');
include('smb_reg_query.inc');
include('misc_func.inc');
include("install_func.inc");

app_name = "HP LoadRunner";

# Only 1 install of the server is possible.
install = get_single_install(app_name:app_name, exit_if_unknown_ver:TRUE);
version = install['version'];
path    = install['path'];
verui   = install['display_version'];
report  = NULL;
dllfix  = "11.52.65535.0";
# Located in two places, both must be updated
files   = make_list("bin\two_way_comm.dll","launch_service\bin\two_way_comm.dll");

if(version !~ "^11\.52\.")
  audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, path);

foreach file (files)
{
  dllpath = path + file;
  res = hotfix_get_fversion(path:dllpath);
  hotfix_handle_error(
    error_code   : res['error'],
    file         : dllpath,
    appname      : app_name,
    exit_on_fail : TRUE
  );

  dllver = join(sep:'.', res['value']);

  if(ver_compare(ver:dllver,fix:dllfix) < 0)
  {
    report +=
        '\n  Path                  : ' + dllpath +
        '\n  Installed DLL version : ' + dllver  +
        '\n  Fixed DLL version     : ' + dllfix  +
        '\n';
  }
}
hotfix_check_fversion_end();

# Both DLLs patched
if(isnull(report))
  audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, path);

port   = kb_smb_transport();
report =
    '\n  Product Root path     : ' + path +
    '\n  Product version       : ' + version +
    '\n' + report;

if(report_verbosity > 0) 
  security_hole(extra:report, port:port);
else
  security_hole(port);