CVE-2012-5958

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…

published January 31, 2013

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.7th percentile for exploit probability.

CVSS
—
EPSS
83%
Percentile
99.7
In the wild
Unconfirmed
What it is

⚠️ A remote attacker could exploit a single crafted UDP packet to execute arbitrary code! This stack-based buffer overflow lurks in the UPnP library, ready to pounce. 🔍 Think of it like a restaurant that accepts any order without verifying it — a rogue chef could whip up a dish that has catastrophic results for unsuspecting diners. In this case, the server mishandles input and allows attackers to serve themselves a dangerous meal! This vulnerability could lead to a full system takeover, allowing an attacker to run malicious code remotely. Imagine an intruder gaining access to your kitchen and being able to change recipes at will or even sabotage the entire menu!

Put simply

Think of it like a restaurant that accepts any order without verifying it — a rogue chef could whip up a dish that has catastrophic results for unsuspecting diners. In this case, the server mishandles input and allows attackers to serve themselves a dangerous meal! The flaw resides in the `unique_service_name` function within the SSDP parser of the libupnp SDK. A buffer overflow occurs during pointer arithmetic, potentially allowing attackers to exploit this oversight to execute their own code.

What to do

This vulnerability could lead to a full system takeover, allowing an attacker to run malicious code remotely. Imagine an intruder gaining access to your kitchen and being able to change recipes at will or even sabotage the entire menu! To protect your systems, ensure you upgrade to libupnp version 1.6.18 or later, where this vulnerability is addressed. It's also wise to review your network configurations and limit incoming UDP traffic when possible. 🛡️ You've got this! Stay vigilant, apply the necessary updates, and keep your systems secure. 💪✨

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.83216 · 99.7th percentile
Published
2013-01-31T21:00Z
EPSS history
Timeline
  • 31 JAN 21:00Z
    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…
    cvelistv5