critical9.8Public exploit code
CVE-2019-20215
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 /htdoc…
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- D-Link Devices - Unauthenticated Remote Command Execution in ssdpcgi (Metasploit)2020-02-10 · remote · linux_mips · Verified
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Dlink | Dir-859 Firmware | Versions 1.05, 1.06b01 |
Weakness classification
References
- NVD record
- CVE.org record
- http://packetstormsecurity.com/files/156250/D-Link-ssdpcgi-Unauthenticated-Remote-Command-Execution.html
- https://medium.com/%40s1kr10s/d-link-dir-859-unauthenticated-rce-in-ssdpcgi-http-st-cve-2019-20215-en-2e799acb8a73
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10147
- http://packetstormsecurity.com/files/156250/D-Link-ssdpcgi-Unauthenticated-Remote-Command-Execution.html
- https://medium.com/%40s1kr10s/d-link-dir-859-unauthenticated-rce-in-ssdpcgi-http-st-cve-2019-20215-en-2e799acb8a73
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10147