CVE-2022-30525
Zyxel Multiple Firewalls OS Command Injection Vulnerability
Known exploited
CISA added this CVE to its list of known exploited vulnerabilities on 16 May 2022. US federal agencies had to act by 6 Jun 2022.
- Name
- Zyxel Multiple Firewalls OS Command Injection Vulnerability
- Required action
- Apply updates per vendor instructions.
- Ransomware
- Use in ransomware campaigns is not known
- Notes
- https://nvd.nist.gov/vuln/detail/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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 99.9%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 29 Jan 2025):
- Exploitation
- active: CISA has reliable evidence of exploitation in the wild
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| USG FLEX 100(W) firmware |
affected 5.00 through 5.21 Patch 1
|
| USG FLEX 200 firmware |
affected 5.00 through 5.21 Patch 1
|
| USG FLEX 500 firmware |
affected 5.00 through 5.21 Patch 1
|
| USG FLEX 700 firmware |
affected 5.00 through 5.21 Patch 1
|
| ATP series firmware |
affected 5.10 through 5.21 Patch 1
|
| VPN series firmware |
affected 4.60 through 5.21 Patch 1
|
| USG FLEX 50(W) firmware |
affected 5.10 through 5.21 Patch 1
|
| USG 20(W)-VPN firmware |
affected 5.10 through 5.21 Patch 1
|
Is my server affected?
This CVE is in USG FLEX 100(W) firmware of Zyxel, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Advisories
- https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtml zyxel.com
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-30525 cisa.gov · government resource
Other references
- http://packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.html packetstormsecurity.com
- http://packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauthenticated-Command-Injection.html packetstormsecurity.com
- http://packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Command-Injection.html packetstormsecurity.com
- http://packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Privilege-Escalation.html packetstormsecurity.com
Source: the record CVE-2022-30525 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse