HP Data Protector 7.0x < 7.03 build 108 / 8.1x < 8.15 / 9.0x < 9.06 Multiple Vulnerabilities (HPSBGN03580) (Bar Mitzvah) - Nessus

Critical   Plugin ID: 90796

This page contains detailed information about the HP Data Protector 7.0x < 7.03 build 108 / 8.1x < 8.15 / 9.0x < 9.06 Multiple Vulnerabilities (HPSBGN03580) (Bar Mitzvah) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 90796
Name: HP Data Protector 7.0x < 7.03 build 108 / 8.1x < 8.15 / 9.0x < 9.06 Multiple Vulnerabilities (HPSBGN03580) (Bar Mitzvah)
Filename: hp_data_protector_hpsbgn03580.nasl
Vulnerability Published: 2015-01-19
This Plugin Published: 2016-04-29
Last Modification Time: 2022-04-11
Plugin Version: 1.15
Plugin Type: combined
Plugin Family: Misc.
Dependencies: hp_data_protector_installed_local.nasl, hp_data_protector_installed.nasl, os_fingerprint.nasl, ssh_get_info.nasl
Required KB Items [?]: Services/data_protector/version

Vulnerability Information


Severity: Critical
Vulnerability Published: 2015-01-19
Patch Published: 2016-04-18
CVE [?]: CVE-2015-2808, CVE-2016-2004, CVE-2016-2005, CVE-2016-2006, CVE-2016-2007, CVE-2016-2008
CPE [?]: cpe:/a:hp:storage_data_protector
In the News: True

Synopsis

The remote host is affected by multiple vulnerabilities.

Description

The version of HP Data Protector installed on the remote host is 7.0x prior to 7.03 build 108, 8.1x prior to 8.15, or 9.0x prior to 9.06. It is, therefore, affected by the following vulnerabilities :

- A security feature bypass vulnerability exists, known as Bar Mitzvah, due to improper combination of state data with key data by the RC4 cipher algorithm during the initialization phase. A man-in-the-middle attacker can exploit this, via a brute-force attack using LSB values, to decrypt the traffic. (CVE-2015-2808)

- A flaw exists due to a failure to authenticate users, even with Encrypted Control Communications enabled. An unauthenticated, remote attacker can exploit this to execute arbitrary code. (CVE-2016-2004)

- Multiple overflow conditions exist due to improper validation of user-supplied input. An unauthenticated, remote attacker can exploit these issues, via specially crafted 'User Name' or 'Domain' field in an EXEC_BAR request, to cause a stack-based buffer overflow, resulting in a denial of service or the execution of arbitrary code. (CVE-2016-2005, CVE-2016-2006)

- An overflow condition exists due to improper validation of user-supplied input. An unauthenticated, remote attacker can exploit this, via specially crafted EXEC_SCRIPT request, to cause a stack-based buffer overflow, resulting in a denial of service or the execution of arbitrary code. (CVE-2016-2007)

- An unspecified flaw exists that allows an unauthenticated, remote attacker to disclose sensitive information or execute arbitrary code. (CVE-2016-2008)

Solution

Upgrade to HP Data Protector 7.03 build 108 (7.03_108) / 8.15 / 9.06 or later per the vendor advisory.

Public Exploits


