draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

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

Exploited in attacksPublic exploit code

Yes. CVE-2019-17621 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 29 June 2023. Public exploit code is available: 1 Metasploit module. EPSS puts the chance of further exploitation attempts in the next 30 days at 90.6%.

Exploited in real attacks
Yes. On CISA's exploited list since 29 June 2023
Used in ransomware
Not known
Public exploit code
1 Metasploit module
Chance of exploitation (EPSS)
90.6% in the next 30 days, higher than 99.8% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
9.8 Critical (version 3.1)
Affects
D-Link DIR-859 Router
Type of flaw
OS command injection (CWE-78)
Published
30 December 2019
US federal patch deadline
20 July 2023

What it is

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 sending a specially crafted HTTP SUBSCRIBE request to the UPnP service when connecting to the local network.

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.

Description from the CVE record.

Is CVE-2019-17621 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2019-17621 on 29 June 2023. That was 3 years after the CVE was published, so attackers are still finding unpatched systems long after the fix.

Public exploit code

These are public references that anyone, including an attacker, can find. Their existence lowers the skill needed to use the flaw.

What to do

CISA's required action: Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place D-Link DIR-859 Router runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
  4. Assume low-skill attackers can use it. A Metasploit module exists, which packages the attack into a standard tool.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in DIR-859 Router. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Other tracked vulnerabilities in D-Link products

CVEWhat it affectsStatusEPSSPublished
CVE-2025-29635D-Link DIR-823XPublic exploit87.9%25 March 2025
CVE-2022-37055D-Link RoutersNo public exploit found57.4%28 August 2022
CVE-2020-25078D-Link DCS-2530L and DCS-2670L DevicesPublic exploit97.5%2 September 2020
CVE-2020-25079D-Link DCS-2530L and DCS-2670L DevicesNo public exploit found54.0%2 September 2020
CVE-2022-40799D-Link DNR-322LNo public exploit found33.7%29 November 2022
CVE-2024-0769D-Link DIR-859 RouterNo public exploit found82.7%21 January 2024

Sources

Machine-readable: /api/cve/CVE-2019-17621.json