{"id":"CVE-2012-5959","published":"2013-01-31T21:00:00Z","modified":"2024-08-06T21:21:28Z","title":"Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is a stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c, part of the SSDP parser in the portable SDK for UPnP Devices (libupnp, formerly the Intel SDK for UPnP devices). An attacker who sends a UDP packet containing a long UDN (uuid) field within a string that includes a colon-colon sequence can overflow the stack and execute arbitrary code remotely, with no authentication or user interaction indicated.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:15:08Z"},"cvss":null,"epss":{"score":0.75796,"percentile":0.99523,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2018-07-13","exploitedFirstSeen":"2018-07-13","ransomware":false,"evidence":[{"url":"https://www.trendmicro.com/en_us/research/18/g/vpnfilter-affected-devices-still-riddled-with-19-vulnerabilities.html","date":"2018-07-13"},{"url":"https://www.researchgate.net/publication/348602660_An_analysis_of_the_use_of_CVEs_by_IoT_malware","date":"2020-12-01"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":3,"pulses":[{"name":"ripe.arin.enom.cpanel.cpcalendar.iana.networksolutions.02050.webdisk.webmail.","url":"https://otx.alienvault.com/pulse/69fdc02bea1e4ec923b01688","created":"2026-05-08"},{"name":"pulse2","url":"https://otx.alienvault.com/pulse/662edc10a9158fb6cbe169ee","created":"2024-04-28"},{"name":"MUI programu Microsoft Office Access (w języku angielskim) zostało użyte do wysłania złośliwego oprogramowania na serwer w Czechach jest to pierwszy tego typu atak na komputer.                     e","url":"https://otx.alienvault.com/pulse/6608aaf7ca0e965e593ed1d4","created":"2024-03-31"}],"provenance":"machine"},"cwes":[],"references":[{"url":"http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20130129-upnp","tags":["vendor-advisory","x_refsource_CISCO"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:098","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://tsd.dlink.com.tw/temp/PMD/12960/DSR-150N_A2_Release_Notes_FW_v1.05B64_WW.pdf","tags":["x_refsource_CONFIRM"]},{"url":"https://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf","tags":["x_refsource_MISC"]},{"url":"http://tsd.dlink.com.tw/temp/PMD/12879/DSR-500_500N_1000_1000N_A1_Release_Notes_FW_v1.08B77_WW.pdf","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2013/dsa-2615","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://tsd.dlink.com.tw/temp/PMD/12966/DSR-150_A1_A2_Release_Notes_FW_v1.08B44_WW.pdf","tags":["x_refsource_CONFIRM"]},{"url":"http://tsd.dlink.com.tw/temp/PMD/13039/DSR-250_250N_A1_A2_Release_Notes_FW_v1.08B44_WW_RU.pdf","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2013/dsa-2614","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securityfocus.com/bid/57602","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://community.rapid7.com/servlet/servlet.FileDownload?file=00P1400000cCaFb","tags":["x_refsource_MISC"]},{"url":"http://pupnp.sourceforge.net/ChangeLog","tags":["x_refsource_CONFIRM"]},{"url":"https://community.rapid7.com/community/infosec/blog/2013/01/29/security-flaws-in-universal-plug-and-play-unplug-dont-play","tags":["x_refsource_MISC"]},{"url":"http://www.kb.cert.org/vuls/id/922681","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"https://www.tenable.com/security/research/tra-2017-10","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-02/msg00013.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0037","tags":["x_refsource_CONFIRM"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2012-5833","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2012-5833","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":24455,"url":"https://www.exploit-db.com/exploits/24455","title":"Portable UPnP SDK - 'unique_service_name()' Remote Code Execution (Metasploit)","type":"remote","platform":"unix","date":"2013-02-05","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2013-02-05"},"metasploit":[{"name":"UPnP SSDP M-SEARCH Information Discovery","module":"auxiliary/scanner/upnp/ssdp_msearch","type":"auxiliary","disclosureDate":null,"url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/upnp/ssdp_msearch.rb"}],"first":{"date":"2013-02-05","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/24455"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2013-01-31","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2012-5959","provenance":"source"},{"date":"2013-02-05","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-24455)","url":"https://www.exploit-db.com/exploits/24455","provenance":"source"},{"date":"2018-07-13","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.trendmicro.com/en_us/research/18/g/vpnfilter-affected-devices-still-riddled-with-19-vulnerabilities.html","provenance":"source"}],"speed":{"daysToPublicExploit":5,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":61.3,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 3030 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.9,"detail":"percentile 0.9952"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":1.37,"detail":"3 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}