cve.bz

CVE-2022-30525 Zyxel Multiple Firewalls OS Command Injection Vulnerability

9.8 criticalKEVExploitEPSS >99.9%

Critical (9.8) in Zyxel Multiple Firewalls. In CISA KEV since 2022-05-16. EPSS >99.9% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
>99.9% (unchanged from >99.9% a week ago; >99.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2022-05-16, due 2022-06-06
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: total, assessed 2025-01-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-30525 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-30525?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-30525?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-30525 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
zyxel:usg_flex_100w_firmwarefrom 5.00 before 5.30
zyxel:usg_flex_200_firmwarefrom 5.00 before 5.30
zyxel:usg_flex_500_firmwarefrom 5.00 through 5.30
zyxel:usg_flex_700_firmwarefrom 5.00 before 5.30
zyxel:vpn100_firmwarefrom 4.60 before 5.30
zyxel:vpn1000_firmwarefrom 4.60 before 5.30
zyxel:vpn300_firmwarefrom 4.60 before 5.30
zyxel:vpn50_firmwarefrom 4.60 before 5.30
zyxel:atp100_firmwarefrom 5.10 before 5.30
zyxel:atp100w_firmwarefrom 5.10 before 5.30
zyxel:atp200_firmwarefrom 5.10 before 5.30
zyxel:atp500_firmwarefrom 5.10 before 5.30
zyxel:atp700_firmwarefrom 5.10 before 5.30
zyxel:atp800_firmwarefrom 5.10 before 5.30
zyxel:usg_flex_50w_firmwarefrom 5.10 before 5.30
zyxel:usg20w-vpn_firmwarefrom 5.10 before 5.30

Public exploits

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Nuclei template Zyxel Firewall - OS Command Injection
  • Emerging Threats Open ET EXPLOIT [Rapid7] Zyxel ZTP setWanPortSt mtu Parameter Exploit Attempt (CVE-2022-30525) sid 2036596

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON