Unauthenticated command execution via SOAPAction header injection
Published Feb 23, 2015 · Updated Oct 22, 2025
Command injection in D-Link DIR-645 1.04b12 and earlier allows remote attackers to execute commands via the HNAP interface. On Rev. Ax routers, the HNAP handler passes attacker-controlled text appended to GetDeviceSettings in the SOAPAction header to the operating-system shell without neutralizing command delimiters. Exploitation requires network access to the HNAP endpoint but no credentials or user interaction, and command output is not returned directly.
Summary
What happened
Command injection in D-Link DIR-645 1.04b12 and earlier allows remote attackers to execute commands via the HNAP interface. On Rev. Ax routers, the HNAP handler passes attacker-controlled text appended to GetDeviceSettings in the SOAPAction header to the operating-system shell without neutralizing command delimiters. Exploitation requires network access to the HNAP endpoint but no credentials or user interaction, and command output is not returned directly.
The record
- CVE
- CVE-2015-2051
- Published
- Feb 23, 2015
- Updated
- Oct 22, 2025
- Vendor
- D-Link
- Product
- DIR-645
- Classifications
- CWE-77, T1059.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 23, 2015CVE publishedPublication date reported by the CVE source.
- Oct 22, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=1.04b12
- Affected versionversion=1.03 <=1.04b12
- Affected versionversion=n/a
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Activity data is delayed. The latest report is Sep 28, 2026.
View daily counts
| Reporting day | Unique IPs |
|---|---|
| Sep 22, 2026 | 171 |
| Sep 23, 2026 | 203 |
| Sep 24, 2026 | 196 |
| Sep 25, 2026 | 176 |
| Sep 26, 2026 | 185 |
| Sep 27, 2026 | 165 |
| Sep 28, 2026 | 154 |
Weakness, pattern, technique
Public exploit references
- DIR-645 HNAP command injection proof of conceptproof of concept · unverified
- D-Link Devices HNAP SOAPAction-Header Command Executionfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities catalog inclusionknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Get started to see how Hinoki identifies affected software and validates exploitability in your environment.
Contact us