{"id":"CVE-2019-20215","aliases":["EUVD-2019-10769","GHSA-xj55-9jj5-7q99"],"status":"published","title":"D-Link DIR-859 1.05 and 1.06B01 Beta01 devices allow remote attackers to execute arbitrary OS...","description":"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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.75105,"percentile":0.99513,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-78"],"published":"2020-01-29T02:23:26Z","modified":"2026-06-17T02:30:12Z","exploits":[{"source":"exploitdb","id":"EDB-48037","title":"D-Link Devices - Unauthenticated Remote Command Execution in ssdpcgi (Metasploit)","type":"remote","platform":"linux_mips","date":"2020-02-10","verified":true,"url":"https://www.exploit-db.com/exploits/48037"},{"source":"metasploit","id":"exploit/linux/upnp/dlink_dir859_exec_ssdpcgi","title":"D-Link Devices Unauthenticated Remote Command Execution in ssdpcgi","type":"exploit","platform":"Linux","date":"2019-12-24","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/upnp/dlink_dir859_exec_ssdpcgi"},{"source":"metasploit","id":"exploit/linux/upnp/dlink_upnp_msearch_exec","title":"D-Link Unauthenticated Remote Command Execution using UPnP via a special crafted M-SEARCH packet.","type":"exploit","platform":"Linux,Unix","date":"2013-02-01","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/upnp/dlink_upnp_msearch_exec"}],"products":[{"vendor":"dlink","product":"dir-859_firmware"}],"references":[{"url":"https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10147","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"https://medium.com/%40s1kr10s/d-link-dir-859-unauthenticated-rce-in-ssdpcgi-http-st-cve-2019-20215-en-2e799acb8a73","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://packetstormsecurity.com/files/156250/D-Link-ssdpcgi-Unauthenticated-Remote-Command-Execution.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-20215"},{"url":"https://medium.com/@s1kr10s/d-link-dir-859-unauthenticated-rce-in-ssdpcgi-http-st-cve-2019-20215-en-2e799acb8a73"},{"url":"https://github.com/advisories/GHSA-xj55-9jj5-7q99"}],"sources":{"cve":[{"id":"CVE-2019-20215","description":"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.","status":"published","published":"2020-01-29T02:23:26Z","modified":"2024-08-05T02:39:09.18Z","updated_at":"2026-11-02T14:20:17.431882Z"}],"euvd":[{"id":"EUVD-2019-10769","description":"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.","status":"published","published":"2020-01-29T02:23:26Z","modified":"2024-08-05T02:39:09Z","updated_at":"2026-11-03T02:40:22.702411Z"}],"ghsa":[{"id":"GHSA-xj55-9jj5-7q99","title":"D-Link DIR-859 1.05 and 1.06B01 Beta01 devices allow remote attackers to execute arbitrary OS...","description":"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.","status":"published","published":"2022-05-24T17:07:39Z","modified":"2023-01-29T05:01:13Z","updated_at":"2026-11-02T14:44:45.930691Z"}],"nvd":[{"id":"CVE-2019-20215","description":"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.","status":"published","published":"2020-01-29T03:15:14.127Z","modified":"2026-06-17T02:30:12.943Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:05:43.875329Z"}]}}
