← Vulnerability feed

Vulnerability record · CVE-2022-0342 · published 28 March 2022

CVE-2022-0342: Zyxel firewall CGI authentication bypass grants admin access

Zyxel · Usg40 Firmware

The CGI program in multiple Zyxel firewall firmware lines (USG/ZyWALL, USG FLEX, ATP, VPN, NSG) fails to properly enforce authentication, allowing a remote attacker to bypass web authentication. Because these devices are internet-facing security gateways, a bypass yields full administrative control of the appliance.

9.8 CVSS 3.1 Critical EPSS 95% · top 0.1% CWE-287 · Improper authentication
9.8CVSS 3.1 base score, v2 7.5
95%EPSS exploitation probability, 30 days
NoNot in CISA KEV
23Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityCVSS 9.8 with no authentication or user interaction required, and an EPSS score near the top percentile, make this a high-risk internet-facing authentication bypass.

What it is

The CGI program in multiple Zyxel firewall firmware lines (USG/ZyWALL, USG FLEX, ATP, VPN, NSG) fails to properly enforce authentication, allowing a remote attacker to bypass web authentication. Because these devices are internet-facing security gateways, a bypass yields full administrative control of the appliance.

Impact

An attacker gains administrative access to the device, enabling configuration changes, policy manipulation, and potential use of the firewall as a pivot into protected networks.

Attack surface

Reachable over the network via the device's web management interface (CVSS vector AV:N/PR:N/UI:N), requiring no authentication and no user interaction.

Exploitation

Not listed in CISA KEV and no public exploit references are tagged, but EPSS is very high (0.94858, 99.856th percentile), indicating elevated likelihood of exploitation activity.

What to do

  • Apply the vendor firmware update from the Zyxel security advisory for all affected USG/ZyWALL, USG FLEX, ATP, VPN, and NSG models.
  • Restrict web management access to trusted management networks or VPN only; do not expose the admin interface to the internet.
  • Disable remote/WAN management where not strictly required and enforce strong admin credentials and MFA if supported.
  • Audit device configurations and logs for unauthorized admin changes after patching, and rotate admin credentials.
  • Monitor vendor advisories for updated firmware, as the listed version ranges may be superseded.

Detection

  • Review firewall/device logs for successful admin logins or configuration changes from unexpected source IPs.
  • Alert on access to CGI management endpoints from external or non-management networks.
  • Baseline and monitor admin account, policy, and firmware changes for anomalies.
  • Hunt for new or modified local admin accounts and unexpected VPN or firewall rule additions.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

23 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-0342 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-33009Zyxel firewall notification function buffer overflowA buffer overflow in the notification function of multiple Zyxel firewall and VPN firmware lines (ATP, USG FLEX, USG20(W)-VPN, VPN, ZyWALL/USG) allow…KEVEPSS 28%analysed9.8CVE-2023-33010Zyxel firewall ID processing buffer overflow allows unauthenticated RCEA classic buffer overflow (CWE-120) exists in the ID processing function of multiple Zyxel firewall firmware lines, including ATP, USG FLEX, USG20(W)…KEVEPSS 29%analysed9.8CVE-2023-28771Zyxel firewall firmware OS command injection via crafted packetsZyxel ZyWALL/USG, VPN, USG FLEX and ATP series firmware mishandle error messages, allowing OS command injection. An unauthenticated remote attacker c…KEVEPSS 99%analysed9.8CVE-2022-30525Zyxel firewall CGI OS command injectionThe CGI program in multiple Zyxel firewall and VPN firmware lines fails to neutralize OS command syntax, allowing command injection. The flaw affects…KEVEPSS 100%analysed9.8CVE-2020-29583Zyxel USG and ATP firmware hard-coded admin credentialZyxel USG and ATP firmware version 4.60 ships an undocumented account (zyfwp) whose password is stored in cleartext in the firmware and cannot be cha…KEVEPSS 90%analysed9.8CVE-2020-9054ZyXEL NAS weblogin.cgi pre-auth command injectionZyXEL NAS devices running firmware 5.21 fail to sanitize the username parameter in the weblogin.cgi CGI executable, allowing OS command injection. Be…KEVEPSS 100%analysed8.8CVE-2023-27991Zyxel atp200 firmware os command injection vulnerabilityThe post-authentication command injection vulnerability in the CLI command of Zyxel ATP series firmware versions 4.32 through 5.35, USG FLEX series f…EPSS 1.5%8.1CVE-2023-6764Zyxel atp100 firmware vulnerabilityA format string vulnerability in a function of the IPSec VPN feature in Zyxel ATP series firmware versions from 4.32 through 5.37 Patch 1, USG FLEX s…EPSS 0.89%

Source: NIST National Vulnerability Database (record CVE-2022-0342), CISA KEV, FIRST EPSS (scores of 2026-09-25). This page is refreshed as NVD updates the record.