CVE-2012-5958 is a stack-based buffer overflow in the SSDP parser of the Portable SDK for UPnP Devices (libupnp, formerly Intel SDK for UPnP Devices) prior to 1.6.18. The flaw is in the unique_service_name function in ssdp/ssdp_server.c, where a crafted string in a UDP SSDP packet is not properly handled after a pointer subtraction, leading to stack memory corruption. A remote attacker can trigger the overflow via a specially crafted UDP packet, potentially resulting in arbitrary code execution in the context of the vulnerable UPnP service, or a crash/denial of service.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (3 hidden).
This repository contains a single Metasploit exploit module targeting a buffer overflow vulnerability (CVE-2012-5958) in the unique_service_name() function of the libupnp library's SSDP processor. The exploit is designed for devices using the Portable UPnP SDK, such as Supermicro IPMI (Intel SDK 1.3.1) and Axis Camera M1011 (UPnP/1.4.1). The module sends a specially crafted SSDP (Simple Service Discovery Protocol) M-SEARCH request to the target's UDP port 1900 (the standard UPnP multicast address), triggering a buffer overflow and enabling remote code execution. Due to payload size limitations on many embedded devices, the exploit stages the actual payload via a secondary TCP connection, the address and port of which are configurable (CBHOST and CBPORT). The module includes fingerprinting logic to identify compatible targets based on their SSDP responses. The code is written in Ruby and is structured as a standard Metasploit module, with options for target selection, payload configuration, and network parameters. The exploit is operational and provides remote command execution capabilities on vulnerable devices.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.