OS Command Injection in DGN2200 - CVE-2017-6334
Published: November 15, 2021 / Updated: March 25, 2022
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation in dnslookup.cgi within shell metacharacters in the host_name field of an HTTP POST request. A remote authenticated attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
How to mitigate CVE-2017-6334
Links to Public Exploits and PoC-codes
- Exploit #7013 - Netgear DGN2200 - dnslookup.cgi Command Injection (Metasploit) (November 15, 2021)
- Exploit #7014 - NETGEAR DGN2200v1/v2/v3/v4 - Cross-Site Request Forgery (November 15, 2021)
- Exploit #7015 - NETGEAR DGN2200v1/v2/v3/v4 - 'dnslookup.cgi' Remote Command Execution (November 15, 2021)
- Exploit #7011 - Netgear DGN2200 dnslookup.cgi Command Injection (November 15, 2021)