LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2019-17621: D-Link DIR-859 Router Command Execution Vulnerability

RBRecent Breaches Vulnerability Intelligence·Jun 29, 2023
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Jul 20, 2023
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2019-17621 to its Known Exploited Vulnerabilities catalog on Jun 29, 2023, with a federal patch deadline of Jul 20, 2023 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

D-Link DIR-859 router contains a command execution vulnerability in the UPnP endpoint URL, /gena.cgi. Exploitation allows an unauthenticated remote attacker to execute system commands as root by…

CVE-2019-17621 is a command execution vulnerability in the D-Link DIR-859 router. It allows an unauthenticated attacker who can reach the device on the local network to run system commands with root privileges by abusing the UPnP service. This matters because a successful exploit can give an attacker full control of the router, enabling network traffic interception, further lateral movement, or persistent access into the environment the device serves.

Defenders should treat any unpatched DIR-859 as high risk until confirmed remediated or removed, and should verify all details against the vendor advisory.

How it works

The flaw is classified as CWE-78 (OS Command Injection). According to the available summary, the vulnerability resides in the UPnP endpoint at the URL /gena.cgi. An attacker on the local network sends a specially crafted HTTP SUBSCRIBE request to this endpoint. Because the request is not properly sanitized, the router executes the injected content as system commands running as root.

No authentication is required. The attacker needs only network connectivity to the UPnP service on the local segment. Specific request formats, exact payload construction, or other exploit mechanics are not detailed here; teams must consult the vendor advisory for any additional technical information.

Am I affected? How to find it in your systems

The vulnerability affects the D-Link DIR-859 router. These devices commonly appear as consumer or small-office wireless gateways that provide DHCP, NAT, and Wi-Fi access. Inventory efforts should focus on:

Confirm the exact firmware versions that are vulnerable by consulting the vendor advisory; do not rely on assumed version ranges. Check whether the UPnP service is enabled, as the attack targets the /gena.cgi endpoint of that service. Log or telemetry signs of exploitation may include unexpected HTTP SUBSCRIBE requests directed at /gena.cgi, anomalous process execution on the router, or sudden changes in routing, DNS, or firewall rules. Because the device runs as root, post-exploitation activity can be difficult to observe without external network monitoring or packet captures of the local segment.

How to remediate

The required action is to apply updates per the vendor instructions. If no updates are available for the DIR-859, discontinue use of the product. After applying any available firmware update, re-verify that the UPnP service no longer exposes the vulnerable endpoint and that the device is running the corrected software. Document the change and re-scan the network segment to confirm the device is no longer reachable in a vulnerable state. For environments that retain the hardware, disable unnecessary services and restrict management access to trusted hosts only.

If you can't patch immediately

Until a vendor update can be applied or the device can be replaced, reduce exposure with the following compensating controls:

These measures lower risk but do not eliminate the underlying flaw; plan for permanent remediation.

If your data may have been exposed

Actively exploited vulnerabilities of this class can lead to full device compromise and subsequent network breaches. There is no documented ransomware use associated with this CVE, yet any successful root-level command execution should be treated as a potential incident. Review logs for signs of unauthorized access, rotate credentials that may have traversed the router, and examine connected systems for secondary compromise. Readers can run a free exposure scan of their email addresses to check whether those addresses appear in known breach data sets.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedD-Link · DIR-859 Router
WeaknessCWE-78
Added to CISA KEVJun 29, 2023
Federal patch deadlineJul 20, 2023
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities