CVE-2021-46315
Remote Command Execution (RCE) vulnerability exists in HNAP1/control/SetWizardConfig.php in D-Link Router DIR-846 DIR846A1_FW100A43.bin and DIR846enFW100A53DLA-Retail.bin.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (6.57%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
Remote Command Execution (RCE) vulnerability exists in HNAP1/control/SetWizardConfig.php in D-Link Router DIR-846 DIR846A1_FW100A43.bin and DIR846enFW100A53DLA-Retail.bin. Malicoius users can use this vulnerability to use "\ " or backticks in the shell metacharacters in the ssid0 or ssid1 parameters to cause arbitrary command execution. Since CVE-2019-17510 vulnerability has not been patched and improved www/hnap1/control/setwizardconfig.php, can also use line breaks and backquotes to bypass.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 6.57% probability · 93th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- dlink/dir-846 firmware
- Source
- cve@mitre.org
References
- https://github.com/doudoudedi/DIR-846_Command_Injection/blob/main/DIR-846_Command_Injection1.mdExploit, Third Party Advisory
- https://www.dlink.com/en/security-bulletin/Vendor Advisory
- https://github.com/doudoudedi/DIR-846_Command_Injection/blob/main/DIR-846_Command_Injection1.mdExploit, Third Party Advisory
- https://www.dlink.com/en/security-bulletin/Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.