#VU43134 Stack-based buffer overflow in libupnp - CVE-2012-5961

 

#VU43134 Stack-based buffer overflow in libupnp - CVE-2012-5961

Published: January 31, 2013 / Updated: August 11, 2020


Vulnerability identifier: #VU43134
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2012-5961
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
libupnp
Software vendor:
pupnp.sourceforge.net

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser when processing a long UDN (aka device) field in a UDP packet. Per CERT's advisory additional products may be affected: http://www.kb.cert.org/vuls/id/922681 "Hundreds of vendors have used the libupnp library in their products, many of which are acting as the home routers for consumer networks. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

External links