Lucene search
K

HP Data Protector DPNECentral Web Service Detection

🗓️ 29 Mar 2012 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 32 Views

HP Data Protector DPNECentral Web Service, a component for managing backup policies, is hosted on the remote web server

Refs
Code
SourceLink
nessuswww.nessus.org/u
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(58526);
  script_version("1.5");
  script_cvs_date("Date: 2019/11/25");

  script_name(english:"HP Data Protector DPNECentral Web Service Detection");
  script_summary(english:"Checks for HP Data Protector DPNECentral Web Service");

  script_set_attribute(attribute:"synopsis", value:"A policy service is hosted on the remote web server.");
  script_set_attribute(attribute:"description", value:
"HP Data Protector DPNECentral Web Service, a component of HP Data
Protector for managing backup policies, is hosted on the remote web
server.

This service is installed with HP Data Protector for PCs, HP Data
Protector Notebook Extension, and possibly other HP Data Protector
software.");
  # http://www8.hp.com/us/en/software-solutions/software.html?compURI=1175640#.UZUHuEpIFXw
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d9b227f2");
  script_set_attribute(attribute:"solution", value:"n/a");
  script_set_attribute(attribute:"risk_factor", value:"None");

  script_set_attribute(attribute:"plugin_publication_date", value:"2012/03/29");

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

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

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

  script_dependencies("http_version.nasl");
  script_exclude_keys("Settings/disable_cgi_scanning");
  script_require_ports("Services/www", 80);

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("webapp_func.inc");

port = get_http_port(default:80);

# Start with a GET request to make sure we're looking at the proper service
res = http_send_recv3(
  method:'GET',
  item:'/dpnepolicyservice/DPNECentral.asmx',
  port:port,
  exit_on_fail:1
);
if (isnull(res[2]) || "DPNECentral Web Service" >!< res[2])
  exit(0, "The web server listening on port "+port+" does not appear to be Data Protector DPNECentral Web Service.");

# Send a get_ServerVersion request
postdata =
  '<?xml version="1.0" encoding="utf-8"?>\n' +
  '<soap:Envelope\n' +
  '  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"\n' +
  '  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\n' +
  '  xmlns:xsd="http://www.w3.org/2001/XMLSchema">\n' +
  '  <soap:Body>\n' +
  '    <get_ServerVersion\n' +
  '      xmlns="http://hp.com/"/>\n' +
  '  </soap:Body>\n' +
  '</soap:Envelope>\n';

res = http_send_recv3(
  method:'POST',
  item:'/dpnepolicyservice/DPNECentral.asmx',
  port:port,
  version:11,
  add_headers:make_array(
    'Content-Type', 'text/xml; charset=utf-8',
    'SOAPAction', '"http://hp.com/get_ServerVersion"'
  ),
  data:postdata,
  exit_on_fail:1
);

installs = NULL;
version = NULL;
if (
  'HTTP/1.1 200 OK' >< res[0] &&
  '<soap:Body>' >< res[2] &&
  '<get_ServerVersionResult>' >< res[2]
)
{
  # Extract the version number
  start = stridx(res[2], '<get_ServerVersionResult>') + strlen('<get_ServerVersionResult>');
  end = stridx(res[2], '</get_ServerVersionResult>') - 1;
  if (start >= 0 && end > start)
  {
    version = substr(res[2], start, end);
  }
  installs = add_install(
    installs:installs,
    ver:version,
    dir:'/dpnepolicyservice',
    appname:'dpnepolicyservice',
    port:port,
    cpe: "cpe:/a:hp:storage_data_protector"
  );
}

if (isnull(installs))
  exit(1, 'Failed to extract the version of HP Data Protector DPNECentral Web Service hosted on the web server listening on port '+port+'.');

if (report_verbosity > 0)
{
  report = get_install_report(
    display_name:'HP Data Protector DPNECentral Web Service',
    installs:installs,
    port:port
  );
  security_note(port:port, extra:report);
}
else security_note(port);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

25 Nov 2019 00:00Current
5.5Medium risk
Vulners AI Score5.5
32