CVE-2015-2051: D-Link DIR-645 Router Remote Code Execution Vulnerability
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.
| Source | Entry | Published |
|---|---|---|
| Metasploit | D-Link Devices HNAP SOAPAction-Header Command Execution | |
| Exploit-DB | D-Link Devices - HNAP 'SOAPAction' Command Injection (Metasploit) | 1 June 2015 |
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
- Find every copy. List each place D-Link DIR-645 Router runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
- 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
| CVE | What it affects | Status | EPSS | Published |
|---|---|---|---|---|
| CVE-2025-29635 | D-Link DIR-823X | Public exploit | 87.9% | 25 March 2025 |
| CVE-2022-37055 | D-Link Routers | No public exploit found | 57.4% | 28 August 2022 |
| CVE-2020-25078 | D-Link DCS-2530L and DCS-2670L Devices | Public exploit | 97.5% | 2 September 2020 |
| CVE-2020-25079 | D-Link DCS-2530L and DCS-2670L Devices | No public exploit found | 54.0% | 2 September 2020 |
| CVE-2022-40799 | D-Link DNR-322L | No public exploit found | 33.7% | 29 November 2022 |
| CVE-2024-0769 | D-Link DIR-859 Router | No public exploit found | 82.7% | 21 January 2024 |
Sources
- CVE record for CVE-2015-2051
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- securityadvisories.dlink.com
- www.exploit-db.com (exploit)
- www.securityfocus.com (vdb-entry)
- www.securityfocus.com (vdb-entry)
- supportannouncement.us.dlink.com
Machine-readable: /api/cve/CVE-2015-2051.json