CVEs / CVE-2022-30525
CVE-2022-30525: Zyxel Multiple Firewalls OS Command Injection Vulnerability
- Known exploited in the CISA KEV catalog since 16 May 2022
- critical 9.8 CVSS 3.1 (NVD)
- EPSS 99.9% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2022-30525
Summary
A command injection vulnerability in the CGI program of some Zyxel firewall versions could allow an attacker to modify specific files and then execute some OS commands on a vulnerable device.
Description
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Zyxel USG FLEX 100(W) firmware | 5.00 through 5.21 Patch 1 | — |
| Zyxel USG FLEX 200 firmware | 5.00 through 5.21 Patch 1 | — |
| Zyxel USG FLEX 500 firmware | 5.00 through 5.21 Patch 1 | — |
| Zyxel USG FLEX 700 firmware | 5.00 through 5.21 Patch 1 | — |
| Zyxel ATP series firmware | 5.10 through 5.21 Patch 1 | — |
| Zyxel VPN series firmware | 4.60 through 5.21 Patch 1 | — |
| Zyxel USG FLEX 50(W) firmware | 5.10 through 5.21 Patch 1 | — |
| Zyxel USG 20(W)-VPN firmware | 5.10 through 5.21 Patch 1 | — |
Exploitation
| In CISA KEV since | 16 May 2022 |
|---|---|
| Due date for US federal agencies | 6 Jun 2022 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply updates per vendor instructions. |
Severity
| CVSS 3.1 | 9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-78 |
References
- CVE-2022-30525 on NVD
- CVE-2022-30525 in the CISA KEV catalog
- http://packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.html Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauthenticated-Command-Injection.html Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Command-Injection.html Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Privilege-Escalation.html Exploit, Third Party Advisory
- https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtml Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-30525 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.