{"id":"CVE-2019-20215","published":"2020-01-29T02:23:26Z","modified":"2024-08-05T02:39:09Z","title":"D-Link DIR-859 1.05 and 1.06B01 Beta01 devices allow remote attackers to execute arbitrary OS commands via a urn: to…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"D-Link DIR-859 1.05 and 1.06B01 Beta01 devices allow remote attackers to execute arbitrary OS commands via a urn: to the M-SEARCH method in ssdpcgi() in /htdocs/cgibin, because HTTP_ST is mishandled. The value of the urn: service/device is checked with the strstr function, which allows an attacker to concatenate arbitrary commands separated by shell metacharacters.","provenance":"source","from":"CVE.org"},"summary":{"text":"The D-Link DIR-859 routers running firmware 1.05 and 1.06B01 Beta01 contain a flaw in the ssdpcgi() handler in /htdocs/cgibin, where the HTTP_ST value used with the M-SEARCH method is mishandled. Because the urn: service/device string is validated with strstr, an attacker can append shell metacharacters followed by arbitrary commands, which the device then executes on the operating system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:18:42Z"},"cvss":null,"epss":{"score":0.75105,"percentile":0.9951,"date":"2026-11-01","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10147","tags":["x_refsource_CONFIRM"]},{"url":"https://medium.com/%40s1kr10s/d-link-dir-859-unauthenticated-rce-in-ssdpcgi-http-st-cve-2019-20215-en-2e799acb8a73","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/156250/D-Link-ssdpcgi-Unauthenticated-Remote-Command-Execution.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2019-10769","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-10769","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":48037,"url":"https://www.exploit-db.com/exploits/48037","title":"D-Link Devices - Unauthenticated Remote Command Execution in ssdpcgi (Metasploit)","type":"remote","platform":"linux_mips","date":"2020-02-10","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2020-02-10"},"metasploit":[{"name":"D-Link Unauthenticated Remote Command Execution using UPnP via a special crafted M-SEARCH packet.","module":"exploit/linux/upnp/dlink_upnp_msearch_exec","type":"exploit","disclosureDate":"2013-02-01","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/upnp/dlink_upnp_msearch_exec.rb"},{"name":"D-Link Devices Unauthenticated Remote Command Execution in ssdpcgi","module":"exploit/linux/upnp/dlink_dir859_exec_ssdpcgi","type":"exploit","disclosureDate":"2019-12-24","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/upnp/dlink_dir859_exec_ssdpcgi.rb"}],"first":{"date":"2013-02-01","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/upnp/dlink_upnp_msearch_exec.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/156250/D-Link-ssdpcgi-Unauthenticated-Remote-Command-Execution.html"],"flow":[],"timeline":[{"date":"2013-02-01","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2020-02-10","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/upnp/dlink_upnp_msearch_exec.rb","provenance":"source"},{"date":"2020-01-29","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2019-20215","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.9,"detail":"percentile 0.9951"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 NVD exploit link; 2 Metasploit modules"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}