CVE-2022-30525: OS Command Injection in Zyxel Firewall CGI Handler
- Vendor
- Zyxel Communications
CVE-2022-30525 is an operating system command injection vulnerability in the CGI program used by Zyxel firewall firmware, reachable through the Zero Touch Provisioning HTTP handler. Crafted requests can allow attackers to modify specific files and execute operating system commands on an affected device. Affected firmware includes USG FLEX 100(W), 200, 500, and 700 versions 5.00 through 5.21 Patch 1; USG FLEX 50(W), USG20(W)-VPN, and ATP series versions 5.10 through 5.21 Patch 1; and VPN series versions 4.60 through 5.21 Patch 1. The vulnerability has been exploited for malware propagation by botnets including GooberBot, Zerobot, and Mirai.TBOT.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits modification of specific device files and execution of operating system commands, compromising firewall integrity and potentially disrupting network security services. Observed exploitation has enabled malware installation and recruitment of vulnerable devices into DDoS botnets. The execution privilege level and complete scope of accessible files are not specified.
Mitigation
If you can’t patch tonight, do this now.
Until firmware updates can be applied, restrict access to the affected HTTPS/CGI service to trusted administrative networks and remove unnecessary Internet exposure. Where supported, use intrusion-prevention coverage for CVE-2022-30525 and monitor for unexpected outbound connections, malware downloads, and botnet activity. These measures reduce exposure but do not correct the vulnerable firmware.
Remediation
Patch, then assume compromise.
Apply vendor-provided firmware updates addressing CVE-2022-30525 for the affected model. The exact fixed firmware versions are not available in the supplied vulnerability details. For devices showing evidence of exploitation, investigate and remove malware or restore a trusted firmware and configuration baseline; patching alone does not remove an existing compromise.
Exploits
5 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-30525 exploited in the wild?
- Yes. As of Oct 26, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 16, 2022.
- Is there a public exploit for CVE-2022-30525?
- Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2022-30525, the earliest disclosed Apr 28, 2022.
- Is there a patch for CVE-2022-30525?
- Apply vendor-provided firmware updates addressing CVE-2022-30525 for the affected model. The exact fixed firmware versions are not available in the supplied vulnerability details.
- What products are affected by CVE-2022-30525?
- Zyxel Communications Atp100 Firmware, Zyxel Communications Atp100w Firmware, Zyxel Communications Atp200 Firmware, Zyxel Communications Atp500 Firmware, Zyxel Communications Atp700 Firmware, and 11 more.
- How severe is CVE-2022-30525?
- CVE-2022-30525 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 98.1% (100th percentile) as of Oct 26, 2026.
Recent activity
28 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.