portable SDK for UPnP 1.3.1 unique_service_name memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability was found in portable SDK for UPnP 1.3.1. It has been rated as very critical. Affected by this issue is the function unique_service_name. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. CVE summarizes:

Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable SDK for UPnP Devices (aka libupnp, formerly the Intel SDK for UPnP devices) 1.3.1 allows remote attackers to execute arbitrary code via a long UDN (aka device) field in a UDP packet.

The weakness was released 01/31/2013 with Rapid7 as confirmed advisory (CERT.org). The advisory is shared for download at kb.cert.org. This vulnerability is handled as CVE-2012-5961 since 11/21/2012. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 12/22/2021).

The vulnerability scanner Nessus provides a plugin with the ID 64395 (Debian DSA-2614-1 : libupnp - several vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 166164 (SUSE Security Update for libupnp (openSUSE-SU-2013:0255-1)).

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 12801.

The vulnerability is also documented in the databases at X-Force (81605) and Tenable (64395). Entries connected to this vulnerability are available at 63480, 63479, 63478 and 63477.




CPE 2.3info

CPE 2.2info


VulDB Meta Base Score: 10.0
VulDB Meta Temp Score: 10.0

VulDB Base Score: 10.0
VulDB Temp Score: 10.0
VulDB Vector: 🔍
VulDB Reliability: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Memory corruption
CWE: CWE-119
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 64395
Nessus Name: Debian DSA-2614-1 : libupnp - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 892614
OpenVAS Name: Debian Security Advisory DSA 2614-1 (libupnp - several vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍
Suricata ID: 2016326
Suricata Class: 🔍
Suricata Message: 🔍

TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

PaloAlto IPS: 🔍
Fortigate IPS: 🔍


11/21/2012 🔍
01/29/2013 +69 days 🔍
01/29/2013 +0 days 🔍
01/31/2013 +2 days 🔍
01/31/2013 +0 days 🔍
02/03/2013 +3 days 🔍
03/24/2015 +779 days 🔍
12/22/2021 +2464 days 🔍


Advisory: DSA-2614
Organization: Rapid7
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2012-5961 (🔍)

X-Force: 81605
Vulnerability Center: 38275 - [cisco-sa-20130129-upnp] Portable SDK for UPnP Devices Buffer Overflow Allows Remote Code Execution (CVE-2012-5961), Critical
SecurityFocus: 57602 - libupnp Multiple Buffer Overflow Vulnerabilities

See also: 🔍


Created: 03/24/2015 12:22 PM
Updated: 12/22/2021 12:33 AM
Changes: 03/24/2015 12:22 PM (70), 04/24/2017 10:17 AM (9), 12/22/2021 12:12 AM (2), 12/22/2021 12:25 AM (1), 12/22/2021 12:33 AM (2)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!