CVE-2012-5960
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 upnp:rootdevice) field in a UDP packet.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
32.627%
chance of exploitation in the next 30 days
higher than 98.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Timeline
- 2013-01-31Published by the CNA21:00 UTC
- 2013-02-05First Exploit-DB entry (EDB-ID 24455)5 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 24455 | remote | unix | 2013-02-05 | yes |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| portable_sdk_for_upnp_project portable_sdk_for_upnp | 1.4.0no fix listed1.4.1no fix listed1.4.2no fix listed1.4.3no fix listed1.4.4no fix listed(+21 more) | not listednot listednot listednot listednot listed |
References
- http://www.kb.cert.org/vuls/id/922681
- http://lists.opensuse.org/opensuse-updates/2013-02/msg00013.html
- http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnp
- http://www.debian.org/security/2013/dsa-2614
- http://www.debian.org/security/2013/dsa-2615
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:098
- http://www.securityfocus.com/bid/57602
- http://pupnp.sourceforge.net/ChangeLog
- https://community.rapid7.com/community/infosec/blog/2013/01/29/security-flaws-in-universal-plug-and-play-unplug-dont-play
- https://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf
- https://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFb
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0037
- https://www.tenable.com/security/research/tra-2017-10
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2012-5960'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2012-5960'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2012-5960'curl 'https://api.contrastcyber.com/cve_products/CVE-2012-5960'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).