Debian DSA-2615-1 : libupnp4 - several vulnerabilities

critical Nessus Plugin ID 64396

Synopsis

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

Description

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.

Solution

Upgrade the libupnp4 packages.

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

See Also

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

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

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

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

Plugin Details

Severity: Critical

ID: 64396

File Name: debian_DSA-2615.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: cpe:/o:debian:debian_linux:6.0, p-cpe:/a:debian:debian_linux:libupnp4

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

TRA: TRA-2017-10