cbcvebase.
CVE-2022-0342
published 2022-03-28

CVE-2022-0342: 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…

PriorityP193critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
84.42%
99.7th percentile
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.

Affected

29 ranges· showing 25
VendorProductVersion rangeFixed in
zyxelatp100_firmware4.32 – 5.20
zyxelatp100w_firmware4.32 – 5.20
zyxelatp200_firmware4.32 – 5.20
zyxelatp500_firmware4.32 – 5.20
zyxelatp700_firmware4.32 – 5.20
zyxelatp800_firmware4.32 – 5.20
zyxelatp_series_firmware
zyxelnsg300_firmware
zyxelnsg300_firmware>= 1.20 < 1.331.33
zyxelnsg_series_firmware
zyxelusg40_firmware>= 4.20 < 4.714.71
zyxelusg40w_firmware>= 4.20 < 4.714.71
zyxelusg60_firmware>= 4.20 < 4.714.71
zyxelusg60w_firmware>= 4.20 < 4.714.71
zyxelusg_flex_100_firmware4.50 – 5.20
zyxelusg_flex_100w_firmware4.50 – 5.20
zyxelusg_flex_200_firmware4.50 – 5.20
zyxelusg_flex_500_firmware4.50 – 5.20
zyxelusg_flex_700_firmware4.50 – 5.20
zyxelusg_flex_series_firmware
zyxelusg_zywall_series_firmware
zyxelvpn1000_firmware>= 4.30 < 5.215.21
zyxelvpn100_firmware>= 4.30 < 5.215.21
zyxelvpn300_firmware>= 4.30 < 5.215.21
zyxelvpn50_firmware>= 4.30 < 5.215.21

Detection & IOCsextracted from sources · hover to see the quote

url/cgi-bin/export-cgi?category=config&arg0=startup-config.conf
path/cgi-bin/export-cgi
filenamestartup-config.conf
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Zyxel USG/Zywall Authentication Bypass Attempt (CVE-2022-0342)"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/cgi-bin/export-cgi?category=config&arg0=startup-config.conf"; fast_pattern; reference:url,github.com/projectdiscovery/nuclei-templates/blob/5a70e30cfc52ba07a24c23a250c985f926cff8e4/http/cves/2022/CVE-2022-0342.yaml; reference:cve,2022-0342; classtype:attempted-admin; sid:2056775; rev:2; metadata:affected_product Zyxel, created_at 2024_10_22, cve CVE_2022_0342, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Exploit, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_11_26, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)
  • HTTP GET to /cgi-bin/export-cgi?category=config&arg0=startup-config.conf unauthenticated — successful exploitation returns HTTP 200 with body containing 'interface-name' and 'saved at', and Content-Type header containing 'text/zyxel' and 'attachment; filename='
  • FOFA fingerprinting queries to identify exposed Zyxel devices: search for body containing '/2FA-access.cgi' AND 'zyxel zyxel_style1' (case-insensitive variant also uses '/2fa-access.cgi')
  • The vulnerability resides in the CGI program; the exploit is a single unauthenticated GET request — no credentials or prior session required (PR:N, UI:N per CVSS)
  • Classify exploit traffic under MITRE ATT&CK T1190 (Exploit Public-Facing Application) / TA0001 (Initial Access) for alert triage
  • ·Affected firmware ranges are broad; ensure version-scoped detection — USG/ZyWALL 4.20–4.70, USG FLEX 4.50–5.20, ATP 4.32–5.20, VPN 4.30–5.20, NSG V1.20–V1.33 Patch 4
  • ·EPSS score of 0.92364 (99.7th percentile) indicates very high probability of exploitation in the wild; treat as high-priority for detection and patching

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.