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.
In short
CVE-2022-30525 (Zyxel Multiple Firewalls OS Command Injection) has a CVSS 3.1 base score of 9.8, rated critical. CISA added it to the Known Exploited Vulnerabilities catalog on 16 May 2022. Fixed in Zyxel Atp100 Firmware 5.30, Zyxel Atp100w Firmware 5.30, Zyxel Atp200 Firmware 5.30 or later.
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.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
- Zyxel Atp100 Firmware≥ 5.10 < 5.30
- Zyxel Atp100w Firmware≥ 5.10 < 5.30
- Zyxel Atp200 Firmware≥ 5.10 < 5.30
- Zyxel Atp500 Firmware≥ 5.10 < 5.30
- Zyxel Atp700 Firmware≥ 5.10 < 5.30
- Zyxel Atp800 Firmware≥ 5.10 < 5.30
- Zyxel Usg20w-vpn Firmware≥ 5.10 < 5.30
- Zyxel Usg Flex 100w Firmware≥ 5.00 < 5.30
- Zyxel Usg Flex 200 Firmware≥ 5.00 < 5.30
- Zyxel Usg Flex 500 Firmware≥ 5.00 ≤ 5.30
- Zyxel Usg Flex 50w Firmware≥ 5.10 < 5.30
- Zyxel Usg Flex 700 Firmware≥ 5.00 < 5.30
- Zyxel Vpn1000 Firmware≥ 4.60 < 5.30
- Zyxel Vpn100 Firmware≥ 4.60 < 5.30
- Zyxel Vpn300 Firmware≥ 4.60 < 5.30
- Zyxel Vpn50 Firmware≥ 4.60 < 5.30
Remediation
Fixed in- Zyxel Atp100 Firmware≥ 5.30
- Zyxel Atp100w Firmware≥ 5.30
- Zyxel Atp200 Firmware≥ 5.30
- Zyxel Atp500 Firmware≥ 5.30
- Zyxel Atp700 Firmware≥ 5.30
- Zyxel Atp800 Firmware≥ 5.30
- Zyxel Usg20w-vpn Firmware≥ 5.30
- Zyxel Usg Flex 100w Firmware≥ 5.30
- Zyxel Usg Flex 200 Firmware≥ 5.30
- Zyxel Usg Flex 50w Firmware≥ 5.30
References
- 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
- https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtml
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
