{"id":"CVE-2022-30525","aliases":["EUVD-2022-52385","GHSA-987m-9prq-3p7m"],"status":"published","title":"A OS command injection vulnerability in the CGI program of Zyxel USG FLEX 100(W) firmware...","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.99944,"percentile":0.99973,"model":"v2026.06.15"},"facts":{"in_kev":true,"known_exploited":true,"public_exploit":true,"fix_available":false},"cwes":["CWE-78"],"published":"2022-05-12T13:05:11Z","modified":"2026-06-17T04:43:46Z","kev":{"date_added":"2022-05-16","due_date":"2022-06-06","required_action":"Apply updates per vendor instructions.","known_ransomware_use":"Unknown"},"exploitation":[{"source":"euvd","since":"2022-05-16"},{"source":"kev","since":"2022-05-16"}],"exploits":[{"source":"metasploit","id":"exploit/linux/http/zyxel_ztp_rce","title":"Zyxel Firewall ZTP Unauthenticated Command Injection","type":"exploit","platform":"Linux,Unix","date":"2022-04-28","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/http/zyxel_ztp_rce"},{"source":"pocgithub","id":"jbaines-r7/victorian_machinery","title":"jbaines-r7/victorian_machinery","date":"2022-05-10","url":"https://github.com/jbaines-r7/victorian_machinery"},{"source":"pocgithub","id":"Henry4E36/CVE-2022-30525","title":"Henry4E36/CVE-2022-30525","date":"2022-05-13","url":"https://github.com/Henry4E36/CVE-2022-30525"},{"source":"pocgithub","id":"savior-only/CVE-2022-30525","title":"savior-only/CVE-2022-30525","date":"2022-05-13","url":"https://github.com/savior-only/CVE-2022-30525"},{"source":"pocgithub","id":"shuai06/CVE-2022-30525","title":"shuai06/CVE-2022-30525","date":"2022-05-13","url":"https://github.com/shuai06/CVE-2022-30525"},{"source":"pocgithub","id":"M4fiaB0y/CVE-2022-30525","title":"M4fiaB0y/CVE-2022-30525","date":"2022-05-15","url":"https://github.com/M4fiaB0y/CVE-2022-30525"},{"source":"pocgithub","id":"k0sf/CVE-2022-30525","title":"k0sf/CVE-2022-30525","date":"2022-05-16","url":"https://github.com/k0sf/CVE-2022-30525"},{"source":"pocgithub","id":"superzerosec/CVE-2022-30525","title":"superzerosec/CVE-2022-30525","date":"2022-05-16","url":"https://github.com/superzerosec/CVE-2022-30525"},{"source":"pocgithub","id":"Chocapikk/CVE-2022-30525-Reverse-Shell","title":"Chocapikk/CVE-2022-30525-Reverse-Shell","date":"2022-05-18","url":"https://github.com/Chocapikk/CVE-2022-30525-Reverse-Shell"},{"source":"pocgithub","id":"iveresk/cve-2022-30525","title":"iveresk/cve-2022-30525","date":"2022-05-23","url":"https://github.com/iveresk/cve-2022-30525"},{"source":"pocgithub","id":"west9b/CVE-2022-30525","title":"west9b/CVE-2022-30525","date":"2022-05-28","url":"https://github.com/west9b/CVE-2022-30525"},{"source":"exploitdb","id":"EDB-50946","title":"Zyxel USG FLEX 5.21 - OS Command Injection","type":"remote","platform":"hardware","date":"2022-06-03","url":"https://www.exploit-db.com/exploits/50946"},{"source":"pocgithub","id":"furkanzengin/CVE-2022-30525","title":"furkanzengin/CVE-2022-30525","date":"2022-06-12","url":"https://github.com/furkanzengin/CVE-2022-30525"},{"source":"pocgithub","id":"ProngedFork/CVE-2022-30525","title":"ProngedFork/CVE-2022-30525","date":"2022-06-13","url":"https://github.com/ProngedFork/CVE-2022-30525"},{"source":"pocgithub","id":"cbk914/CVE-2022-30525_check","title":"cbk914/CVE-2022-30525_check","date":"2023-01-15","url":"https://github.com/cbk914/CVE-2022-30525_check"},{"source":"pocgithub","id":"arajsingh-infosec/CVE-2022-30525_Exploit","title":"arajsingh-infosec/CVE-2022-30525_Exploit","date":"2024-02-27","url":"https://github.com/arajsingh-infosec/CVE-2022-30525_Exploit"},{"source":"nuclei","id":"CVE-2022-30525","title":"Zyxel Firewall - OS Command Injection","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-30525.yaml"}],"products":[{"vendor":"zyxel","product":"atp series firmware"},{"vendor":"zyxel","product":"atp100_firmware"},{"vendor":"zyxel","product":"atp100w_firmware"},{"vendor":"zyxel","product":"atp200_firmware"},{"vendor":"zyxel","product":"atp500_firmware"},{"vendor":"zyxel","product":"atp700_firmware"},{"vendor":"zyxel","product":"atp800_firmware"},{"vendor":"zyxel","product":"multiple firewalls"},{"vendor":"zyxel","product":"usg 20(w)-vpn firmware"},{"vendor":"zyxel","product":"usg flex 100(w) firmware"},{"vendor":"zyxel","product":"usg flex 200 firmware"},{"vendor":"zyxel","product":"usg flex 50(w) firmware"},{"vendor":"zyxel","product":"usg flex 500 firmware"},{"vendor":"zyxel","product":"usg flex 700 firmware"},{"vendor":"zyxel","product":"usg20w-vpn_firmware"},{"vendor":"zyxel","product":"usg_flex_100w_firmware"},{"vendor":"zyxel","product":"usg_flex_200_firmware"},{"vendor":"zyxel","product":"usg_flex_500_firmware"},{"vendor":"zyxel","product":"usg_flex_50w_firmware"},{"vendor":"zyxel","product":"usg_flex_700_firmware"},{"vendor":"zyxel","product":"vpn series firmware"},{"vendor":"zyxel","product":"vpn1000_firmware"},{"vendor":"zyxel","product":"vpn100_firmware"},{"vendor":"zyxel","product":"vpn300_firmware"},{"vendor":"zyxel","product":"vpn50_firmware"}],"references":[{"url":"https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtml","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"http://packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauthenticated-Command-Injection.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Command-Injection.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Privilege-Escalation.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-30525","tags":["government-resource","US Government Resource"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30525"},{"url":"https://github.com/advisories/GHSA-987m-9prq-3p7m"}],"sources":{"cve":[{"id":"CVE-2022-30525","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.","status":"published","published":"2022-05-12T13:05:11Z","modified":"2025-10-21T23:15:39.737Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:34:31.184134Z"}],"euvd":[{"id":"EUVD-2022-52385","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.","status":"published","published":"2022-05-12T13:05:11Z","modified":"2025-10-21T23:15:39Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"exploited_since":"2022-05-16","updated_at":"2026-11-02T20:31:26.48918Z"}],"ghsa":[{"id":"GHSA-987m-9prq-3p7m","title":"A OS command injection vulnerability in the CGI program of Zyxel USG FLEX 100(W) firmware...","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.","status":"published","published":"2022-05-13T00:00:56Z","modified":"2025-10-22T00:32:33Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:04:05.954742Z"}],"kev":[{"id":"CVE-2022-30525","title":"Zyxel Multiple Firewalls OS Command Injection Vulnerability","description":"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.","cwes":["CWE-78"],"kev":{"date_added":"2022-05-16","due_date":"2022-06-06","required_action":"Apply updates per vendor instructions.","known_ransomware_use":"Unknown"},"updated_at":"2026-11-02T17:00:16.541131Z"}],"nvd":[{"id":"CVE-2022-30525","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.","status":"published","published":"2022-05-12T14:15:07.053Z","modified":"2026-06-17T04:43:46.39Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:07:19.51203Z"}]}}
