Join our Newsletter — 33% off our NHI Course

CVE-2022-30525 (Zyxel Multiple Firewalls OS Command Injection)

CVE-2022-30525 is an OS command injection vulnerability in Zyxel Multiple Firewalls. CISA added it to the Known Exploited Vulnerabilities catalogue on 16 May 2022, which means attackers have used it in real attacks. Organisations running the affected product should apply the vendor fix or mitigation as a priority.

What this vulnerability means for a firewall

An OS command injection in a perimeter firewall is dangerous because it can let an attacker move from a network-facing interface into operating-system command execution on a device that is supposed to enforce trust boundaries. For a product exposed to the internet, that can turn a security control into a foothold.

The practical meaning is straightforward: the vulnerability is not just a software bug, it is a path to executing commands in a system that often sits at the edge of the network and may have elevated administrative context. That is why confirmed exploitation and inclusion in the NIST National Vulnerability Database and the CVE Program matter for response prioritisation.

Why OS command injection is high impact in network security appliances

Command injection is severe when it appears in security appliances because the vulnerable interface is often reachable from outside the organisation and may control routing, filtering, logging, VPN access, or administrative functions. Attackers do not need a complex exploit chain if a single request can reach a command interpreter through an unsafe input path.

In edge devices, the result can include configuration tampering, service disruption, persistence, or a pivot into internal networks. Even when the attacker does not achieve full device takeover, the ability to run commands can be enough to disable protections, alter traffic handling, or stage follow-on compromise.

Readers who want a broader view of how injection flaws are used in practice can compare this case with the patterns in the Web Application Attacks Guide, which covers command injection alongside adjacent input-driven attack classes.

How organisations should assess exposure and response priority

The first exposure check is asset inventory: identify every Zyxel firewall deployment, confirm whether it is internet-exposed, and determine whether it is still actively managed. For a KEV-listed issue, the question is not abstract technical curiosity, it is whether a vulnerable appliance is reachable and still protecting production traffic.

Response should be guided by vendor instructions and by the CISA Known Exploited Vulnerabilities catalogue, because those sources define which issues are being abused in the wild and should move ahead of routine patch queues. A vulnerability management process should already treat KEV-listed issues as urgent, and the Vulnerability Management Guide explains how asset scope, prioritisation, exceptions and verification fit together.

If a fix cannot be applied immediately, organisations should reduce exposure by limiting management-plane reachability, tightening allowlists, reviewing administrative access paths, and monitoring for unexpected device behaviour. Those compensating controls do not eliminate the flaw, but they can narrow the attack window while remediation is prepared.

What to verify after remediation

Patch completion is not the same as compromise review. If the device was exposed before remediation, teams should review logs, configuration changes, new accounts, altered rules, unfamiliar outbound connections and signs that commands were executed through the vulnerable interface.

For appliances at the network edge, post-fix review should also consider whether credentials, session material or administrative secrets were disclosed or reused during the intrusion. If command execution occurred, the safest assumption is that the attacker may have had enough access to alter device state or harvest additional access material.

For a broader attacker-behaviour lens, MITRE ATT&CK Enterprise is useful for mapping the likely follow-on steps after initial execution on a perimeter system.

Risk and Threat Considerations

A vulnerable firewall is especially attractive because it sits at a trust boundary, may be externally reachable, and can expose a privileged control plane. If attackers obtain command execution, they can potentially tamper with security policy, disable visibility, or use the appliance as a stepping stone into the internal network.

Failure mechanism: Unsafely handled input reaches an operating-system command context, allowing remote code or command execution through a network service that should only interpret management requests.

Impact: The appliance may be modified, disrupted or used for lateral movement, and defenders may lose confidence in the integrity of traffic handling, logging and access control.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 ID.AM-01 — Inventory of Assets Asset inventory is central to finding exposed firewall instances.
PR.PS-01 — Configuration Management Secure configuration and change control reduce exploitation and persistence on appliances.
Recommendation — Inventory every Zyxel firewall and confirm internet exposure before prioritising remediation. Harden management access and verify configurations against approved baselines.
NIST SP 800-53 Rev 5 SI-2 — Flaw Remediation The term requires urgent remediation of a known exploitable flaw.
RA-5 — Vulnerability Monitoring and Scanning Exposure checks depend on discovery and validation of affected systems.
Recommendation — Apply the vendor fix or approved mitigation as soon as possible and verify completion. Scan for vulnerable firewall assets and track remediation status until the issue is closed.
CIS Controls v8 CIS-7 — Continuous Vulnerability Management KEV-listed exploitation makes vulnerability prioritisation and tracking directly relevant.
Recommendation — Prioritise the affected firewall in your vulnerability workflow and confirm remediation.

Practitioner Guidance

Why practitioners should care: This is the kind of vulnerability that should be treated as an edge-device emergency, not as a routine maintenance item. A firewall that can execute commands may no longer be trustworthy as a control point.

What to watch for: Prioritise any unit that is internet-facing, remotely administered, or hard to rebuild quickly. If compromise is suspected, preserve logs and configuration evidence before making changes so that the post-patch review has something reliable to inspect.

Practitioner takeaway: For KEV-listed edge-device flaws, patching and compromise review should happen together, because fixing the software does not by itself prove the appliance stayed clean.