Files
CVEs-PoC/2012/CVE-2012-5958.md
2025-09-29 21:09:30 +02:00

23 lines
1.1 KiB
Markdown

### [CVE-2012-5958](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5958)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen)
### 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 UDP packet with a crafted string that is not properly handled after a certain pointer subtraction.
### POC
#### Reference
- http://packetstormsecurity.com/files/160242/libupnp-1.6.18-Denial-Of-Service.html
- http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnp
- https://www.tenable.com/security/research/tra-2017-10
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/CVEDB/PoC-List
- https://github.com/CVEDB/awesome-cve-repo
- https://github.com/lochiiconnectivity/vulnupnp