CVE-2019-20215 in the critical feed json
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…
published 2020-01-29 6 y ago modified 2026-06-17 4 mo ago also EUVD-2019-10769
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 75.1%
- EPSS 75.1% chance of exploitation in 30 days, percentile 99.5%
- public exploits
- 3
- Metasploit, Exploit-DB
Summary
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.
Patch / fix
Timeline
- First public exploit (Metasploit exploit/linux/upnp/dlink_upnp_msearch_exec)
- Published
Exploit prediction
75.11% chance of exploitation in the next 30 days, higher than 99.5% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/upnp/dlink_dir859_exec_ssdpcgi D-Link Devices Unauthenticated Remote Command Execution in ssdpcgi metasploit exploit, excellent rank, 2019-12-24
- Metasploit exploit/linux/upnp/dlink_upnp_msearch_exec D-Link Unauthenticated Remote Command Execution using UPnP via a special crafted M-SEARCH packet. metasploit exploit, excellent rank, 2013-02-01
- EDB-48037 D-Link Devices - Unauthenticated Remote Command Execution in ssdpcgi (Metasploit) remote, 2020-02-10
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
supportannouncement.us.dlink.com
/announcement/publication.aspx?name=SAP10147
patch, vendor-advisory
- medium.com /%40s1kr10s/d-link-dir-859-unauthenticated-rce-in-ssdpcgi-http-st-cve-2019-20215-en-2e799acb8a73
- packetstormsecurity.com /files/156250/D-Link-ssdpcgi-Unauthenticated-Remote-Command-Execution.html
Sources
- CVE List CVE-2019-20215
- NVD CVE-2019-20215
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.