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...
- Published
- Jan 29, 2020
- Updated
- Aug 5, 2024
- Assigning CNA
- mitre
- Evidence observed
- Feb 10, 2020
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HHigh · next 30 days
- Percentile
- 99.5%
- Model date
- Oct 16, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
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.
Sources
modules/exploits/linux/upnp/dlink_dir859_exec_ssdpcgi.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux($.exploit_linux/upnp/dlink_dir859_exec_ssdpcgi.platform)
- verification: check_not_declared($.exploit_linux/upnp/dlink_dir859_exec_ssdpcgi.check)
- D-Link Unauthenticated Remote Command Execution using UPnP via a special crafted M-SEARCH packet.Module
modules/exploits/linux/upnp/dlink_upnp_msearch_exec.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux,Unix($.exploit_linux/upnp/dlink_upnp_msearch_exec.platform)
- verification: check_declared($.exploit_linux/upnp/dlink_upnp_msearch_exec.check)
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.