Appsecure logo

CVE-2022-30525: Critical Vulnerability in Zyxel Multiple Firewalls

CVE-2022-30525 is a critical OS command injection vulnerability affecting multiple Zyxel firewall models. Organizations are urged to apply patches immediately to mitigate risks of unauthorized command execution.

CRITICALKnown ExploitedCVSS 9.8 · Published May 12, 2022

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

CVE-2022-30525 is a critical OS command injection vulnerability present in the CGI program of various Zyxel firewall models, including the USG FLEX 100(W), USG FLEX 200, USG FLEX 500, USG FLEX 700, USG FLEX 50(W), USG20(W)-VPN, ATP series, and VPN series. The vulnerability affects firmware versions ranging from 5.00 to 5.21 Patch 1. This flaw allows attackers to manipulate specific files and execute OS commands on affected devices, posing a significant risk to organizations.

With a CVSS score of 9.8, this vulnerability is classified as critical. The attack vector is network-based, with low attack complexity and no required privileges or user interaction. The potential impacts include high confidentiality, integrity, and availability risks, making it imperative for organizations to act swiftly.

As of now, the vulnerability is included in the Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild. Organizations should prioritize patching immediately to protect their infrastructure from potential unauthorized access and command execution.

Given the critical nature of this vulnerability, organizations running affected versions of Zyxel firewalls must take immediate action to mitigate the risks associated with CVE-2022-30525.

Vulnerability Details

The OS command injection vulnerability identified as CVE-2022-30525 allows attackers to execute arbitrary OS commands on affected Zyxel firewall devices. The vulnerability resides within the CGI program and is present in multiple firewall models, specifically those running firmware versions 5.00 through 5.21 Patch 1. The vulnerability is classified under CWE-78, representing improper neutralization of special elements used in an OS command ('OS Command Injection').

The CVSS v3.1 score for this vulnerability is 9.8, indicating a critical severity level. The attack vector is defined as network-based (AV:N), with low attack complexity (AC:L), no privileges required (PR:N), and no user interaction necessary (UI:N). The impacts on confidentiality, integrity, and availability are all rated as high (C:H, I:H, A:H).

Affected Zyxel firewall models include the USG FLEX series, VPN series, and ATP series. The vulnerability was published on May 12, 2022, and it remains critical for organizations to assess their exposure and implement necessary updates as soon as possible.

Technical Analysis

The root cause of CVE-2022-30525 is due to improper validation in the CGI program, which allows for OS command injection. Attackers can leverage this vulnerability by sending specially crafted input to the vulnerable devices over the network.

The attack vector is network-based, meaning that an attacker does not need physical access to the device to exploit this vulnerability. The complexity of executing the attack is low, as it does not require any special conditions to be met, and there are no privileges required for the attack. Additionally, no user interaction is necessary, increasing the likelihood of successful exploitation.

The impact of a successful exploit can lead to significant breaches in confidentiality, integrity, and availability. Attackers can execute arbitrary commands, which could compromise sensitive data and disrupt the availability of the affected devices.

Risk & Impact Analysis

The risk to organizations includes unauthorized access to sensitive systems and data, as well as the potential for service disruption. Given that this vulnerability affects multiple Zyxel firewall models, the blast radius is extensive, impacting numerous organizations relying on these devices for network security.

Organizations should assess their exposure to CVE-2022-30525 and prioritize remediation efforts based on their operational environment and risk tolerance. The urgency for addressing this vulnerability is heightened due to its classification in the KEV catalog and the high likelihood of exploitation in the wild.

To effectively mitigate the risk, organizations should implement patching strategies as part of their vulnerability management programs. Regular reviews of firewall and security device configurations can further enhance protective measures.

Exploitation Status

Signal

Status

Known Exploit

Yes

Public PoC

Yes

Actively Exploited

Yes

Ransomware Use

No

Affected Versions

The following versions of Zyxel firewalls are affected by CVE-2022-30525:

• 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

Mitigation & Remediation

Organizations using the affected Zyxel firewalls should apply patches or updates provided by Zyxel to remediate CVE-2022-30525. The vendor has issued guidance on how to update the firmware to the latest versions that address this vulnerability. Organizations are encouraged to review the vendor's advisory and apply the necessary updates as soon as possible.

In addition to patching, organizations should implement network controls to limit exposure of these devices to untrusted networks. Monitoring for unusual behavior or unauthorized access attempts can also help in identifying potential exploitation attempts.

For further guidance, organizations may consider engaging in penetration testing services to validate remediation effectiveness.

Detection Guidance

Organizations should monitor logs for indicators of exploitation attempts, such as unusual command executions or unauthorized file modifications. Behavioral anomalies, including unexpected changes in system performance or network traffic patterns, may also signal exploitation.

It is crucial to implement network signatures that can detect attempts to exploit CVE-2022-30525, as well as to monitor for known exploit behavior associated with this vulnerability.

AppSecure Threat Intelligence Insight

The presence of CVE-2022-30525 in the KEV catalog indicates its relevance and exploitation in the threat landscape. This vulnerability is part of a broader trend in which command injection vulnerabilities are relevant attack vectors for compromising network devices.

Security teams should take this incident as a learning opportunity to strengthen their defenses against similar vulnerabilities. Implementing proactive security measures, including regular vulnerability assessments and penetration testing, can help organizations identify and remediate weaknesses before they are exploited.

Organizations are encouraged to stay informed about emerging threats and vulnerabilities in their technology stack. For more detailed guidance on managing vulnerabilities effectively, organizations can refer to resources such as the vulnerability management program and engage in continuous security assessments.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.