This module exploits a remote unauthenticated command injection vulnerability in the Internet Key Exchange (IKE) packet decoder over UDP port 500 on the WAN interface of several Zyxel devices. The affected devices are as follows: ATP (Firmware version 4.60 to 5.35 inclusive), USG FLEX (Firmware version 4.60 to 5.35 inclusive), VPN (Firmware version 4.60 to 5.35 inclusive), and ZyWALL/USG (Firmware version 4.60 to 4.73 inclusive). The affected devices are vulnerable in a default configuration and command execution is with root privileges.
Exploit database
Vulnerability
CVE-2023-28771
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.1 · Zyxel
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
Improper error message handling in Zyxel ZyWALL/USG series firmware versions 4.60 through 4.73, VPN series firmware versions 4.60 through 5.35, USG FLEX series firmware versions 4.60 through 5.35, and ATP series firmware versions 4.60 through 5.35, which could allow an unauthenticated attacker to execute some OS commands remotely by sending crafted packets to an affected device.
CVE ProgramExploit source choices
2 sourcesZyxel IKE Packet Decoder Unauthenticated Remote Code Execution
2023-03-31zyxel_ike_decoder_rce_cve_2023_28771.rb
benjaminhays/cve-2023-28771-poc
PoC for CVE-2023-28771 based on Rapid7's excellent writeup
2023-05-233 files · 30 stars