Remote code executionin D-Link DIR-645.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 10 Feb 2022.
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.
CISA: D-Link DIR-645 Wired/Wireless Router allows remote attackers to execute arbitrary commands via a GetDeviceSettings action to the HNAP interface.
- CISA requires US federal agencies to fix it by 10 Aug 2022.
Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 13 Feb 2015Metasploit module: D-Link Devices HNAP SOAPAction-Header Command Execution.
- 23 Feb 2015CVE ID reserved by mitre.
- 23 Feb 2015Published in the CVE List.
- 10 Feb 2022Added to CISA's Known Exploited Vulnerabilities list.
- 22 Oct 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other DIR-645 vulnerabilities
Same weakness: Command injection
- securityadvisories.dlink.com
- www.securityfocus.com vdb-entry
- www.securityfocus.com vdb-entry
- supportannouncement.us.dlink.com
- www.cisa.gov government-resource
Patchminder. CVE-2015-2051: Remote code execution in D-Link DIR-645. https://patchminder.com/cve/cve-2015-2051/ (accessed 5 December 2026).