libupnp Detection (UPnP)
🗓️ 08 Nov 2016 00:00:00Reported by Copyright (C) 2016 Greenbone AGType
openvas🔗 plugins.openvas.org👁 42 Views
# SPDX-FileCopyrightText: 2016 Greenbone AG
# 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-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.108015");
script_version("2025-12-02T05:40:47+0000");
script_tag(name:"last_modification", value:"2025-12-02 05:40:47 +0000 (Tue, 02 Dec 2025)");
script_tag(name:"creation_date", value:"2016-11-08 11:37:33 +0100 (Tue, 08 Nov 2016)");
script_tag(name:"cvss_base", value:"0.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:N");
script_name("libupnp Detection (UPnP)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2016 Greenbone AG");
script_family("Product detection");
script_dependencies("gb_upnp_udp_detect.nasl");
script_require_udp_ports("Services/udp/upnp", 1900);
script_mandatory_keys("upnp/udp/detected");
script_tag(name:"summary", value:"UPnP based detection of libupnp.");
script_tag(name:"qod_type", value:"remote_banner");
exit(0);
}
include("port_service_func.inc");
port = service_get_port( default:1900, proto:"upnp", ipproto:"udp" );
server = get_kb_item( "upnp/udp/" + port + "/server" );
if( server && "sdk for upnp" >< tolower( server ) ) {
server = chomp( server );
version = "unknown";
# SERVER: Linux/3.14.29, UPnP/1.0, Portable SDK for UPnP devices
# SERVER: Linux/2.6.39.3, UPnP/1.0, Portable SDK for UPnP devices/1.6.18
# SERVER: Linux/2.6.21, UPnP/1.0, Intel SDK for UPnP devices /1.2
# SERVER: Linux/2.6.15--LSDK-7.3.0.304, UPnP/1.0, Intel SDK for UPnP devices/1.3.1
# SERVER: Linux/3.4.69-svn43246 UPnP/1.0, Intel SDK for UPnP devices
# SERVER: PACKAGE_VERSION WIND version 2.8, UPnP/1.0, WindRiver SDK for UPnP devices/
# SERVER: Linux/3.10.20-UBNT, UPnP/1.0, Portable SDK for UPnP devices/1.8.0~svn20100401
vers = eregmatch( pattern:"(Portable|Intel|WindRiver) SDK for UPnP devices\s*/([0-9.]+)", string:server, icase:TRUE );
if( ! isnull( vers[2] ) )
version = vers[2];
set_kb_item( name:"libupnp/detected", value:TRUE );
set_kb_item( name:"libupnp/upnp/detected", value:TRUE );
set_kb_item( name:"libupnp/upnp/port", value:port );
set_kb_item( name:"libupnp/upnp/" + port + "/version", value:version );
set_kb_item( name:"libupnp/upnp/" + port + "/concluded", value:server );
}
exit( 0 );
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
02 Dec 2025 00:00Current
7High risk
Vulners AI Score7