Files
CVEs-PoC/2021/CVE-2021-46315.md
T
2024-05-25 21:48:12 +02:00

19 lines
1.0 KiB
Markdown

### [CVE-2021-46315](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46315)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/doudoudedi/DIR-846_Command_Injection/blob/main/DIR-846_Command_Injection1.md
- https://www.dlink.com/en/security-bulletin/
#### Github
No PoCs found on GitHub currently.