CVE-2015-2051 — Dir-645 Firmware
HIGHCVE-2015-2051 is a high-severity (CVSS 8.8) CWE-77 vulnerability in dlink dir-645 firmware. It is in CISA's Known Exploited Vulnerabilities catalog (added 2022-02-10) — treat it as actively exploited and patch now. A fix is available — see the affected versions and patch details below.
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.
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2022-02-10. Federal agencies were required to remediate by 2022-08-10.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2015-2051.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2015-2051 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 394,803 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
Description
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.
Affected Products
dir-645 firmwaredlinkResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
D-Link Devices - HNAP SOAPAction-Header Command Execution (Metasploit)
by Metasploit · Jun 1, 2015
Detection & mitigation playbook
Vendor / applianceDetect
Inventory every dlink dir-645 firmware deployment and check each version against the affected-products list above.
Fix
Apply the dlink dir-645 firmware security patch or hotfix for CVE-2015-2051 on the affected version, following the vendor advisory for your exact build.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2015-2051 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.