#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if(description)
{
script_id(11765);
script_version("1.19");
script_cvs_date("Date: 2019/11/22");
script_name(english:"UPnP TCP Helper Detection");
script_set_attribute(attribute:"synopsis", value:
"The remote host appears to be running Microsoft UPnP TCP
helper." );
script_set_attribute(attribute:"description", value:
"The remote host is running Microsoft UPnP TCP helper.
If the tested network is not a home network, you should
disable this service." );
script_set_attribute(attribute:"solution", value:
"Set the following registry key :
Location : HKLM\SYSTEM\CurrentControlSet\Services\SSDPSRV
Key : Start
Value : 0x04" );
script_set_attribute(attribute:"risk_factor", value:"None" );
script_set_attribute(attribute:"plugin_publication_date", value: "2003/06/19");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"asset_inventory", value:"True");
script_end_attributes();
script_summary(english:"UPnP/tcp scan");
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2003-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_family(english:"Windows");
script_require_ports(5000);
exit(0);
}
include('global_settings.inc');
if ( report_paranoia < 1 ) exit(0);
if(get_port_state(5000))
{
soc = open_sock_tcp(5000);
if( !soc)exit(0);
send(socket:soc, data:'\r\n\r\n');
r = recv_line(socket:soc, length:4096);
if("HTTP/1.1 400 Bad Request" >< r)
{
security_note(5000);
}
}
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