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

Home / Known exploited

CVE-2015-2051: D-Link DIR-645 Router Remote Code Execution Vulnerability

Exploited in attacksPublic exploit code

Yes. CVE-2015-2051 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 10 February 2022. Public exploit code is available: 1 Metasploit module and 1 Exploit-DB entry. EPSS puts the chance of further exploitation attempts in the next 30 days at 97.1%.

Exploited in real attacks
Yes. On CISA's exploited list since 10 February 2022
Used in ransomware
Not known
Public exploit code
1 Metasploit module and 1 Exploit-DB entry
Chance of exploitation (EPSS)
97.1% in the next 30 days, higher than 99.9% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
8.8 High (version 3.1)
Affects
D-Link DIR-645 Router
Type of flaw
Command injection (CWE-77)
Published
23 February 2015
US federal patch deadline
10 August 2022

What it is

D-Link DIR-645 Wired/Wireless Router allows remote attackers to execute arbitrary commands via a GetDeviceSettings action to the HNAP interface.

The D-Link DIR-645 Wired/Wireless Router Rev. Ax with firmware 1.04b12 and earlier allows remote attackers to execute arbitrary commands via a GetDeviceSettings action to the HNAP interface.

Description from the CVE record.

Is CVE-2015-2051 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-2015-2051 on 10 February 2022. That was 6 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: The impacted product is end-of-life and should be disconnected if still in use.

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-645 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-645 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-2015-2051.json