Debian DSA-2615-1 : libupnp4 - several vulnerabilities

Critical Nessus Plugin ID 64396


The remote Debian host is missing a security-related update.


Multiple stack-based buffer overflows were discovered in libupnp4, a library used for handling the Universal Plug and Play protocol. HD Moore from Rapid7 discovered that SSDP queries where not correctly handled by the unique_service_name() function.

An attacker sending carefully crafted SSDP queries to a daemon built on libupnp4 could generate a buffer overflow, overwriting the stack, leading to the daemon crash and possible remote code execution.


Upgrade the libupnp4 packages.

For the stable distribution (squeeze), these problems have been fixed in version 1.8.0~svn20100507-1+squeeze1.

See Also

Plugin Details

Severity: Critical

ID: 64396

File Name: debian_DSA-2615.nasl

Version: 1.12

Type: local

Agent: unix

Published: 2013/02/04

Updated: 2020/03/12

Dependencies: 12634

Risk Information

Risk Factor: Critical

CVSS v2.0

Base Score: 10

Temporal Score: 8.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libupnp4, cpe:/o:debian:debian_linux:6.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2013/02/01

Exploitable With

Metasploit (Portable UPnP SDK unique_service_name() Remote Code Execution)

Reference Information

CVE: CVE-2012-5958, CVE-2012-5959, CVE-2012-5960, CVE-2012-5961, CVE-2012-5962, CVE-2012-5963, CVE-2012-5964, CVE-2012-5965

BID: 57602

DSA: 2615

TRA: TRA-2017-10