CVE-2012-5963

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

CVSS
—
EPSS
37%
Percentile
98.5
In the wild
Unconfirmed
What it is

⚠️ A length-y UDN is all it takes to exploit this stack-based buffer overflow! An attacker can unleash chaos via a single malformed UDP packet sent to the SSDP parser in libupnp. 🔥 Think of this vulnerability like an overflowing suitcase at an airport check-in. If someone slips in an extra-large item that the system can't handle, it creates a mess, possibly letting unwanted things through while disrupting everything else! An attacker could execute arbitrary code on the system, potentially leading to unauthorized access or system control. This could allow them to manipulate the device, steal information, or even launch further attacks within the network, making this a surprisingly sneaky threat.

Put simply

Think of this vulnerability like an overflowing suitcase at an airport check-in. If someone slips in an extra-large item that the system can't handle, it creates a mess, possibly letting unwanted things through while disrupting everything else! This vulnerability stems from a stack-based buffer overflow in the unique_service_name function within the SSDP parser of libupnp. It happens when a long UDN field is processed, lacking the necessary delimiter, which allows attackers to craft malicious UDP packets.

What to do

An attacker could execute arbitrary code on the system, potentially leading to unauthorized access or system control. This could allow them to manipulate the device, steal information, or even launch further attacks within the network, making this a surprisingly sneaky threat. Update libupnp to the latest version where this vulnerability is patched. Review your UPnP configurations and consider disabling UPnP support if it’s not needed. Regularly audit your applications that utilize this library for any suspicious activity. You've got this! With a few updates and precautions, you'll be securing your devices like a pro. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.36925 · 98.5th 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