Target Network Port(s): 5555
Target Asset(s): Services/hp_openview_dataprotector
Exploit Available: True (Metasploit Framework, Exploit-DB, GitHub, Core Impact)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the HP Data Protector 7.0x < 7.03 build 108 / 8.1x < 8.15 / 9.0x < 9.06 Multiple Vulnerabilities (HPSBGN03580) (Bar Mitzvah) vulnerability:

  1. Metasploit: exploit/windows/misc/hp_dataprotector_encrypted_comms
    [HP Data Protector Encrypted Communication Remote Command Execution]
  2. Exploit-DB: exploits/windows/remote/39858.py
    [EDB-39858: HP Data Protector A.09.00 - Arbitrary Command Execution]
  3. Exploit-DB: exploits/windows/remote/39874.rb
    [EDB-39874: HP Data Protector A.09.00 - Encrypted Communications Arbitrary Command Execution (Metasploit)]
  4. GitHub: https://github.com/Artem-Salnikov/devops-netology
    [CVE-2015-2808]
  5. GitHub: https://github.com/Vladislav-Pugachev/netology-DevOps-dz_-14
    [CVE-2015-2808]
  6. GitHub: https://github.com/WiktorMysz/devops-netology
    [CVE-2015-2808]
  7. GitHub: https://github.com/alexandrburyakov/Rep2
    [CVE-2015-2808]
  8. GitHub: https://github.com/bysart/devops-netology
    [CVE-2015-2808]
  9. GitHub: https://github.com/ilya-starchikov/devops-netology
    [CVE-2015-2808]
  10. GitHub: https://github.com/mikemackintosh/ruby-qualys
    [CVE-2015-2808]
  11. GitHub: https://github.com/pashicop/3.9_1
    [CVE-2015-2808]
  12. GitHub: https://github.com/yellownine/netology-DevOps
    [CVE-2015-2808]

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-2016-2007
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)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C
CVSS Base Score:9.8 (Critical)
Impact Subscore:5.9
Exploitability Subscore:3.9
CVSS Temporal Score:9.1 (Critical)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:9.1 (Critical)

Go back to menu.

Plugin Source


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

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(90796);
  script_version("1.15");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id(
    "CVE-2015-2808",
    "CVE-2016-2004",
    "CVE-2016-2005",
    "CVE-2016-2006",
    "CVE-2016-2007",
    "CVE-2016-2008"
  );
  script_bugtraq_id(
    73684,
    87037,
    87040,
    87053,
    87055,
    87061
  );
  script_xref(name:"CERT", value:"267328");
  script_xref(name:"EDB-ID", value:"39858");
  script_xref(name:"HP", value:"emr_na-c05085988");
  script_xref(name:"HP", value:"HPSBGN03580");
  script_xref(name:"HP", value:"SSRT102163");
  script_xref(name:"HP", value:"PSRT102293");
  script_xref(name:"HP", value:"PSRT102979");
  script_xref(name:"HP", value:"PSRT102980");
  script_xref(name:"HP", value:"PSRT102981");
  script_xref(name:"HP", value:"PSRT102956");
  script_xref(name:"HP", value:"PSRT102948");
  script_xref(name:"ZDI", value:"ZDI-16-245");
  script_xref(name:"ZDI", value:"ZDI-16-246");
  script_xref(name:"ZDI", value:"ZDI-16-247");

  script_name(english:"HP Data Protector 7.0x < 7.03 build 108 / 8.1x < 8.15 / 9.0x < 9.06 Multiple Vulnerabilities (HPSBGN03580) (Bar Mitzvah)");

  script_set_attribute(attribute:"synopsis", value:
"The remote host is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of HP Data Protector installed on the remote host is 7.0x
prior to 7.03 build 108, 8.1x prior to 8.15, or 9.0x prior to 9.06. It
is, therefore, affected by the following vulnerabilities :

  - A security feature bypass vulnerability exists, known as
    Bar Mitzvah, due to improper combination of state data
    with key data by the RC4 cipher algorithm during the
    initialization phase. A man-in-the-middle attacker can
    exploit this, via a brute-force attack using LSB values,
    to decrypt the traffic. (CVE-2015-2808)

  - A flaw exists due to a failure to authenticate users,
    even with Encrypted Control Communications enabled. An
    unauthenticated, remote attacker can exploit this to
    execute arbitrary code. (CVE-2016-2004)

  - Multiple overflow conditions exist due to improper
    validation of user-supplied input. An unauthenticated,
    remote attacker can exploit these issues, via specially
    crafted 'User Name' or 'Domain' field in an EXEC_BAR
    request, to cause a stack-based buffer overflow,
    resulting in a denial of service or the execution of
    arbitrary code. (CVE-2016-2005, CVE-2016-2006)

  - An overflow condition exists due to improper validation
    of user-supplied input. An unauthenticated, remote
    attacker can exploit this, via specially crafted
    EXEC_SCRIPT request, to cause a stack-based buffer
    overflow, resulting in a denial of service or the
    execution of arbitrary code. (CVE-2016-2007)

  - An unspecified flaw exists that allows an
    unauthenticated, remote attacker to disclose sensitive
    information or execute arbitrary code. (CVE-2016-2008)");
  # http://h20565.www2.hpe.com/hpsc/doc/public/display?calledBy=&docId=emr_na-c05085988
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?b20bcde7");
  # https://www.blackhat.com/docs/asia-15/materials/asia-15-Mantin-Bar-Mitzvah-Attack-Breaking-SSL-With-13-Year-Old-RC4-Weakness-wp.pdf
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4bbf45ac");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-16-245/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-16-246/");
  script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-16-247/");
  script_set_attribute(attribute:"solution", value:
"Upgrade to HP Data Protector 7.03 build 108 (7.03_108) / 8.15 / 9.06
or later per the vendor advisory.");
  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_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:F/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2016-2007");

  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 Data Protector Encrypted Communication Remote Command Execution');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_set_attribute(attribute:"in_the_news", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2015/01/19");
  script_set_attribute(attribute:"patch_publication_date", value:"2016/04/18");
  script_set_attribute(attribute:"plugin_publication_date", value:"2016/04/29");

  script_set_attribute(attribute:"plugin_type", value:"combined");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:hp:storage_data_protector");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

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

  script_dependencies("os_fingerprint.nasl", "ssh_get_info.nasl", "hp_data_protector_installed.nasl", "hp_data_protector_installed_local.nasl");
  script_require_keys("Services/data_protector/version");
  script_require_ports("Services/hp_openview_dataprotector", 5555);

  exit(0);
}

