Vulnerabilities > CVE-2011-1865 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in HP Openview Storage Data Protector

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
exploit available
metasploit

Summary

Multiple stack-based buffer overflows in the inet service in HP OpenView Storage Data Protector 6.00 through 6.20 allow remote attackers to execute arbitrary code via a request containing crafted parameters.

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.

Exploit-Db

  • descriptionHP Data Protector 6.20 - Multiple Vulnerabilities. CVE-2011-1865. Dos exploit for windows platform
    fileexploits/windows/dos/17458.txt
    idEDB-ID:17458
    last seen2016-02-02
    modified2011-06-29
    platformwindows
    port
    published2011-06-29
    reporterCore Security
    sourcehttps://www.exploit-db.com/download/17458/
    titleHP Data Protector 6.20 - Multiple Vulnerabilities
    typedos
  • descriptionHP OmniInet.exe Opcode 20 Buffer Overflow. CVE-2011-1865. Remote exploit for windows platform
    fileexploits/windows/remote/17490.rb
    idEDB-ID:17490
    last seen2016-02-02
    modified2011-07-04
    platformwindows
    port
    published2011-07-04
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/17490/
    titleHP OmniInet.exe Opcode 20 - Buffer Overflow
    typeremote
  • descriptionHP Data Protector 6.11 Remote Buffer Overflow DEP ROP. CVE-2011-1865. Remote exploit for windows platform
    fileexploits/windows/remote/17468.py
    idEDB-ID:17468
    last seen2016-02-02
    modified2011-07-02
    platformwindows
    port5555
    published2011-07-02
    reportermuts and dookie
    sourcehttps://www.exploit-db.com/download/17468/
    titleHP Data Protector 6.11 - Remote Buffer Overflow + DEP Bypass
    typeremote
  • descriptionHP OmniInet.exe Opcode 27 Buffer Overflow. CVE-2011-1865. Remote exploit for windows platform
    fileexploits/windows/remote/17467.rb
    idEDB-ID:17467
    last seen2016-02-02
    modified2011-07-01
    platformwindows
    port5555
    published2011-07-01
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/17467/
    titleHP OmniInet.exe - Opcode 27 Buffer Overflow
    typeremote

Metasploit

Nessus

NASL familyWindows
NASL idHP_DATA_PROTECTOR_0620_MULTIPLE_VULNS_CREDS.NASL
descriptionThe version of HP Data Protector installed on the remote Windows host is affected by one or more of the following vulnerabilities : - Multiple denial of service vulnerabilities exist in the
last seen2020-06-01
modified2020-06-02
plugin id55551
published2011-07-11
reporterThis script is Copyright (C) 2011-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/55551
titleHP Data Protector <= A.06.20 Multiple Vulnerabilities (credentialed check)
code
#
# (C) Tenable Network Security, Inc.
#

include('compat.inc');

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

  script_cve_id(
    "CVE-2011-1514",
    "CVE-2011-1515",
    "CVE-2011-1865", 
    "CVE-2011-1866"
  );
  script_bugtraq_id(48486, 48488);
  script_xref(name:"Secunia", value:"45100");

  script_name(english:"HP Data Protector <= A.06.20 Multiple Vulnerabilities (credentialed check)");
  script_summary(english:"Checks if encrypted control communication services is enabled.");

  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 Data Protector installed on the remote Windows host
is affected by one or more of the following vulnerabilities :

  - Multiple denial of service vulnerabilities exist in the
    'data protect inet' service. (CVE-2011-1514, 
    CVE-2011-1515)

  - A buffer overflow vulnerability exists in the 'data
    protector inet' service that can be exploited via 
    EXEC_CMD. (CVE-2011-1864)

  - A buffer overflow vulnerability exists in the inet
    service that could result in code execution via a 
    request containing crafted parameters. (CVE-2011-1865)");

  # http://www.coresecurity.com/content/HP-Data-Protector-EXECCMD-Vulnerability
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?6d655681");
  # http://www.coresecurity.com/content/HP-Data-Protector-multiple-vulnerabilities
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?79bee660");
  # http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02872182
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?0e38ce76");
  script_set_attribute(attribute:"solution", value:
"1. Upgrade to Data Protector A.06.20 or later and

2. Enable encrypted control communication services on cell server and
   all clients in cell.");
  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:"exploithub_sku", value:"EH-12-076");
  script_set_attribute(attribute:"exploit_framework_exploithub", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'HP OmniInet.exe Opcode 20 Buffer Overflow');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2011/06/29");
  script_set_attribute(attribute:"patch_publication_date", value:"2011/04/25");
  script_set_attribute(attribute:"plugin_publication_date", value:"2011/07/11");

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

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

  script_copyright(english:"This script is Copyright (C) 2011-2018 Tenable Network Security, Inc.");

  script_dependencies("hp_data_protector_installed_local.nasl");
  script_require_keys("SMB/HP Data Protector/Version");

  exit(0);
}

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

version = get_kb_item_or_exit('SMB/HP Data Protector/Version');
encrypted_comm = get_kb_item_or_exit('SMB/HP Data Protector/Encrypted');
verui = get_kb_item('SMB/HP Data Protector/VersionUI');
type = get_kb_item('SMB/HP Data Protector/Type');
path = get_kb_item('SMB/HP Data Protector/Path');

if (encrypted_comm) encrypted_comm = 'True';
else encrypted_comm = 'False';

ver = split(version, sep:'.', keep:FALSE);
for (i=0; i<max_index(ver); i++)
  ver[i] = int(ver[i]);

if (
  ver[0] < 6 || 
  (ver[0] == 6 && ver[1] < 20) ||
  (ver[0] == 6 && ver[1] == 20 && encrypted_comm == 'False')
)
{
  if (report_verbosity > 0)
  {
    report = 
      '\n  Path              : ' + path + 
      '\n  Install type      : ' + type +
      '\n  Encryption        : ' + encrypted_comm + 
      '\n  Installed version : ' + verui +
      '\n  Fixed version     : A.06.20 with encrypted control communications services \n';
    security_hole(port:get_kb_item('SMB/transport'), extra:report);
  }
  else security_hole(get_kb_item('SMB/transport'));
  exit(0);
}
else exit(0, 'The HP Data Protector '+verui+' install is not affected.');

Packetstorm

Saint

bid48486
descriptionHP OpenView Storage Data Protector Opcode 27 Stack Buffer Overflow
idnet_ovsdpver
osvdb73571
titlehp_data_protector_opcode_27
typeremote

Seebug

bulletinFamilyexploit
descriptionNo description provided by source.
idSSV:71823
last seen2017-11-19
modified2014-07-01
published2014-07-01
reporterRoot
sourcehttps://www.seebug.org/vuldb/ssvid-71823
titleHP Data Protector 6.20 - Multiple Vulnerabilities