CVE-2017-6334
Published: 06 March 2017
Summary
CVE-2017-6334 is a high-severity OS Command Injection (CWE-78) vulnerability in Netgear Dgn2200 Series Firmware. Its CVSS base score is 8.8 (High).
Operationally, ranked in the top 0.4% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Deeper analysis
CVE-2017-6334 is an OS command injection vulnerability (CWE-78) affecting the dnslookup.cgi script on NETGEAR DGN2200 devices running firmware versions through 10.0.0.50. The flaw permits execution of arbitrary operating system commands when an authenticated user supplies shell metacharacters in the host_name field of an HTTP POST request; it is distinct from the related issue tracked as CVE-2017-6077. The vulnerability received a CVSS v3.1 base score of 8.8, reflecting network attack vector, low complexity, and low required privileges.
An attacker who has already obtained valid credentials on the affected device can send a crafted POST request to dnslookup.cgi and thereby execute commands with the privileges of the web server process. Successful exploitation grants full control over confidentiality, integrity, and availability of the router, enabling actions such as configuration changes, traffic interception, or persistence mechanisms.
Public exploit code for this issue has been published on Exploit-DB, confirming that working proof-of-concept attacks are readily available, although the supplied references contain no official vendor advisory or patch information.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2017-15395
Vulnerability details
dnslookup.cgi on NETGEAR DGN2200 devices with firmware through 10.0.0.50 allows remote authenticated users to execute arbitrary OS commands via shell metacharacters in the host_name field of an HTTP POST request, a different vulnerability than CVE-2017-6077.
- CWE(s)
- KEV Date Added
- 25 March 2022
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly requires validation and sanitization of untrusted input (host_name) to block shell metacharacters that produce OS command injection.
Limits privileges of the web-server process so that even a successful injection yields only minimal device control rather than full administrative access.
Mandates timely patching or firmware updates that eliminate the dnslookup.cgi command-injection flaw before exploitation.