# CVE-2022-30525

A OS command injection vulnerability in the CGI program of Zyxel USG FLEX 100(W) firmware versions 5.00 through 5.21 Patch 1, USG FLEX 200 firmware versions 5.00 through 5.21 Patch 1, USG FLEX 500 firmware versions 5.00 through 5.21 Patch 1, USG FLEX 700 firmware versions 5.00 through 5.21 Patch 1, USG FLEX 50(W) firmware versions 5.10 through 5.21 Patch 1, USG20(W)-VPN firmware versions 5.10 through 5.21 Patch 1, ATP series firmware versions 5.10 through 5.21 Patch 1, VPN series firmware versions 4.60 through 5.21 Patch 1, which could allow an attacker to modify specific files and then execute some OS commands on a vulnerable device.

- Page: https://www.vulneraibility.com/cve/CVE-2022-30525
- CVSS: 9.8
- Known exploited: yes, in CISA KEV since 2022-05-16; CISA due date 2022-06-06
- EPSS: 99.94% (percentile 100.0)
- Public exploit code: 1 on Exploit-DB · 1 Metasploit module · 14 GitHub proofs of concept · 1 Nuclei template (first 2022-05-10)
- CISA SSVC: exploitation active, automatable yes, technical impact total (assessed 2025-01-29)
- Weakness: CWE-78
- Published: 2022-05-12

## Affected versions

- Zyxel ATP series firmware: affected 5.10 through 5.21 Patch 1
- Zyxel USG 20(W)-VPN firmware: affected 5.10 through 5.21 Patch 1
- Zyxel USG FLEX 100(W) firmware: affected 5.00 through 5.21 Patch 1
- Zyxel USG FLEX 200 firmware: affected 5.00 through 5.21 Patch 1
- Zyxel USG FLEX 500 firmware: affected 5.00 through 5.21 Patch 1
- Zyxel USG FLEX 50(W) firmware: affected 5.10 through 5.21 Patch 1
- Zyxel USG FLEX 700 firmware: affected 5.00 through 5.21 Patch 1
- Zyxel VPN series firmware: affected 4.60 through 5.21 Patch 1

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtml
- [other] http://packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.html
- [other] http://packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauthenticated-Command-Injection.html
- [other] http://packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Command-Injection.html
- [other] http://packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Privilege-Escalation.html
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-30525

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
