CVE-2012-5961
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…
- Published
- Updated
- Reserved
- Assigned by
- certcc
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) 1.3.1 allows remote attackers to execute arbitrary code via a long UDN (aka device) field in a UDP packet.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it.
Exploit-DB1 entry
- Portable UPnP SDK - 'unique_service_name()' Remote Code Execution (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 24455remote, unixpublished 5 Feb 2013Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By certcc
- 2 months later
· 2 months later
Published
- 12 years later
· 12 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 36.9% · top 1.5% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 10.0.
Weakness
Affected products
n/a
- affected n/a
References (15)
- 20130129 Portable SDK for UPnP Devices Contains Buffer Overflow Vulnerabilities (opens in a new tab)vendor-advisoryx_refsource_CISCOx_transferred
- MDVSA-2013:098 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- http://tsd.dlink.com.tw/temp/PMD/12960/DSR-150N_A2_Release_Notes_FW_v1.05B64_WW.pdf (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf (opens in a new tab)x_refsource_MISCx_transferred
- http://tsd.dlink.com.tw/temp/PMD/12879/DSR-500_500N_1000_1000N_A1_Release_Notes_FW_v1.08B77_WW.pdf (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-2615 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- http://tsd.dlink.com.tw/temp/PMD/12966/DSR-150_A1_A2_Release_Notes_FW_v1.08B44_WW.pdf (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://tsd.dlink.com.tw/temp/PMD/13039/DSR-250_250N_A1_A2_Release_Notes_FW_v1.08B44_WW_RU.pdf (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-2614 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 57602 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFb (opens in a new tab)x_refsource_MISCx_transferred
- http://pupnp.sourceforge.net/ChangeLog (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://community.rapid7.com/community/infosec/blog/2013/01/29/security-flaws-in-universal-plug-and-play-unplug-dont-play (opens in a new tab)x_refsource_MISCx_transferred
- VU#922681 (opens in a new tab)third-party-advisoryx_refsource_CERT-VNx_transferred
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0037 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2012-5835 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2012-5961)Record last updated .