CVE-2022-30525Zyxel Multiple Firewalls OS Command Injection Vulnerability
CVSS score
9.8
Critical
CVSS 3.1 from NVD
Exploit probability (EPSS)
99.9%
99.9% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 16 May 2022.
US federal deadline to fix: 6 Jun 2022.
Official 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.
Source: NVD · CNA: security@zyxel.com.tw
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 16 May 2022.
US federal agencies must fix it by 6 Jun 2022. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Zyxel Usg Flex 100w Firmware, Zyxel Usg Flex 200 Firmware, Zyxel Usg Flex 500 Firmware, Zyxel Usg Flex 700 Firmware, Zyxel Vpn100 Firmware and compare its version with the affected versions.
Update to a fixed version
- Update Usg Flex 100w Firmware, Usg Flex 200 Firmware, Usg Flex 700 Firmware, Vpn100 Firmware to 5.30 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Zyxel Usg Flex 100w Firmware | ≥ 5.00, < 5.30 |
| Zyxel Usg Flex 200 Firmware | ≥ 5.00, < 5.30 · 5.00 through 5.21 Patch 1 |
| Zyxel Usg Flex 500 Firmware | ≥ 5.00, ≤ 5.30 · 5.00 through 5.21 Patch 1 |
| Zyxel Usg Flex 700 Firmware | ≥ 5.00, < 5.30 · 5.00 through 5.21 Patch 1 |
| Zyxel Vpn100 Firmware | ≥ 4.60, < 5.30 |
| Zyxel Vpn1000 Firmware | ≥ 4.60, < 5.30 |
| Zyxel Vpn300 Firmware | ≥ 4.60, < 5.30 |
| Zyxel Vpn50 Firmware | ≥ 4.60, < 5.30 |
| Zyxel Atp100 Firmware | ≥ 5.10, < 5.30 |
| Zyxel Atp100w Firmware | ≥ 5.10, < 5.30 |
| Zyxel Atp200 Firmware | ≥ 5.10, < 5.30 |
| Zyxel Atp500 Firmware | ≥ 5.10, < 5.30 |
| Zyxel Atp700 Firmware | ≥ 5.10, < 5.30 |
| Zyxel Atp800 Firmware | ≥ 5.10, < 5.30 |
| Zyxel Usg Flex 50w Firmware | ≥ 5.10, < 5.30 |
| Zyxel Usg20w-vpn Firmware | ≥ 5.10, < 5.30 |
| Zyxel USG FLEX 100(W) 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 |
Weakness
- CWE-78 OS command injection
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2022-30525 being exploited?
Yes. CISA added CVE-2022-30525 to its Known Exploited Vulnerabilities catalog on 16 May 2022, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 99.9% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2022-30525?
CVE-2022-30525 has a CVSS 3.1 base score of 9.8 (critical).
Which versions are affected?
Zyxel Usg Flex 100w Firmware (≥ 5.00, < 5.30), Zyxel Usg Flex 200 Firmware (≥ 5.00, < 5.30; 5.00 through 5.21 Patch 1), Zyxel Usg Flex 500 Firmware (≥ 5.00, ≤ 5.30; 5.00 through 5.21 Patch 1), Zyxel Usg Flex 700 Firmware (≥ 5.00, < 5.30; 5.00 through 5.21 Patch 1), Zyxel Vpn100 Firmware (≥ 4.60, < 5.30), Zyxel Vpn1000 Firmware (≥ 4.60, < 5.30)
Is there a patch for CVE-2022-30525?
The official record links to vendor advisories or patches; see “What to do” above.
References
- www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtml(Vendor Advisory)
- packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauthenticated-Command-Injection.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Command-Injection.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Privilege-Escalation.html(Exploit, Third Party Advisory)
- packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.html(Third Party Advisory, VDB Entry)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-30525(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.