RCE in Dlink Dir-846 Firmware
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. 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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.066, 93.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Dlink Dir-846 Firmware — versions 100a43, 100a53dla
Weakness classification (CWE)
References
- www.dlink.com/en/security-bulletin/ (Vendor Advisory)
- github.com/doudoudedi/DIR-846_Command_Injection/blob/main/DIR-846_Command_Injec… (Exploit, Third Party Advisory)