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 uuid) field within a string that contains a :: (colon colon) in a UDP packet.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 6.0 | libupnp | 1:1.6.6-5+squeeze1 | DSA-2614-1 |
| Debian 6.0 | libupnp4 | 1.8.0~svn20100507-1+squeeze1 | DSA-2615-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
UPnP SSDP M-SEARCH Information Discovery
auxiliary/scanner/upnp/ssdp_msearch
Exploit-DB 1
- Portable UPnP SDK - 'unique_service_name()' Remote Code Execution (Metasploit) EDB-24455 · remote · Feb 5, 2013 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- DSA-2615-1 libupnp4 - several Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-2614-1 libupnp - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- 20130129 Portable SDK for UPnP Devices Contains Buffer Overflow Vulnerabilities vendor-advisory
- MDVSA-2013:098 vendor-advisory
- http://tsd.dlink.com.tw/temp/PMD/12960/DSR-150N_A2_Release_Notes_FW_v1.05B64_WW.pdf
- https://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf
- http://tsd.dlink.com.tw/temp/PMD/12879/DSR-500_500N_1000_1000N_A1_Release_Notes_FW_v1.08B77_WW.pdf
- DSA-2615 vendor-advisory
- http://tsd.dlink.com.tw/temp/PMD/12966/DSR-150_A1_A2_Release_Notes_FW_v1.08B44_WW.pdf
- http://tsd.dlink.com.tw/temp/PMD/13039/DSR-250_250N_A1_A2_Release_Notes_FW_v1.08B44_WW_RU.pdf
- DSA-2614 vendor-advisory
- 57602 vdb-entry
- https://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFb
- 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
- VU#922681 third-party-advisory
- https://www.tenable.com/security/research/tra-2017-10
- openSUSE-SU-2013:0255 vendor-advisory
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0037