CVE-2023-28771 is an OS command injection vulnerability caused by improper error message handling in Zyxel firewall firmware. It affects ZyWALL/USG versions 4.60 through 4.73 and VPN, USG FLEX, and ATP versions 4.60 through 5.35. An unauthenticated remote attacker can trigger command execution by sending specially crafted Internet Key Exchange (IKE) packets over UDP port 500. Exploitation has been observed in campaigns deploying Mirai-derived and other DDoS botnets.
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.
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a single Metasploit module (zyxel_ike_decoder_rce_cve_2023_28771.rb) that exploits CVE-2023-28771, a critical unauthenticated remote code execution vulnerability in the IKE packet decoder of several Zyxel firewall and VPN devices. The exploit targets the IKE service exposed on UDP port 500 of the WAN interface, which is enabled by default on affected devices. By sending a specially crafted IKE packet containing a command injection payload, the module achieves code execution as root. The module supports delivering various command payloads, with a default Meterpreter reverse shell via HTTP fetch. The exploit is operational and can be used to gain full control of vulnerable Zyxel devices. The code is written in Ruby and is structured as a standard Metasploit exploit module, with clear separation of check, exploit, and payload delivery logic. No hardcoded IPs or domains are present, but the attack is fingerprintable by its use of UDP/500 and the IKE protocol.
This repository provides a proof-of-concept exploit for CVE-2023-28771, a command injection vulnerability affecting Zyxel firewall and VPN devices. The main file, 'CVE-2023-28771-poc.py', is a Python script that uses the Scapy library to craft and send a malicious IKEv2 packet to a specified target (rhost) on UDP port 500. The script allows the user to either execute an arbitrary shell command on the target device (using the --cmd argument) or spawn a reverse shell back to the attacker's machine (using --lhost and --lport arguments). The payload is embedded in the Notify payload of the IKEv2 packet. The repository also includes a README.md with usage instructions and a requirements.txt specifying the Scapy dependency. The exploit is operational and can be used to gain remote code execution on vulnerable Zyxel devices exposed to the internet.
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.
38 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A critical OS command injection vulnerability in Zyxel firewalls, rated CVSS 3.1 9.8. Exploitation requires neither authentication nor user interaction and can severely affect confidentiality, integrity, and availability. The vendor describes affected ZyWALL/USG firmware as versions 4.60–4.73 and VPN, USG FLEX, and ATP firmware as versions 4.60–5.35; model-specific configuration records contain some differences. Public exploit code is available. CISA added the vulnerability to its Known Exploited Vulnerabilities catalog on May 31, 2023, and its SSVC assessment records active exploitation. The supplied detection rule targets crafted UDP traffic to port 500 and references DDoS botnets targeting this vulnerability. Software updates are available, and CISA directs users to apply vendor updates.
A critical improper error message handling vulnerability in Zyxel firewall and VPN devices, allowing unauthenticated remote OS command execution via crafted packets.
A previously disclosed Zyxel firewall vulnerability involving improper error handling that can lead to remote code execution.
A Zyxel firewall vulnerability (exploitable over UDP/500) that is seeing exploit attempts and has publicly available exploit code (Metasploit), making unpatched internet-exposed devices high risk.
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.