CVE-2022-30525
Confirmed PUBLISHEDA 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...
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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.
- CVE Published
- May 12, 2022
- Exploitation Reported
- May 16, 2022
- CVSS
- 9.8 Critical
- EPSS
- 99.9%
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| Zyxel |
USG FLEX 100(W) firmware
|
5.00 through 5.21 Patch 1 |
Affected |
| Zyxel |
USG FLEX 200 firmware
|
5.00 through 5.21 Patch 1 |
Affected |
| Zyxel |
USG FLEX 500 firmware
|
5.00 through 5.21 Patch 1 |
Affected |
| Zyxel |
USG FLEX 700 firmware
|
5.00 through 5.21 Patch 1 |
Affected |
| Zyxel |
ATP series firmware
|
5.10 through 5.21 Patch 1 |
Affected |
| Zyxel |
VPN series firmware
|
4.60 through 5.21 Patch 1 |
Affected |
| Zyxel |
USG FLEX 50(W) firmware
|
5.10 through 5.21 Patch 1 |
Affected |
| Zyxel |
USG 20(W)-VPN firmware
|
5.10 through 5.21 Patch 1 |
Affected |
CVE References
- zyxel.com/support/Zyxel-security-advisory-for-OS-comma... zyxel.com · CVE Record https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-...
- packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Exec...
- packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauthentica... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauth...
- packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Command-Inj... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Comma...
- packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Priv... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binar...
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2022-05-16 00:00 UTC |
| The Shadowserver | 2026-07-08 00:00 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-30525.yaml | Apr 25, 2025 |
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/zyxel_ztp_rce.rb | Apr 28, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:C/I:C/A:C
Exploitation Status
Exploited in the wild
Recorded 2022-05-16 00:00:00 UTC · CISA
Proof of concept available
Recorded 2022-05-13 12:03:28 UTC · GitHub
Weaknesses (CWE)
-
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/zyxel_ztp_rce.rb | Apr 28, 2025 |
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-30525.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2023-01-15 20:02:24 UTC · 2 stars
github · Created 2022-05-28 07:19:31 UTC · 12 stars
CVE-2022-30525 Zyxel 防火墙命令注入漏洞 POC&EXPC
github · Created 2022-05-18 15:22:17 UTC · 2 stars
Simple python script to exploit CVE-2022-30525 (FIXED): Zyxel Firewall Unauthenticated Remote Command Injection
github · Created 2022-05-16 04:45:43 UTC · 3 stars
CVE-2022-30525(Zxyel 防火墙命令注入)的概念证明漏洞利用
github · Created 2022-05-13 18:16:31 UTC · 4 stars
Zyxel 防火墙未经身份验证的远程命令注入
github · Created 2022-05-13 12:58:43 UTC · 33 stars
Zyxel 防火墙远程命令注入漏洞(CVE-2022-30525)批量检测脚本
github · Created 2022-05-13 12:03:28 UTC · 22 stars
Zyxel 防火墙远程命令注入漏洞(CVE-2022-30525)
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
00:00 UTC 15 days ago00:00 UTC · 15 days ago
KEV confirmed by The Shadowserver
Exploitation attested by an external source
-
15:02 UTC about 1 year ago15:02 UTC · about 1 year ago
Metasploit module available
Exploit module available
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
00:00 UTC about 4 years ago00:00 UTC · about 4 years ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
12:03 UTC about 4 years ago12:03 UTC · about 4 years ago
Public PoC available
Public proof-of-concept code published
-
13:05 UTC about 4 years ago13:05 UTC · about 4 years ago
CVE published
Vulnerability disclosed publicly
-
00:00 UTC about 4 years ago00:00 UTC · about 4 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2022-30525
{
"cve_id": "CVE-2022-30525",
"title": "A OS command injection vulnerability in the CGI program of Zyxel USG FLEX 100...",
"affected_vendor": "Zyxel",
"affected_product": "USG FLEX 100(W) firmware, USG FLEX 200 firmware, USG FLEX 500 firmware, USG FLEX 700 firmware, ATP series firmware, VPN series firmware, USG FLEX 50(W) firmware, USG 20(W)-VPN firmware",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 9.8,
"epss_score": 0.99938,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}