Unauthenticated command execution via DDNS input
Published Feb 17, 2022 · Updated Oct 21, 2025
Remote command execution in D-Link DIR-series routers allows remote attackers to execute commands through the DDNS function. The ncc2 binary processes DDNS input without neutralizing command metacharacters, enabling OS command injection. The network-facing flaw requires no authentication or user interaction and can let attackers read or alter router data, interrupt service, and execute arbitrary commands.
Summary
What happened
Remote command execution in D-Link DIR-series routers allows remote attackers to execute commands through the DDNS function. The ncc2 binary processes DDNS input without neutralizing command metacharacters, enabling OS command injection. The network-facing flaw requires no authentication or user interaction and can let attackers read or alter router data, interrupt service, and execute arbitrary commands.
The record
- CVE
- CVE-2021-45382
- Published
- Feb 17, 2022
- Updated
- Oct 21, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-78, T1059
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 17, 2022CVE publishedPublication date reported by the CVE source.
- Apr 4, 2022Exploitation reportedD-Link Multiple Routers Remote Code Execution Vulnerability
- Oct 21, 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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 | 7 |
| Sep 23, 2026 | 2 |
| Sep 24, 2026 | 4 |
| Sep 25, 2026 | 10 |
| Sep 26, 2026 | 3 |
| Sep 27, 2026 | 13 |
| Sep 28, 2026 | 7 |
Weakness, pattern, technique
Public exploit references
- D-LINK Command Injection1proof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- D-Link Multiple Routers Remote Code Execution Vulnerabilityknown 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