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:H

Description

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 Program

Exploit source choices

2 sources
Zyxel IKE Packet Decoder Unauthenticated Remote Code Execution
MSF-linux--misc--zyxel_ike_decoder_rce_cve_2023_28771MetasploitLinux,Unix / remotePreferred

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.

2023-03-31zyxel_ike_decoder_rce_cve_2023_28771.rb
benjaminhays/cve-2023-28771-poc
GH-06b8a5d63d0cb811aff574ce90ecdffdGitHubUnofficial GitHub source

PoC for CVE-2023-28771 based on Rapid7's excellent writeup

2023-05-233 files · 30 stars