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) before 1.6.18 allows remote attackers to execute arbitrary code via a UDP packet with a crafted string that is not properly handled after a certain pointer subtraction.
Published 2013-01-31 21:55:01
Updated 2020-11-28 19:15:12
Source CERT/CC
View at NVD,   CVE.org
Vulnerability category: OverflowExecute code

Products affected by CVE-2012-5958

Exploit prediction scoring system (EPSS) score for CVE-2012-5958

97.40%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 100 %
Percentile, the proportion of vulnerabilities that are scored at or less

Metasploit modules for CVE-2012-5958

  • UPnP SSDP M-SEARCH Information Discovery
    First seen: 2020-04-26
    auxiliary/scanner/upnp/ssdp_msearch
    Discover information from UPnP-enabled systems Authors: - todb <todb@metasploit.com> - hdm <x@hdm.io>
  • Portable UPnP SDK unique_service_name() Remote Code Execution
    Disclosure Date: 2013-01-29
    First seen: 2020-04-26
    exploit/multi/upnp/libupnp_ssdp_overflow
    This module exploits a buffer overflow in the unique_service_name() function of libupnp's SSDP processor. The libupnp library is used across thousands of devices and is referred to as the Intel SDK for UPnP Devices or the Portable SDK for UPnP Devices. Due

CVSS scores for CVE-2012-5958

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
10.0
HIGH AV:N/AC:L/Au:N/C:C/I:C/A:C
10.0
10.0
NIST

CWE ids for CVE-2012-5958

  • The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
    Assigned by: nvd@nist.gov (Primary)

References for CVE-2012-5958

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!