CVE-2017-6334 in Netgear Dgn2200 Series Firmware and 4 more products
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.
Affects 5 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Netgear | Dgn2200 Series Firmware | ≤ 10.0.0.50 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Netgear Dgn2200V1, Netgear Dgn2200V2, Netgear Dgn2200V3, Netgear Dgn2200V4
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Yes added 2022-03-25 |
|---|---|
| Public exploit | Reported · reference |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2017-6334 |
|---|---|
| BreachSpider ID | BS-2017-GLOBAL-156306-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2017-03-06 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-78: OS Command Injection
Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78
CAPEC-108 Command Line Execution through SQL Injection via CWE-78
CAPEC-6 Argument Injection via CWE-78
CAPEC-15 Command Delimiters via CWE-78
CAPEC-88 OS Command Injection via CWE-78
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2017-6334 affects the dnslookup.cgi component on NETGEAR DGN2200 devices with firmware versions up to 10.0.0.50. This vulnerability allows remote authenticated users to execute arbitrary OS commands via shell metacharacters in the host_name field of an HTTP POST request. The CVSS score of 8.8 indicates a high severity, and the presence of an exploit increases the risk. Immediate attention is required to mitigate potential attacks that could compromise the device and the network it manages.
The attack vector involves a remote authenticated user sending a specially crafted HTTP POST request to the dnslookup.cgi script. The request includes shell metacharacters in the host_name parameter, which are then executed by the device's operating system. This can lead to unauthorized command execution, potentially allowing the attacker to gain full control over the device.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for the host_name parameter in the dnslookup.cgi script. Additionally, restrict access to the DNS lookup functionality to trusted users and networks.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2017-6334?
CVE-2017-6334 affects the dnslookup.cgi component on NETGEAR DGN2200 devices with firmware versions up to 10.0.0.50. This vulnerability allows remote authenticated users to execute arbitrary OS commands via shell metacharacters in the host_name field of an HTTP POST request. The CVSS score of 8.8 indicates a high severity, and the presence of an exploit increases the risk. Immediate attention is required to mitigate potential attacks that could compromise the device and the network it manages.
What is the CVSS score for CVE-2017-6334?
CVE-2017-6334 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 72.6%.
Is CVE-2017-6334 actively exploited?
Yes. CVE-2017-6334 is in the CISA known-exploited catalog (added 2022-03-25). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2017-6334?
Priority: IMMEDIATE.
What systems are affected by CVE-2017-6334?
CVE-2017-6334 affects Netgear Dgn2200 Series.
What NERC-CIP standard applies to CVE-2017-6334?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized command execution on a critical device, which could compromise the integrity and availability of the control system.
What IEC 62443 requirement maps to CVE-2017-6334?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability in the device's web interface that could allow an attacker to execute arbitrary commands, compromising the security of the device and the network it controls.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Netgear","product":"Dgn2200 Series Firmware","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.