CVE-2015-2051 in Dlink Dir-645 and 1 more product
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.
Affects 2 products from 1 vendor. Facts below cite their sources.
Exploitable from adjacent network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Dlink | Dir-645 (device and firmware) | < 1.05b01 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2022-02-10 |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2015-2051 |
|---|---|
| BreachSpider ID | BS-2015-GLOBAL-156914-H |
| CVSS vector | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2015-02-23 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-77: Command Injection
Attacker injects operating system commands through application inputs passed to a shell or system call.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77
CAPEC-76 Manipulating Web Input to File System Calls via CWE-77
CAPEC-15 Command Delimiters via CWE-77
CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77
CAPEC-75 Manipulating Writeable Configuration Files via CWE-77
Show all 8
CAPEC-136 LDAP Injection via CWE-77
CAPEC-183 IMAP/SMTP Command Injection via CWE-77
CAPEC-248 Command Injection via CWE-77
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
The D-Link DIR-645 router, versions 1.04b12 and earlier, is vulnerable to remote command execution via the HNAP interface. This vulnerability poses significant risks to network integrity and could lead to unauthorized control of the device.
Remote attackers can exploit this vulnerability by sending a specially crafted request to the HNAP interface, which allows them to execute arbitrary commands on the affected device. This can result in complete compromise of the router, leading to potential data exfiltration, network disruption, and further lateral movement within the network.
Compensating controls AI-drafted, review before use
Implement strict network segmentation to isolate the affected router from critical systems. Monitor network traffic for suspicious activity and apply firewall rules to block unauthorized access to the HNAP interface.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2015-2051?
The D-Link DIR-645 router, versions 1.04b12 and earlier, is vulnerable to remote command execution via the HNAP interface. This vulnerability poses significant risks to network integrity and could lead to unauthorized control of the device.
What is the CVSS score for CVE-2015-2051?
CVE-2015-2051 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 97.1%.
Is CVE-2015-2051 actively exploited?
Yes. CVE-2015-2051 is in the CISA known-exploited catalog (added 2022-02-10). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2015-2051?
Priority: IMMEDIATE. Advisory: http://securityadvisories.dlink.com/security/publication.aspx?name=SAP10051 PSIRT: [email protected]
What systems are affected by CVE-2015-2051?
CVE-2015-2051 affects Dlink Dir-645.
What NERC-CIP standard applies to CVE-2015-2051?
NERC CIP CIP-007 CIP-007-R2: This vulnerability violates CIP-007-R2 as it allows unauthorized access to the control system, potentially leading to the compromise of critical assets and the disruption of power delivery.
What IEC 62443 requirement maps to CVE-2015-2051?
IEC 62443 SR 7.6: This vulnerability aligns with SR 7.6, which requires the protection of network interfaces against unauthorized access. The ability to execute arbitrary commands via the HNAP interface violates this requirement, posing a significant risk to the security of the industrial control system.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Dlink","product":"Dir-645","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.