{"id":"CVE-2022-30525","published":"2022-05-12T14:15:07Z","modified":"2026-06-17T04:43:46Z","title":"Zyxel Multiple Firewalls OS Command Injection Vulnerability","vendor":"Zyxel","product":"Multiple Firewalls","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"A command injection flaw in the CGI program of multiple Zyxel firewall products, including the USG FLEX, USG20(W)-VPN, ATP and VPN series, allows OS commands to be run on affected devices. An attacker with network access can exploit it without authentication or user interaction by modifying specific files, after which they can execute operating system commands on the vulnerable device.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:53:16Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.99944,"percentile":0.99973,"date":"2026-10-29","provenance":"source"},"kev":{"dateAdded":"2022-05-16","dueDate":"2022-06-06","ransomware":false,"requiredAction":"Apply updates per vendor instructions.","notes":"https://nvd.nist.gov/vuln/detail/CVE-2022-30525","provenance":"source"},"vulncheckKev":{"dateAdded":"2022-05-14","exploitedFirstSeen":"2022-05-16","ransomware":true,"evidence":[{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2022-05-16"},{"url":"https://blog.lumen.com/chaos-is-a-go-based-swiss-army-knife-of-malware/","date":"2022-09-28"},{"url":"https://www.fortinet.com/blog/threat-research/zerobot-new-go-based-botnet-campaign-targets-multiple-vulnerabilities","date":"2022-12-06"},{"url":"https://blog.netlab.360.com/new-ddos-botnet-wszeor/","date":"2022-12-07"},{"url":"https://t.me/hacking_Attack/79492","date":"2022-12-08"},{"url":"https://www.microsoft.com/en-us/security/blog/2022/12/21/microsoft-research-uncovers-new-zerobot-capabilities/","date":"2022-12-21"},{"url":"https://fortiguard.fortinet.com/threat-signal-report/4926/new-zerobot-variant-exploits-additional-vulnerabilities-for-propagation","date":"2022-12-22"},{"url":"https://ti.qianxin.com/blog/articles/GooberBot:-New-Member-of%20Scar-Rental-Botnet/","date":"2023-02-10"},{"url":"https://cujo.com/blog/the-2022-2023-iot-botnet-report-vulnerabilities-targeted/","date":"2023-04-27"},{"url":"https://cujo.com/the-2022-2023-iot-botnet-report-vulnerabilities-targeted/","date":"2023-04-27"}],"evidenceTotal":763,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"http://packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.html","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauthenticated-Command-Injection.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Command-Injection.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Privilege-Escalation.html","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtml","tags":["Vendor Advisory"]},{"url":"http://packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.html","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauthenticated-Command-Injection.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Command-Injection.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Privilege-Escalation.html","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtml","tags":["Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-30525","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Exploited via network-facing CGI web interface","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"A OS command injection vulnerability in the CGI program of Zyxel USG FLEX","start":0,"end":73}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: OS command execution on the device","mappingType":"primary_impact","evidence":[{"from":"description","quote":"could allow an attacker to modify specific files and then execute some OS commands","start":536,"end":618}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[{"id":"SRC-ab60e18dfb72c1e085c0","title":"Matrix Unleashes A New Widespread DDoS Campaign","publisher":"aquasec.com","url":"https://www.aquasec.com/blog/matrix-unleashes-a-new-widespread-ddos-campaign/","date":"2024-11-26","mentions":[{"quote":"However, the majority of the vulnerabilities center around IoT devices (CVE-2022-30525, CVE-2022-30075, CVE-2018-10562, CVE-2018-10561, CVE-2018-9995, CVE-2017-18368, CVE-2017-17215, CVE-2017-17106, and CVE-2014-8361).","start":7138,"end":7356},{"quote":"CVE-2022-30525: A OS command injection vulnerability in the CGI program of Zyxel USG FLEX 100(W) firmware.","start":29553,"end":29659}]},{"id":"SRC-b3ea000916d84bc1c41a","title":"Microsoft research uncovers new Zerobot capabilities","publisher":"microsoft.com","url":"http://www.microsoft.com/en-us/security/blog/2022/12/21/microsoft-research-uncovers-new-zerobot-capabilities/","date":null,"mentions":[{"quote":"d to Zerobot activity:\nCVE-2014-8361\nCVE-2016-20017\nCVE-2017-17105\nCVE-2017-17215\nCVE-2018-10561\nCVE-2018-20057\nCVE-2019-10655\nCVE-2020-7209\nCVE-2020-10987\nCVE-2020-25506\nCVE-2021-35395\nCVE-2021-36260\nCVE-2021-42013\nCVE-2021-46422\nCVE-2022-22965\nCVE-2022-25075\nCVE-2022-26186\nCVE-2022-26210\nCVE-2022-30023\nCVE-2022-30525","start":11934,"end":12254},{"quote":"CVE-2022-30525","start":13344,"end":13358}]}],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-52385","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-52385","exploited":true,"exploitedSince":"2022-05-16","provenance":"source"},"exploits":[{"id":50946,"url":"https://www.exploit-db.com/exploits/50946","title":"Zyxel USG FLEX 5.21 - OS Command Injection","type":"remote","platform":"hardware","date":"2022-06-03","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2022-06-03"},"pocGithub":{"count":14,"skipped":0,"earliest":"2022-05-10","earliestUrl":"https://github.com/jbaines-r7/victorian_machinery","repos":[{"name":"shuai06/CVE-2022-30525","url":"https://github.com/shuai06/CVE-2022-30525","stars":33,"created":"2022-05-13"},{"name":"jbaines-r7/victorian_machinery","url":"https://github.com/jbaines-r7/victorian_machinery","stars":30,"created":"2022-05-10"},{"name":"Henry4E36/CVE-2022-30525","url":"https://github.com/Henry4E36/CVE-2022-30525","stars":22,"created":"2022-05-13"},{"name":"west9b/CVE-2022-30525","url":"https://github.com/west9b/CVE-2022-30525","stars":12,"created":"2022-05-28"},{"name":"savior-only/CVE-2022-30525","url":"https://github.com/savior-only/CVE-2022-30525","stars":4,"created":"2022-05-13"}]},"metasploit":[{"name":"Zyxel Firewall ZTP Unauthenticated Command Injection","module":"exploit/linux/http/zyxel_ztp_rce","type":"exploit","disclosureDate":"2022-04-28","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/zyxel_ztp_rce.rb"}],"nuclei":[{"id":"CVE-2022-30525","name":"Zyxel Firewall - OS Command Injection","severity":"critical","path":"http/cves/2022/CVE-2022-30525.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-30525.yaml"}],"first":{"date":"2022-04-28","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/zyxel_ztp_rce.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauthenticated-Command-Injection.html","http://packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Command-Injection.html","http://packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Privilege-Escalation.html","http://packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.html"],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1059"],"provenance":"ai"}],"timeline":[{"date":"2022-04-28","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2022-05-10, Exploit-DB 2022-06-03","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/zyxel_ztp_rce.rb","provenance":"source"},{"date":"2022-05-12","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30525","provenance":"source"},{"date":"2022-05-16","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","provenance":"source"},{"date":"2022-05-16","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2022-05-16","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-52385","provenance":"source"},{"date":"2024-11-26","kind":"report","label":"Named in aquasec.com: Matrix Unleashes A New Widespread DDoS Campaign","url":"https://www.aquasec.com/blog/matrix-unleashes-a-new-widespread-ddos-campaign/","provenance":"machine"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":4},"priority":{"score":86.0,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1630 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"CISA KEV and VulnCheck KEV: Known"},{"name":"EPSS percentile","points":19.99,"detail":"percentile 0.9997"},{"name":"Named in threat reports","points":6.13,"detail":"2 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 NVD references tagged Exploit; 1 Exploit-DB entry; 1 NVD exploit link; 14 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}