include("hp_data_protector_version.inc");

port = get_service(svc:'hp_openview_dataprotector', default:5555, exit_on_fail:TRUE);

# patterns matching affected platforms
hpux_pat = "^11\.(11|23|31)$";
solaris_pat = "^5(\.|$|[^0-9])";
windows_pat = "^(5\.2|6\.\d+)$";
linux_pat = "(el[4-7]|Server release [4-7]|SLES(9|10|11))(\.|$|[^0-9])";

# patterns for matching against affected versions
ver_700_pat = "^A\.07\.0[0-3]$";
ver_800_pat = "^A\.08\.1[0-4]$";
ver_900_pat = "^A\.09\.0[0-5]$";

hp_data_protector_check(os:"hpux",
                        os_version_pat: hpux_pat,
                        version_pat: ver_700_pat,
                        fixed_internal_build: 108,
                        severity: SECURITY_HOLE,
                        port:port);

hp_data_protector_check(os:"linux",
                        os_version_pat: linux_pat,
                        version_pat: ver_700_pat,
                        fixed_internal_build: 108,
                        severity: SECURITY_HOLE,
                        port:port);

hp_data_protector_check(os:"windows",
                        os_version_pat: windows_pat,
                        version_pat: ver_700_pat,
                        fixed_internal_build: 108,
                        severity: SECURITY_HOLE,
                        port:port);

## 8.1x

hp_data_protector_check(os:"hpux",
                        os_version_pat: hpux_pat,
                        version_pat: ver_800_pat,
                        fixed_internal_build: 211,
                        severity: SECURITY_HOLE,
                        port:port);

hp_data_protector_check(os:"linux",
                        os_version_pat: linux_pat,
                        version_pat: ver_800_pat,
                        fixed_internal_build: 211,
                        severity: SECURITY_HOLE,
                        port:port);

hp_data_protector_check(os:"windows",
                        os_version_pat: windows_pat,
                        version_pat: ver_800_pat,
                        fixed_internal_build: 211,
                        severity: SECURITY_HOLE,
                        port:port);

## 9.0x

hp_data_protector_check(os:"hpux",
                        os_version_pat: hpux_pat,
                        version_pat: ver_900_pat,
                        fixed_internal_build: 107,
                        severity: SECURITY_HOLE,
                        port:port);

