CVE-2015-2051
CVE-2015-2051 is a security flaw in D-Link DIR-645 Router, routers for homes and small offices. Attackers can run their own code on D-Link DIR-645 Router. The US Cybersecurity and Infrastructure Security Agency (CISA) added it to its catalog of flaws known to be used in attacks on 10 Feb 2022.[1]
D-Link DIR-645 Router is in things households have: home and small-office routers, so the fix matters at home as much as at work. D-Link has published a fix or advice.
Description
CISA calls it a remote code execution in D-Link DIR-645 Router. In its words: “D-Link DIR-645 Wired/Wireless Router allows remote attackers to execute arbitrary commands via a GetDeviceSettings action to the HNAP interface.”[1]
The CVE record adds: “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.”[2]
The underlying weakness is command injection (CWE-77), in MITRE’s list of common software weaknesses.
It scores 8.8 out of 10 on the Common Vulnerability Scoring System, which rates it high, scored by NVD using CVSS 3.1.[2]
Affected versions
NVD’s record doesn’t list version ranges for it; D-Link’s advisory has them[3]. CISA names the product as D-Link DIR-645 Router.
Every device with D-Link DIR-645 Router needs the update.
Exploitation
CISA added it to its catalog of known exploited vulnerabilities on 10 Feb 2022, 2,544 days after it was made public. CISA lists a flaw only when it has reliable evidence of it being exploited, and gave US federal agencies until 10 Aug 2022 to fix it.[1]
FIRST’s Exploit Prediction Scoring System, which estimates how likely a flaw is to be used in attacks in the next 30 days from what it sees across the internet, puts it at 97%. That’s in the top 1% of the flaws it scores.[4]
CISA assesses it as not automatable: each attack takes some work.
CISA doesn’t say who was attacked, or how.
Fix
D-Link has published a fix or advice.[3] CISA’s required action: “The impacted product is end-of-life and should be disconnected if still in use.”[1]
- Update D-Link DIR-645 Router now.Open the router’s app, or its admin page in a browser, and look for a firmware update. Then turn on automatic updates, so the next fix arrives on its own.
- If the maker has stopped updating it, replace it.Routers stop getting fixes after a few years, and attackers keep a list of the ones that did. If there’s no newer firmware, it won’t be fixed.
Timeline
| Date | Event |
|---|---|
| The flaw is made public in the National Vulnerability Database, with a severity score of 8.8.[2] | |
| CISA adds it to its catalog of flaws known to be used in attacks.[1] | |
| CISA’s deadline for US government agencies to fix it.[1] | |
| FIRST puts the odds of it being used in attacks in the next 30 days at 97%.[4] |
See also
Other D-Link flaws
- CVE-2025-29635, D-Link DIR-823X: command injection ·
- CVE-2022-37055, D-Link Routers: buffer overflow ·
- CVE-2022-40799, D-Link DNR-322L: download of code without integrity check ·
- CVE-2020-25079, D-Link DCS-2530L and DCS-2670L Devices: DCS-2530L and DCS-2670L command injection ·
- CVE-2020-25078, D-Link DCS-2530L and DCS-2670L Devices: unspecified ·
Other command injection flaws
- CVE-2026-105134, AhsayCBS: command injection ·
- CVE-2026-96951, Microsoft Windows: command injection ·
- CVE-2016-3081, Apache Struts: command injection ·
- CVE-2026-8037, Progress LoadMaster: command injection ·
- CVE-2026-22719, Broadcom VMware Aria Operations: command injection ·
Added the same day
- CVE-2021-36934, Microsoft Windows: SAM local privilege escalation ·
- CVE-2020-0796, Microsoft SMBv3: remote code execution ·
- CVE-2018-1000861, Jenkins Stapler Web Framework: stapler web framework deserialization of untrusted data ·
- CVE-2017-9791, Apache Struts 1: improper input validation ·
- CVE-2017-8464, Microsoft Windows: shell (.lnk) remote code execution ·
Every D-Link flaw on CISA’s list · Everything added in February 2022
References
- ^ Cybersecurity and Infrastructure Security Agency. “D-Link DIR-645 Router Remote Code Execution Vulnerability”. Known Exploited Vulnerabilities Catalog, added 10 Feb 2022.
- ^ National Institute of Standards and Technology. “CVE-2015-2051 Detail”. National Vulnerability Database, published 23 Feb 2015.
- ^ D-Link. Advisories and fixes: supportannouncement.us.dlink.com.
- ^ FIRST. “Exploit Prediction Scoring System”. EPSS 0.971, percentile 99.9, 31 Oct 2026.
- CVE Program. “CVE-2015-2051”. The official CVE record.
This article is built from CISA’s catalog (version 2026.10.30), NVD’s record and FIRST’s scores, kept in HARD’s database and checked every morning. The plain English is HARD’s.

