Exploitation Summary
CVE-2012-5959 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 2 public exploits.
AI-analyzed exploit summary This repository contains a functional proof-of-concept exploit for CVE-2012-5959, a denial-of-service (DoS) vulnerability in libupnp 1.6.13. The exploit sends a malformed SSDP M-SEARCH request with an overly long UUID field to trigger a crash in the target service.
Description
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 long UDN (aka uuid) field within a string that contains a :: (colon colon) in a UDP packet.
Exploits (2)
This repository contains a functional proof-of-concept exploit for CVE-2012-5959, a denial-of-service (DoS) vulnerability in libupnp 1.6.13. The exploit sends a malformed SSDP M-SEARCH request with an overly long UUID field to trigger a crash in the target service.
This Metasploit module exploits a buffer overflow in the `unique_service_name()` function of libupnp's SSDP processor, allowing remote code execution on vulnerable devices. It stages the payload over a secondary TCP connection due to size limitations.