| Source | Link |
|---|---|
| nessus | www.nessus.org/u |
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include("compat.inc");
if (description)
{
script_id(64701);
script_version("1.4");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");
script_name(english:"EMC Data Protection Advisor CXML Service Detection");
script_set_attribute(attribute:"synopsis", value:
"The remote host is running an automated analysis and alerting system
for backup and replication infrastructure.");
script_set_attribute(attribute:"description", value:
"The CXML service for EMC Data Protection Advisor, an automated analysis
and alerting system for backup and replication infrastructure, was
detected on the remote host.");
# https://www.emc.com/data-protection/data-protection-advisor.htm
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3822e756");
script_set_attribute(attribute:"solution", value:
"n/a");
script_set_attribute(attribute:"risk_factor", value:"None");
script_set_attribute(attribute:"plugin_publication_date", value:"2013/02/20");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"asset_inventory", value:"True");
script_set_attribute(attribute:"cpe", value:"cpe:/a:emc:data_protection_advisor");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Service detection");
script_copyright(english:"This script is Copyright (C) 2013-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("find_service1.nasl", "find_service2.nasl");
script_require_ports("Services/unknown", 3916);
exit(0);
}
include("global_settings.inc");
include("misc_func.inc");
is_vuln = FALSE;
port_list = make_list(3916);
if (thorough_tests && ! get_kb_item("global_settings/disable_service_discovery"))
{
additional_ports = get_kb_list("Services/unknown");
if (!isnull(additional_ports))
port_list = make_list(port_list, additional_ports);
}
port_list = list_uniq(port_list);
foreach port (port_list)
{
if (!get_tcp_port_state(port)) continue;
if (!service_is_unknown(port: port))
{
if (get_kb_item("Known/tcp/" + port) != "emc_cxml") continue;
}
soc = open_sock_tcp(port);
if (!soc) continue;
req = "58/58/UNB<CXMLREQUEST><GETSTATUSINFO></GETSTATUSINFO></CXMLREQUEST>";
send(socket:soc, data:req);
res = recv(socket:soc, length:1024);
close(soc);
if (
"<CXMLRESULT>" >< res &&
"<FORMATTED>" >< res &&
"</FORMATTED>" >< res &&
"<PRODUCT>DPA</PRODUCT>" >< res
)
{
item = eregmatch(pattern:"<FORMATTED>([^<]+)</FORMATTED>", string:res);
if (isnull(item)) continue;
is_vuln = TRUE;
register_service(ipproto:"tcp", proto:"emc_cxml", port:port);
set_kb_item(name:"emc_cxml/version/" + port, value:item[1]);
if (report_verbosity > 0)
{
report = '\n Source : ' + item[0] +
'\n Version : ' + item[1] + '\n';
security_note(port:port, protocol:"tcp", extra:report);
}
else security_note(port);
}
}
if (!is_vuln) exit(0, 'Nessus did not detect any remote EMC Data Protection CXML services.');
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