CVE-2015-2051: HNAP SOAPAction Header Command Injection in D-Link DIR-645
- Vendor
- D-Link
CVE-2015-2051 is an OS command injection vulnerability affecting D-Link DIR-645 Wired/Wireless Router Rev. Ax devices running firmware 1.04b12 or earlier. Crafted HTTP requests containing malicious commands in the SOAPAction header exploit the GetDeviceSettings action of the Home Network Administration Protocol (HNAP) interface, enabling remote arbitrary command execution. Exploitation can occur through blind OS command injection and has been used by multiple IoT botnets to compromise routers and deploy malware.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can give attackers full control of an affected router, compromise device integrity, and expose information. Observed campaigns use the resulting command execution to download and execute botnet payloads, collect system information, establish persistence, and enroll compromised devices in distributed denial-of-service infrastructure. These post-exploitation capabilities depend on the deployed malware.
Mitigation
If you can’t patch tonight, do this now.
Restrict network access to the HNAP management interface and disable unnecessary exposed management services where supported. Deploy IPS protection for HNAP SOAPAction-header command execution, segment vulnerable IoT devices from critical systems, and monitor for exploitation and unauthorized malware deployment. These controls do not replace a firmware fix.
Remediation
Patch, then assume compromise.
Apply available D-Link security patches and upgrade affected routers to firmware that addresses CVE-2015-2051. A specific fixed firmware version is not established here. Discontinue use of end-of-life router products that cannot receive security fixes.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2015-2051 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Feb 10, 2022.
- Is there a public exploit for CVE-2015-2051?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2015-2051, the earliest disclosed Feb 13, 2015.
- Is there a patch for CVE-2015-2051?
- Apply available D-Link security patches and upgrade affected routers to firmware that addresses CVE-2015-2051. A specific fixed firmware version is not established here.
- What products are affected by CVE-2015-2051?
- D-Link Dir-645 and D-Link Dir-645 Firmware.
- How severe is CVE-2015-2051?
- CVE-2015-2051 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 97.1% (100th percentile) as of Oct 16, 2026.
Recent activity
34 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.