CyberSecBulletin
CVE-2022-0342NVD status: Modified

USG/ZyWALL series firmware: Improper Authentication

CVE-2022-0342 is a critical-severity improper authentication vulnerability in USG/ZyWALL series firmware from Zyxel, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected USG/ZyWALL series firmware versions: 4.20 through 4.70. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 95.1% chance of exploitation within 30 days, which is in the top 0.13% of all scored CVEs.

Patch now

Exploitation in the next 30 days is more likely than not, according to EPSS.

What to do

  1. Update Usg40 Firmware to 4.71 or a later version.
  2. Update Usg40w Firmware to 4.71 or a later version.
  3. Update Usg60 Firmware to 4.71 or a later version.
  4. Read the advisory on zyxel.com for workarounds and exact fixed builds.
  5. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
ZyxelUSG/ZyWALL series firmware4.20 through 4.70Not stated
ZyxelUSG FLEX series firmware4.50 through 5.20Not stated
ZyxelATP series firmware4.32 through 5.20Not stated
ZyxelVPN series firmware4.30 through 5.20Not stated
ZyxelNSG series firmware1.20 through 1.33 Patch 4Not stated
ZyxelUsg40 Firmware4.20 up to, but not including, 4.714.71
ZyxelUsg40w Firmware4.20 up to, but not including, 4.714.71
ZyxelUsg60 Firmware4.20 up to, but not including, 4.714.71
ZyxelUsg60w Firmware4.20 up to, but not including, 4.714.71
ZyxelZywall 110 Firmware4.20 up to, but not including, 4.714.71
ZyxelZywall 310 Firmware4.20 up to, but not including, 4.714.71
ZyxelZywall 1100 Firmware4.20 up to, but not including, 4.714.71
ZyxelUsg Flex 100 Firmware4.50 through 5.20Not stated
ZyxelUsg Flex 200 Firmware4.50 through 5.20Not stated
ZyxelUsg Flex 500 Firmware4.50 through 5.20Not stated
ZyxelUsg Flex 100w Firmware4.50 through 5.20Not stated
ZyxelUsg Flex 700 Firmware4.50 through 5.20Not stated
ZyxelAtp100 Firmware4.32 through 5.20Not stated
ZyxelAtp100w Firmware4.32 through 5.20Not stated
ZyxelAtp200 Firmware4.32 through 5.20Not stated
ZyxelAtp500 Firmware4.32 through 5.20Not stated
ZyxelAtp700 Firmware4.32 through 5.20Not stated
ZyxelAtp800 Firmware4.32 through 5.20Not stated
ZyxelVpn50 Firmware4.30 up to, but not including, 5.215.21
ZyxelVpn100 Firmware4.30 up to, but not including, 5.215.21

Version data comes from the organisation that assigned the CVE; 3 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.19.8CriticalCNA (zyxel.com.tw)
CVSS 3.19.8CriticalNVD
CVSS 2.07.5HighNVD

Official 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.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

How developers prevent this class of flaw

  • Use an authentication framework or library such as the OWASP ESAPI Authentication feature.

More Improper Authentication vulnerabilities (CWE-287)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in USG/ZyWALL series firmware

All USG/ZyWALL series firmware vulnerabilities

Recent Improper Authentication vulnerabilities

Spotted an error? Tell us.