← Vulnerability feed

Vulnerability record · CVE-2019-20215 · published 29 January 2020

CVE-2019-20215: D-Link DIR-859 ssdpcgi OS command injection via M-SEARCH urn

Dlink · Dir 859 Firmware

D-Link DIR-859 firmware 1.05 and 1.06B01 Beta01 mishandle the HTTP_ST value in ssdpcgi() in /htdocs/cgibin, allowing OS command injection. The urn: service/device value is checked with strstr, so shell metacharacters can be used to append arbitrary commands. This is a critical, remotely reachable flaw in a consumer router.

9.8 CVSS 3.1 Critical EPSS 75% · top 0.5% CWE-78 · OS command injection
9.8CVSS 3.1 base score, v2 10.0
75%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityUnauthenticated remote OS command execution with CVSS 9.8 and very high EPSS on an internet-exposed consumer router.

What it is

D-Link DIR-859 firmware 1.05 and 1.06B01 Beta01 mishandle the HTTP_ST value in ssdpcgi() in /htdocs/cgibin, allowing OS command injection. The urn: service/device value is checked with strstr, so shell metacharacters can be used to append arbitrary commands. This is a critical, remotely reachable flaw in a consumer router.

Impact

An unauthenticated remote attacker can execute arbitrary OS commands on the device, gaining full control of the router and any traffic or credentials passing through it.

Attack surface

Reachable over the network via an M-SEARCH request to the SSDP handling path; no authentication or user interaction is required per the CVSS vector (AV:N/PR:N/UI:N).

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.751, ~99.5th percentile), and public exploit write-ups exist in the references, indicating active interest and likely weaponization.

What to do

  • Apply the D-Link vendor advisory SAP10147 firmware fix for DIR-859; if no fixed firmware is available, replace or retire the device.
  • Disable or block SSDP/UPnP exposure on the WAN and restrict the router management and SSDP ports to trusted LAN segments only.
  • Segment IoT and router management traffic away from critical systems, and place the device behind a firewall that drops inbound SSDP/M-SEARCH from untrusted networks.
  • Monitor D-Link advisories for end-of-support status and remove unsupported devices from production networks.

Detection

  • Inspect HTTP/SSDP M-SEARCH requests for urn: values containing shell metacharacters (;, |, $(), backticks) in HTTP_ST.
  • Alert on unexpected outbound connections or command execution artifacts from the router's management IP.
  • Review router logs for anomalous ssdpcgi or cgibin activity and repeated M-SEARCH requests from external sources.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2019-20215 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-0769D-Link DIR-859 hedwig.cgi path traversal via service argumentCVE-2024-0769 is a path traversal flaw in the HTTP POST handler of /hedwig.cgi on D-Link DIR-859 firmware 1.06B01, where the 'service' argument can b…KEVEPSS 83%analysed9.8CVE-2019-17621D-Link DIR-859 UPnP gena.cgi unauthenticated command injectionThe UPnP endpoint /gena.cgi on D-Link DIR-859 firmware 1.05 and 1.06B01 Beta01 fails to sanitize input in an HTTP SUBSCRIBE request, allowing OS comm…KEVEPSS 90%analysed9.8CVE-2023-36092Dlink dir-859 firmware incorrect authorization vulnerabilityAuthentication Bypass vulnerability in D-Link DIR-859 FW105b03 allows remote attackers to gain escalated privileges via via phpcgi_main. NOTE: This v…EPSS 1.7%9.8CVE-2019-20216Dlink dir-859 firmware os command injection vulnerabilityD-Link DIR-859 1.05 and 1.06B01 Beta01 devices allow remote attackers to execute arbitrary OS commands via the urn: to the M-SEARCH method in ssdpcgi…EPSS 3.7%9.8CVE-2019-20217Dlink dir-859 firmware os command injection vulnerabilityD-Link DIR-859 1.05 and 1.06B01 Beta01 devices allow remote attackers to execute arbitrary OS commands via the urn: to the M-SEARCH method in ssdpcgi…EPSS 3.6%7.5CVE-2019-20213Dlink dir-859 firmware injection vulnerabilityD-Link DIR-859 routers before v1.07b03_beta allow Unauthenticated Information Disclosure via the AUTHORIZED_GROUP=1%0a value, as demonstrated by vpnc…EPSS 2.2%5.5CVE-2022-25106Dlink dir-859 firmware out-of-bounds write vulnerabilityD-Link DIR-859 v1.05 was discovered to contain a stack-based buffer overflow via the function genacgi_main. This vulnerability allows attackers to ca…EPSS 8.6%8.8CVE-2026-53266Linux kernel ebtables SNAT out-of-bounds write in ARP rewriteThe ebtables SNAT target rewrites the ARP sender hardware address via skb_store_bits() without first making that range writable. When the ARP SHA byt…KEVEPSS 0.65%analysed

Source: NIST National Vulnerability Database (record CVE-2019-20215), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.