Vulnerabilities > CVE-2016-8512 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in HP Loadrunner and Performance Center
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
A Remote Code Execution vulnerability in all versions of HPE LoadRunner and Performance Center was found.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 2 |
Common Weakness Enumeration (CWE)
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 family Windows NASL id HP_LOADRUNNER_MMS_BUFFER_OVERFLOW.NASL description The version of HP LoadRunner installed on the remote Windows host is affected by an unspecified buffer overflow condition in the MMS protocol due to improper validation of user-supplied input. An unauthenticated, remote attacker can exploit this to cause a denial of service condition or the execution of arbitrary code. last seen 2020-06-01 modified 2020-06-02 plugin id 96270 published 2017-01-03 reporter This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/96270 title HP LoadRunner MMS Protocol Buffer Overflow RCE code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(96270); script_version("1.6"); script_cvs_date("Date: 2019/11/13"); script_cve_id("CVE-2016-8512"); script_xref(name:"HP", value:"emr_na-c05354136"); script_xref(name:"HP", value:"HPSBGN03679"); script_name(english:"HP LoadRunner MMS Protocol Buffer Overflow RCE"); script_summary(english:"Checks if MMSEngine.dll or MM1Client.dll are present."); script_set_attribute(attribute:"synopsis", value: "An application installed on the remote Windows host 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 affected by an unspecified buffer overflow condition in the MMS protocol due to improper validation of user-supplied input. An unauthenticated, remote attacker can exploit this to cause a denial of service condition or the execution of arbitrary code."); # https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c05354136 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3078d514"); script_set_attribute(attribute:"solution", value: "Remove the files MMSEngine.dll and MM1Client.dll as directed by HP."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P"); script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C"); script_set_attribute(attribute:"cvss_score_source", value:"CVE-2016-8512"); 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:"2016/12/13"); script_set_attribute(attribute:"patch_publication_date", value:"2016/12/13"); script_set_attribute(attribute:"plugin_publication_date", value:"2017/01/03"); 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) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); 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"; # 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; files = make_list("bin\MMSEngine.dll", "bin\MM1Client.dll"); # MMS protocol deprecated in 12.53, so prevent from flagging on this and above if (ver_compare(ver:version,fix:"12.53", strict:FALSE) >= 0) audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, path); foreach file (files) { dllpath = path + file; res = hotfix_file_exists(path:dllpath); if(isnull(res)) audit(AUDIT_FN_FAIL, 'hotfix_file_exists'); else if (res) { file = ereg_replace(pattern:"^bin\\", string:file, replace:""); report += '\n Path : ' + dllpath + '\n File : ' + file + '\n'; } } hotfix_check_fversion_end(); # Both DLLs removed if(isnull(report)) audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, path); port = get_kb_item('SMB/transport'); if (!port) port = 445; report = '\n Product Root path : ' + path + '\n Product version : ' + version + '\n' + report; security_report_v4(severity:SECURITY_HOLE, port:port, extra:report); exit(0);
NASL family Windows NASL id HP_PERFORMANCE_CENTER_MMS_BUFFER_OVERFLOW.NASL description The version of HP Performance Center installed on the remote Windows host is affected by an unspecified buffer overflow condition in the MMS protocol due to improper validation of user-supplied input. An unauthenticated, remote attacker can exploit this to cause a denial of service condition or the execution of arbitrary code. last seen 2020-06-01 modified 2020-06-02 plugin id 96271 published 2017-01-03 reporter This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/96271 title HP Performance Center MMS Protocol Buffer Overflow RCE code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(96271); script_version("1.6"); script_cvs_date("Date: 2019/11/13"); script_cve_id("CVE-2016-8512"); script_xref(name:"HP", value:"emr_na-c05354136"); script_xref(name:"HP", value:"HPSBGN03679"); script_name(english:"HP Performance Center MMS Protocol Buffer Overflow RCE"); script_summary(english:"Checks if MMSEngine.dll or MM1Client.dll are present."); script_set_attribute(attribute:"synopsis", value: "An application installed on the remote Windows host is affected by a remote code execution vulnerability."); script_set_attribute(attribute:"description", value: "The version of HP Performance Center installed on the remote Windows host is affected by an unspecified buffer overflow condition in the MMS protocol due to improper validation of user-supplied input. An unauthenticated, remote attacker can exploit this to cause a denial of service condition or the execution of arbitrary code."); # https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c05354136 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3078d514"); script_set_attribute(attribute:"solution", value: "Remove the files MMSEngine.dll and MM1Client.dll as directed by HP."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P"); script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C"); script_set_attribute(attribute:"cvss_score_source", value:"CVE-2016-8512"); 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:"2016/12/13"); script_set_attribute(attribute:"patch_publication_date", value:"2016/12/13"); script_set_attribute(attribute:"plugin_publication_date", value:"2017/01/03"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:hp:performance_center"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Windows"); script_copyright(english:"This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("hp_performance_center_installed.nbin"); script_require_keys("installed_sw/HP Performance Center"); script_require_ports(139, 445); exit(0); } include('global_settings.inc'); include('audit.inc'); include('misc_func.inc'); include("install_func.inc"); include("smb_func.inc"); include("smb_hotfixes_fcheck.inc"); app_name = "HP Performance Center"; install = get_single_install(app_name:app_name, exit_if_unknown_ver:TRUE); version = install['version']; path = install['path']; files = make_list("bin\MMSEngine.dll", "bin\MM1Client.dll"); # MMS protocol deprecated in 12.53, so prevent from flagging on this and above if (ver_compare(ver:version,fix:"12.53", strict:FALSE) >= 0) audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, path); foreach file (files) { dllpath = path + file; res = hotfix_file_exists(path:dllpath); if(isnull(res)) audit(AUDIT_FN_FAIL, 'hotfix_file_exists'); else if (res) { file = ereg_replace(pattern:"^bin\\", string:file, replace:""); report += '\n Path : ' + dllpath + '\n File : ' + file + '\n'; } } hotfix_check_fversion_end(); # Both DLLs removed if(isnull(report)) audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, path); port = port = get_kb_item('SMB/transport'); if (!port) port = 445; report = '\n Product Root path : ' + path + '\n Product version : ' + version + '\n' + report; security_report_v4(severity:SECURITY_HOLE, port:port, extra:report); exit(0);