CVE-2022-30525 is a critical unauthenticated OS command injection vulnerability affecting multiple Zyxel firewall and VPN products, including USG FLEX, ATP, and VPN series devices running vulnerable ZLD firmware branches. The flaw is present in a CGI program exposed by the web management interface and allows attacker-controlled input to reach operating system command execution logic without sufficient sanitization. Public technical reporting attributes the issue to unsanitized input being passed to an OS command execution routine in the device firmware, enabling remote command injection through the affected handler endpoint. Successful exploitation allows an external attacker to modify specific files and execute arbitrary OS commands on the device without authentication.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
5 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).
This repository contains a single Metasploit module (modules/exploits/linux/http/zyxel_ztp_rce.rb) targeting CVE-2022-30525, an unauthenticated remote command injection vulnerability in Zyxel firewalls with Zero Touch Provisioning (ZTP) enabled. The exploit works by sending a crafted POST request to the /ztp/cgi-bin/handler endpoint, injecting OS commands via the 'mtu' field of the setWanPortSt command. The module supports both command shell and Meterpreter payloads, allowing for reverse shell access or more advanced post-exploitation. The module includes a check method to determine if the target is likely vulnerable based on the build date and model information from the landing page. The exploit is weaponized, leveraging Metasploit's payload and session management capabilities, and is suitable for use against a range of Zyxel firewall models running vulnerable firmware. The only file in the repository is the Metasploit module itself, written in Ruby.
This repository provides a Python proof-of-concept exploit for CVE-2022-30525, an unauthenticated remote command injection vulnerability in Zyxel firewalls. The main script, CVE-2022-30525.py, allows the user to specify a single target URL or a file containing multiple targets. It sends a crafted POST request to the /ztp/cgi-bin/handler endpoint on the target, injecting a command via the 'mtu' parameter in the JSON body. The injected command pings a unique domain obtained from dnslog.cn, and the script then checks dnslog.cn for evidence of the ping, confirming successful code execution. The exploit does not require authentication and is designed for detection and verification of the vulnerability, not for weaponized post-exploitation. The repository also includes a helper script (dnslog.py) for interacting with dnslog.cn and a sample target list file (ip.txt).
This repository contains a proof-of-concept exploit for CVE-2022-30525, a remote unauthenticated command injection vulnerability in several Zyxel firewall models. The main exploit script, 'victorian_machinery.py', is a Python program that takes attacker- and target-specific parameters (remote host/port, local host/port, protocol, and netcat path). It works by forking a process: the child sends a crafted HTTP POST request to the vulnerable Zyxel endpoint ('/ztp/cgi-bin/handler') with a malicious payload in the 'mtu' parameter, which triggers a reverse shell connection back to the attacker's machine. The parent process starts a netcat listener to catch the shell. The exploit is effective against unpatched Zyxel firewalls with the management web interface exposed. The repository is well-documented, with a detailed README explaining the vulnerability, affected models, usage instructions, and example output. No detection or scanning functionality is present; this is a direct exploitation tool.
This repository contains a Python proof-of-concept exploit for CVE-2022-30525, a remote command injection vulnerability affecting multiple Zyxel firewall products. The main script, CVE-2022-30525.py, allows the user to test a single target or perform bulk scanning against multiple targets listed in a file. The exploit works by sending a crafted POST request to the /ztp/cgi-bin/handler endpoint on the target device, injecting a command via the 'mtu' parameter. The injected command triggers a DNS request to a domain controlled by dnslog.cn, allowing the script to verify successful command execution by checking for the corresponding DNS query. The repository also includes a README.md with detailed vulnerability information, affected products, and usage instructions. No weaponized payload is included; the exploit is designed for verification and demonstration purposes.
This repository contains a Python exploit script (CVE-2022-30525.py) targeting Zyxel firewall devices running ZLD firmware versions 5.00 through 5.21. The exploit leverages an unauthenticated remote command injection vulnerability in the /ztp/cgi-bin/handler HTTP endpoint. The attacker supplies the target URL, a remote host, and a port; the script then sends a specially crafted JSON payload that injects a bash reverse shell command via the 'mtu' parameter. If successful, the target device initiates a reverse shell connection to the attacker's machine, granting remote command execution. The repository also includes a 'banner' file (ASCII art and credits) and a 'requirements.txt' specifying the 'requests' Python library. The exploit is operational, providing a working reverse shell payload, and is not part of a larger framework.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A vulnerability affecting Zyxel products for which Evooo1Bot includes exploit capability in its CVE attack module.
A vulnerability affecting Zyxel products for which the Evooo1Bot attack module includes exploit capability.
A vulnerability affecting Zyxel Firewall devices included in Evooo1Bot's embedded exploit module.
A vulnerability affecting Zyxel Firewall devices included in Evooo1Bot's embedded exploit module.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.