RCE in Dlink Dir-846

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)

EPSS: 0.066 (93.1th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-46315?
CVE-2021-46315 is a critical-severity vulnerability in Dlink Dir-846, classified under OS Command Injection. CVSS score: 9.8/10. Published 2022-02-17.
How severe is CVE-2021-46315?
Critical severity. CVSS v3 base score is 9.8 out of 10.