← Vulnerability feed

Vulnerability record · CVE-2019-17621 · published 30 December 2019

CVE-2019-17621: D-Link DIR-859 UPnP gena.cgi unauthenticated command injection

Dlink · Dir 859 Firmware

The 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 command injection. An attacker on the local network can run arbitrary system commands as root without authenticating, giving full control of the router.

9.8 CVSS 3.1 Critical CISA KEV since 29 Jun 2023 EPSS 90% · top 0.2% CWE-78 · OS command injection
9.8CVSS 3.1 base score, v2 10.0
90%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
14Affected product versions listed by NVD
15References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

The UPnP endpoint URL /gena.cgi in the D-Link DIR-859 Wi-Fi router 1.05 and 1.06B01 Beta01 allows an Unauthenticated remote attacker to execute system commands as root, by sending a specially crafted HTTP SUBSCRIBE request to the UPnP service when connecting to the local network.

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 17 September 2026. Confidence: high.

critical priorityUnauthenticated remote root command execution with a CVSS of 9.8, KEV listing, and near-maximum EPSS makes this an urgent patch-or-replace item.

What it is

The 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 command injection. An attacker on the local network can run arbitrary system commands as root without authenticating, giving full control of the router.

Impact

An attacker gains root-level command execution on the device, enabling full router compromise, traffic interception or redirection, and use of the device as a foothold into the connected network.

Attack surface

Reached over the network via a crafted HTTP SUBSCRIBE request to the UPnP service on /gena.cgi; no authentication or user interaction is required, but the description states the attacker must be connecting to the local network.

Exploitation

CISA added this to KEV on 2023-06-29 with a 2023-07-20 remediation due date, and EPSS is 0.89624 (99.8th percentile); public exploit references are tagged Exploit, though no ransomware use is documented.

What to do

  • Apply the D-Link vendor updates referenced in advisories SAP10146 and SAP10147, or discontinue use of the affected product if no update is available.
  • Disable UPnP on the router if it is not operationally required.
  • Restrict router management and UPnP exposure to trusted internal segments only; do not expose the device to untrusted networks.
  • Replace end-of-support D-Link models with vendor-supported hardware.
  • Inventory the listed DIR-series models and confirm firmware versions against vendor advisories.

Detection

  • Monitor router and perimeter logs for HTTP SUBSCRIBE requests to /gena.cgi, especially with unusual or shell-like characters in headers.
  • Alert on unexpected outbound connections or processes originating from the router.
  • Watch for anomalous UPnP traffic on the local network from non-media or non-IoT hosts.
  • Check for unauthorized configuration changes or new admin accounts on affected routers.

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

Exploitation in the wild

CISA added CVE-2019-17621 to the Known Exploited Vulnerabilities catalog on 29 June 2023 as "D-Link DIR-859 Router Command Execution Vulnerability". Required action: Apply updates per vendor instructions or discontinue use of the product if updates are unavailable. Federal deadline 20 July 2023.

Affected products

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

References

LinkTags
http://packetstormsecurity.com/files/156054/D-Link-DIR-859-Unauthenticated-Remote-Command-Execution.html ExploitThird Party AdvisoryVDB Entry
https://medium.com/%40s1kr10s/d-link-dir-859-rce-unautenticated-cve-2019-17621-en-d94b47a15104 ExploitThird Party Advisory
https://medium.com/%40s1kr10s/d-link-dir-859-rce-unautenticated-cve-2019-17621-es-fad716629ff9 Broken Link
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10146 PatchVendor Advisory
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10147 PatchVendor Advisory
https://www.dlink.com/en/security-bulletin Vendor Advisory
https://www.ftc.gov/system/files/documents/cases/dlink_proposed_order_and_judgment_7-2-19.pdf Third Party AdvisoryUS Government Resource
http://packetstormsecurity.com/files/156054/D-Link-DIR-859-Unauthenticated-Remote-Command-Execution.html ExploitThird Party AdvisoryVDB Entry
https://medium.com/%40s1kr10s/d-link-dir-859-rce-unautenticated-cve-2019-17621-en-d94b47a15104 ExploitThird Party Advisory
https://medium.com/%40s1kr10s/d-link-dir-859-rce-unautenticated-cve-2019-17621-es-fad716629ff9 Broken Link
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10146 PatchVendor Advisory
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10147 PatchVendor Advisory
https://www.dlink.com/en/security-bulletin Vendor Advisory
https://www.ftc.gov/system/files/documents/cases/dlink_proposed_order_and_judgment_7-2-19.pdf Third Party AdvisoryUS Government Resource
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-17621 US Government Resource

Track CVE-2019-17621 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-2018-6530D-Link DIR router soap.cgi OS command injectionsoap.cgi (soapcgi_main in cgibin) on several D-Link DIR router models fails to sanitize the service parameter, allowing OS command injection. The fla…KEVEPSS 97%analysed9.8CVE-2023-51984Dlink dir-822 firmware os command injection vulnerabilityD-Link DIR-822+ V1.0.2 was found to contain a command injection in SetStaticRouteSettings function. allows remote attackers to execute arbitrary comm…EPSS 2.0%9.8CVE-2023-51987Dlink dir-822 firmware missing authentication for critical function vulnerabilityD-Link DIR-822+ V1.0.2 contains a login bypass in the HNAP1 interface, which allows attackers to log in to administrator accounts with empty password…EPSS 0.92%9.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-20215D-Link DIR-859 ssdpcgi OS command injection via M-SEARCH urnD-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: s…EPSS 75%analysed9.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%

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