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.
References
Link | Resource |
---|---|
https://www.dlink.com/en/security-bulletin/ | Vendor Advisory |
https://github.com/doudoudedi/DIR-846_Command_Injection/blob/main/DIR-846_Command_Injection1.md | Exploit Third Party Advisory |
Information
Published : 2022-02-17 14:15
Updated : 2022-02-25 10:49
NVD link : CVE-2021-46315
Mitre link : CVE-2021-46315
JSON object : View
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Products Affected
dlink
- dir-846_firmware
- dir-846