CVE-2021-46314: A Remote Command Execution (RCE) vulnerability exists in HNAP1/control/SetNetworkTomographySettings.php of D-L
CVE-2021-46314 is a critical-severity flaw (CVSS 9.8) affecting dir-846 firmware. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A Remote Command Execution (RCE) vulnerability exists in HNAP1/control/SetNetworkTomographySettings.php of D-Link Router DIR-846 DIR846A1_FW100A43.bin and DIR846enFW100A53DLA-Retail.bin because backticks can be used for command injection when judging whether it is a reasonable domain name.
Why this priority
- Critical severity
- EPSS top 2%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 33.3% (top 2%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2022-02-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: github.com/doudoudedi/DIR-846_Command_Injection/blob/main/DIR-846_Command_Injection1.md
- Write-up: www.dlink.com/en/security-bulletin/
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-46314?
dir-846 firmware: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-46314 being exploited?
CVE-2021-46314 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-46314 affect?
CVE-2021-46314 affects dir-846 firmware. Severity is critical (CVSS 9.8). A Remote Command Execution (RCE) vulnerability exists in HNAP1/control/SetNetworkTomographySettings.php of D-Link Router DIR-846 DIR846A1_FW100A43.bin and DIR846enFW100A53DLA-Retail.bin because backticks can be used for command injection wh
How urgent is CVE-2021-46314?
Priority 69/100. Critical severity; EPSS top 2%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
PHP vulnerabilities · D-Link vulnerabilities
Related CVEs
- CVE-2023-6580 HIGH 8.8 MITIGATE A vulnerability, which was classified as critical, was found in D-Link DIR-846 FW100A53DBR
- CVE-2023-43284 HIGH 8.8 MITIGATE D-Link Wireless MU-MIMO Gigabit AC1200 Router DIR-846 100A53DBR-Retail devices allow an authenticated remote a
- CVE-2022-46642 CRITICAL 9.9 MITIGATE D-Link DIR-846 A1_FW100A43 was discovered to contain a command injection vulnerability via the auto_upgrade_ho
- CVE-2022-46641 CRITICAL 9.9 MITIGATE D-Link DIR-846 A1_FW100A43 was discovered to contain a command injection vulnerability via the lan(0)_dhcps_st
- CVE-2022-46552 HIGH 8.8 MITIGATE D-Link DIR-846 Firmware FW100A53DBR was discovered to contain a remote command execution (RCE) vulnerability v