CyberSecBulletin
CVE-2022-30526NVD status: Modified

USG FLEX 100(W) firmware: Improper Privilege Management

CVE-2022-30526 is a high-severity improper privilege management vulnerability in USG FLEX 100(W) firmware from Zyxel, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. Affected USG FLEX 100(W) firmware versions: 4.50 through 5.30. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 1.14% chance of exploitation within 30 days, higher than 67% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Check which version of USG FLEX 100(W) firmware you run against the affected versions below, and install the vendor's latest release.
  2. Read the advisory on zyxel.com for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
ZyxelUSG FLEX 100(W) firmware4.50 through 5.30Not stated
ZyxelUSG FLEX 200 firmware4.50 through 5.30Not stated
ZyxelUSG FLEX 500 firmware4.50 through 5.30Not stated
ZyxelUSG FLEX 700 firmware4.50 through 5.30Not stated
ZyxelATP series firmware4.32 through 5.30Not stated
ZyxelVPN series firmware4.30 through 5.30Not stated
ZyxelUSG FLEX 50(W) firmware4.16 through 5.30Not stated
ZyxelUSG 20(W)-VPN firmware4.16 through 5.30Not stated
ZyxelUSG/ZyWALL series firmware4.09 through 4.72Not stated
ZyxelUsg Flex 100w Firmware4.50 through 5.30Not stated
ZyxelUsg Flex 50w Firmware4.16 through 5.30Not stated
ZyxelUsg20w-vpn Firmware4.16 through 5.30Not stated
ZyxelAtp800 Firmware4.32 through 5.30Not stated
ZyxelAtp700 Firmware4.32 through 5.30Not stated
ZyxelAtp500 Firmware4.32 through 5.30Not stated
ZyxelAtp200 Firmware4.32 through 5.30Not stated
ZyxelAtp100w Firmware4.32 through 5.30Not stated
ZyxelAtp100 Firmware4.32 through 5.30Not stated
ZyxelVpn1000 Firmware4.30 through 5.30Not stated
ZyxelVpn300 Firmware4.30 through 5.30Not stated
ZyxelVpn100 Firmware4.30 through 5.30Not stated
ZyxelVpn50 Firmware4.30 through 5.30Not stated
ZyxelUsg20-vpn Firmware4.30 through 5.30Not stated
ZyxelUsg 2200-vpn Firmware4.30 through 5.30Not stated
ZyxelZywall 110 Firmware4.30 through 5.30Not stated

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

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.17.8HighCNA (zyxel.com.tw)
CVSS 3.17.8HighNVD

Official description

A privilege escalation vulnerability was identified in the CLI command of Zyxel USG FLEX 100(W) firmware versions 4.50 through 5.30, USG FLEX 200 firmware versions 4.50 through 5.30, USG FLEX 500 firmware versions 4.50 through 5.30, USG FLEX 700 firmware versions 4.50 through 5.30, USG FLEX 50(W) firmware versions 4.16 through 5.30, USG20(W)-VPN firmware versions 4.16 through 5.30, ATP series firmware versions 4.32 through 5.30, VPN series firmware versions 4.30 through 5.30, USG/ZyWALL series firmware versions 4.09 through 4.72, which could allow a local attacker to execute some OS commands with root privileges in some directories on a vulnerable device.

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

The underlying weakness: Improper Privilege Management

The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

How developers prevent this class of flaw

  • Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
  • Follow the principle of least privilege when assigning access rights to entities in a software system.
  • Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.

More Improper Privilege Management vulnerabilities (CWE-269)

Timeline

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

References

Technical write-ups (may include proof of concept)

Other vulnerabilities in USG FLEX 100(W) firmware

All USG FLEX 100(W) firmware vulnerabilities

Recent Improper Privilege Management vulnerabilities

Spotted an error? Tell us.