hp_data_protector_check(os:"linux",
                        os_version_pat: linux_pat,
                        version_pat: ver_900_pat,
                        fixed_internal_build: 107,
                        severity: SECURITY_HOLE,
                        port:port);

hp_data_protector_check(os:"windows",
                        os_version_pat: windows_pat,
                        version_pat: ver_900_pat,
                        fixed_internal_build: 107,
                        severity: SECURITY_HOLE,
                        port:port);

hp_data_protector_check_exit(port:port);

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

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

Go back to menu.

How to Run


Here is how to run the HP Data Protector 7.0x < 7.03 build 108 / 8.1x < 8.15 / 9.0x < 9.06 Multiple Vulnerabilities (HPSBGN03580) (Bar Mitzvah) 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 Misc. plugin family.
  6. On the right side table select HP Data Protector 7.0x < 7.03 build 108 / 8.1x < 8.15 / 9.0x < 9.06 Multiple Vulnerabilities (HPSBGN03580) (Bar Mitzvah) plugin ID 90796.
  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_data_protector_hpsbgn03580.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: CERT | Computer Emergency Response Team: Hewlett Packard Security:
  • emr_na-c05085988, HPSBGN03580, PSRT102293, PSRT102948, PSRT102956, PSRT102979, PSRT102980, PSRT102981, SSRT102163
ZDI | Zero Day Initiative: See also: Similar and related Nessus plugins:
  • 90941 - HP Data Protector Hard-coded Cryptographic Key (HPSBGN03580)
  • 66849 - HP Data Protector Multiple RCE Vulnerabilities
  • 71806 - HP Data Protector Multiple Vulnerabilities (HPSBMU02895 SSRT101253)
  • 76616 - HP Data Protector 8.x Arbitrary Command Execution (HPSBMU03072)
  • 53857 - HP Data Protector < A.06.20 Multiple Vulnerabilities
  • 79233 - HP Data Protector 'EXEC_INTEGUTIL' Arbitrary Command Execution
  • 100868 - H3C / HPE Intelligent Management Center PLAT < 7.3 E0504P04 Multiple Vulnerabilities
  • 102500 - H3C / HPE Intelligent Management Center PLAT < 7.3 E0506 Multiple Vulnerabilities
  • 103696 - H3C / HPE Intelligent Management Center PLAT < 7.3 E0506P03 Multiple Vulnerabilities
  • 71891 - HP Intelligent Management Center Branch Intelligent Management Module Multiple Vulnerabilities
  • 93079 - H3C / HPE Intelligent Management Center Java Object Deserialization RCE
  • 99728 - H3C / HPE Intelligent Management Center RMI Java Object Deserialization RCE
  • 118038 - HPE Intelligent Management Center dbman Command 10001 Information Disclosure
  • 100870 - HPE Intelligent Management Center dbman Opcode 10008 Command Injection
  • 125736 - HPE Intelligent Management Center dbman Multiple Vulnerabilities
  • 78110 - HP Printers Security Bypass (HPSBPI03107)
  • 73806 - HP LaserJet Pro Printers OpenSSL Heartbeat Information Disclosure (HPSBPI03014) (Heartbleed)
  • 76357 - HP Onboard Administrator < 4.22 Remote Information Disclosure
  • 76509 - HP BladeSystem c-Class Onboard Administrator 4.11 / 4.20 Heartbeat Information Disclosure (Heartbleed)
  • 78628 - HP Operations Manager / Operations Agent < 11.13 XSS (HPSBMU03126)
  • 111666 - HP Ink Printers Multiple Vulnerabilities (HPSBHF03589)
  • 85803 - HP Version Control Repository Manager for Linux < 7.5.0 Multiple Vulnerabilities (HPSBMU03396) (FREAK)
  • 81976 - HP ArcSight Logger < 6.0P1 Multiple Vulnerabilities
  • 46255 - HP Mercury LoadRunner Agent Remote Command Execution

Version


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

Go back to menu.