LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

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

RBRecent Breaches Vulnerability Intelligence·May 16, 2022
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Jun 6, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2022-30525 to its Known Exploited Vulnerabilities catalog on May 16, 2022, with a federal patch deadline of Jun 6, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

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.

CVE-2022-30525 is an OS command injection vulnerability affecting multiple Zyxel firewall products. It sits in the CGI program on some versions and can let an attacker modify specific files and then run operating-system commands on the device. Because these appliances often sit at the network edge and handle traffic inspection, VPN, and policy enforcement, successful abuse can give an attacker a foothold on a critical control point. Confirm exact affected models and firmware against the vendor advisory.

CISA lists the required action as applying updates per the vendor’s instructions. Ransomware use is not documented for this CVE, but any unauthenticated or lightly authenticated command execution on a firewall remains high priority for defenders.

How it works

The weakness is CWE-78: improper neutralization of special elements used in an OS command. In this case the vulnerable component is the CGI program present on certain Zyxel firewall firmware builds. An attacker who can reach the CGI interface supplies input that is not correctly sanitized before it is passed to a shell or similar command interpreter. That input can alter files the device relies on and ultimately cause the firewall to execute attacker-chosen OS commands.

Technical readers should treat this as a classic command-injection pattern against a network appliance’s management or web-facing CGI layer. Exact request parameters, authentication requirements, and payload format are not provided in the public summary; those details must be taken only from the vendor advisory and any accompanying technical notes. Do not assume remote unauthenticated access or any particular privilege level without confirmation.

Am I affected? How to find it in your systems

Zyxel firewalls are commonly deployed as perimeter gateways, branch-office UTMs, or VPN concentrators. Inventory every Zyxel firewall or security appliance in your environment—physical, virtual, and cloud-hosted instances.

Telemetry signs of exploitation are generic for this class: unexpected processes spawned by the web or CGI service, modifications to system files that the CGI component normally touches, unusual outbound connections originating from the firewall itself, or authentication and command-history anomalies in device logs. Forward firewall logs to a SIEM and alert on process-creation or file-integrity events if the platform supports them. Absence of such logs does not prove safety; many appliances have limited default logging.

How to remediate

Patch first. Obtain and install the firmware update that Zyxel released to address CVE-2022-30525, following the vendor’s installation and reboot guidance. CISA’s required action is simply to apply those updates per the vendor instructions.

After patching, harden the management plane: restrict CGI/web access to dedicated management networks or jump hosts, enforce strong authentication, and disable any unused administrative services. These steps reduce the attack surface for similar injection flaws in the future.

If you can't patch immediately

When an immediate firmware upgrade is not possible, apply compensating controls that limit reachability and detect abuse.

These measures lower risk but do not eliminate the vulnerability; treat them as temporary.

If your data may have been exposed

Actively exploited command-injection flaws on edge devices frequently precede broader network compromise and data theft. If you have reason to believe a vulnerable Zyxel firewall was reached by an attacker, begin incident-response procedures: isolate the device, preserve logs and memory if possible, rotate credentials that traversed the appliance, and examine internal systems for follow-on activity. You can also run a free exposure scan of your email addresses against known breach data sets to check whether credentials or personal information have already appeared in public dumps.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedZyxel · Multiple Firewalls
WeaknessCWE-78
Added to CISA KEVMay 16, 2022
Federal patch deadlineJun 6, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities