Debian DSA-2614-1 : libupnp - several vulnerabilities

critical Nessus Plugin ID 64395

Synopsis

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

Description

Multiple stack-based buffer overflows were discovered in libupnp, 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 libupnp could generate a buffer overflow, overwriting the stack, leading to the daemon crash and possible remote code execution.

Solution

Upgrade the libupnp packages.

For the stable distribution (squeeze), these problems have been fixed in version 1:1.6.6-5+squeeze1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699316

https://packages.debian.org/source/squeeze/libupnp

https://www.debian.org/security/2013/dsa-2614

https://www.tenable.com/security/research/tra-2017-10

Plugin Details

Severity: Critical

ID: 64395

File Name: debian_DSA-2614.nasl

Version: 1.13

Type: local

Agent: unix

Published: 2/4/2013

Updated: 1/11/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libupnp, 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: 2/1/2013

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: 2614

TRA: TRA-2017-10