CVE-2019-20215: D-Link DIR-859 1.05 and 1.06B01 Beta01 devices allow remote attackers to execute arbitrary OS commands via a u
CVE-2019-20215 is a critical-severity flaw (CVSS 9.8) affecting dir-859 firmware. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 75.1% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2020-01-29 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: medium.com/@s1kr10s/d-link-dir-859-unauthenticated-rce-in-ssdpcgi-http-st-cve-2019-20215-e
- Exploit-DB: D-Link Devices - Unauthenticated Remote Command Execution in ssdpcgi (Metasploit)
- Metasploit: D-Link Devices Unauthenticated Remote Command Execution in ssdpcgi
- Metasploit: D-Link Unauthenticated Remote Command Execution using UPnP via a special crafted M-SEARCH packet.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2019-20215?
dir-859 firmware: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2019-20215 being exploited?
CVE-2019-20215 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2019-20215 affect?
CVE-2019-20215 affects dir-859 firmware. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2019-20215?
Priority 69/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2024-0769 MEDIUM 5.3 EXPLOITED MITIGATE D-Link DIR-859 Router Path Traversal Vulnerability
- CVE-2023-36092 CRITICAL 9.8 MITIGATE Authentication Bypass vulnerability in D-Link DIR-859 FW105b03 allows remote attackers to gain escalated privi
- CVE-2022-25106 MEDIUM 5.5 MITIGATE MITIGATE D-Link DIR-859 v1.05 was discovered to contain a stack-based buffer overflow via the function genacgi_main
- CVE-2019-20217 CRITICAL 9.8 MITIGATE D-Link DIR-859 1.05 and 1.06B01 Beta01 devices allow remote attackers to execute arbitrary OS commands via the
- CVE-2019-20216 CRITICAL 9.8 MITIGATE D-Link DIR-859 1.05 and 1.06B01 Beta01 devices allow remote attackers to execute arbitrary OS commands via the