{"id":"CVE-2022-30525","state":"PUBLISHED","title":"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","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.","publishedAt":"2022-05-12T13:05:11.000Z","updatedAt":"2025-10-21T23:15:39.737Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Zyxel"},"assigner":"Zyxel","products":["Zyxel USG FLEX 100(W) firmware","Zyxel USG FLEX 200 firmware","Zyxel USG FLEX 500 firmware","Zyxel USG FLEX 700 firmware","Zyxel ATP series firmware","Zyxel VPN series firmware","Zyxel USG FLEX 50(W) firmware","Zyxel USG 20(W)-VPN firmware"],"affected":[{"vendor":"Zyxel","product":"USG FLEX 100(W) firmware","versions":[{"version":"5.00 through 5.21 Patch 1","status":"affected"}]},{"vendor":"Zyxel","product":"USG FLEX 200 firmware","versions":[{"version":"5.00 through 5.21 Patch 1","status":"affected"}]},{"vendor":"Zyxel","product":"USG FLEX 500 firmware","versions":[{"version":"5.00 through 5.21 Patch 1","status":"affected"}]},{"vendor":"Zyxel","product":"USG FLEX 700 firmware","versions":[{"version":"5.00 through 5.21 Patch 1","status":"affected"}]},{"vendor":"Zyxel","product":"ATP series firmware","versions":[{"version":"5.10 through 5.21 Patch 1","status":"affected"}]},{"vendor":"Zyxel","product":"VPN series firmware","versions":[{"version":"4.60 through 5.21 Patch 1","status":"affected"}]},{"vendor":"Zyxel","product":"USG FLEX 50(W) firmware","versions":[{"version":"5.10 through 5.21 Patch 1","status":"affected"}]},{"vendor":"Zyxel","product":"USG 20(W)-VPN firmware","versions":[{"version":"5.10 through 5.21 Patch 1","status":"affected"}]}],"references":["https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtml","http://packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.html","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","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-30525"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T19:50:04.052Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/30xxx/CVE-2022-30525.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-30525","state":"PUBLISHED","datePublished":"2022-05-12T13:05:11.000Z","dateUpdated":"2025-10-21T23:15:39.737Z","assignerShortName":"Zyxel","assignerOrgId":"96e50032-ad0d-4058-a115-4d2c13821f9f","dateReserved":"2022-05-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Zyxel","product":"USG FLEX 100(W) firmware","versions":[{"version":"5.00 through 5.21 Patch 1","status":"affected"}]},{"vendor":"Zyxel","product":"USG FLEX 200 firmware","versions":[{"version":"5.00 through 5.21 Patch 1","status":"affected"}]},{"vendor":"Zyxel","product":"USG FLEX 500 firmware","versions":[{"version":"5.00 through 5.21 Patch 1","status":"affected"}]},{"vendor":"Zyxel","product":"USG FLEX 700 firmware","versions":[{"version":"5.00 through 5.21 Patch 1","status":"affected"}]},{"vendor":"Zyxel","product":"ATP series firmware","versions":[{"version":"5.10 through 5.21 Patch 1","status":"affected"}]},{"vendor":"Zyxel","product":"VPN series firmware","versions":[{"version":"4.60 through 5.21 Patch 1","status":"affected"}]},{"vendor":"Zyxel","product":"USG FLEX 50(W) firmware","versions":[{"version":"5.10 through 5.21 Patch 1","status":"affected"}]},{"vendor":"Zyxel","product":"USG 20(W)-VPN firmware","versions":[{"version":"5.10 through 5.21 Patch 1","status":"affected"}]}],"references":[{"url":"https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtml","tags":["x_refsource_CONFIRM"]},{"url":"http://packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauthenticated-Command-Injection.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Command-Injection.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Privilege-Escalation.html","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Zyxel","dateUpdated":"2022-08-31T18:06:16.000Z","orgId":"96e50032-ad0d-4058-a115-4d2c13821f9f"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@zyxel.com.tw","ID":"CVE-2022-30525","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"USG FLEX 100(W) firmware","version":{"version_data":[{"version_value":"5.00 through 5.21 Patch 1"}]}},{"product_name":"USG FLEX 200 firmware","version":{"version_data":[{"version_value":"5.00 through 5.21 Patch 1"}]}},{"product_name":"USG FLEX 500 firmware","version":{"version_data":[{"version_value":"5.00 through 5.21 Patch 1"}]}},{"product_name":"USG FLEX 700 firmware","version":{"version_data":[{"version_value":"5.00 through 5.21 Patch 1"}]}},{"product_name":"ATP series firmware","version":{"version_data":[{"version_value":"5.10 through 5.21 Patch 1"}]}},{"product_name":"VPN series firmware","version":{"version_data":[{"version_value":"4.60 through 5.21 Patch 1"}]}},{"product_name":"USG FLEX 50(W) firmware","version":{"version_data":[{"version_value":"5.10 through 5.21 Patch 1"}]}},{"product_name":"USG 20(W)-VPN firmware","version":{"version_data":[{"version_value":"5.10 through 5.21 Patch 1"}]}}]},"vendor_name":"Zyxel"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"baseScore":"9.8","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"}]}]},"references":{"reference_data":[{"name":"https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtml","refsource":"CONFIRM","url":"https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtml"},{"name":"http://packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.html"},{"name":"http://packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauthenticated-Command-Injection.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauthenticated-Command-Injection.html"},{"name":"http://packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Command-Injection.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Command-Injection.html"},{"name":"http://packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Privilege-Escalation.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Privilege-Escalation.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtml","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauthenticated-Command-Injection.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Command-Injection.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Privilege-Escalation.html","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T06:48:36.383Z"}},{"title":"CISA ADP Vulnrichment","references":[{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-30525","tags":["government-resource"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2022-30525","role":"CISA Coordinator","options":[{"Exploitation":"active"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-01-29T16:09:58.800835Z"}}},{"other":{"type":"kev","content":{"dateAdded":"2022-05-16","reference":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-30525"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-21T23:15:39.737Z"},"timeline":[{"time":"2022-05-16T00:00:00.000Z","lang":"en","value":"CVE-2022-30525 added to CISA KEV"}]}]}}}