Zyxel Firewall and VPN Devices IKE Packet Decoder Remote Command Injection Vulnerability (CVE-2023-28771) Analysis and Mitigation Guide
Executive & SecOps Summary
SECOPS ASSESSMENTZyxel ZyWALL/USG (4.60 to 4.73), VPN (4.60 to 5.35), USG FLEX (4.60 to 5.35), and ATP (4.60 to 5.35) series firmware
An unauthenticated remote attacker can execute arbitrary OS commands with root privileges by sending crafted IKE UDP packets to the affected device
Immediately upgrade to the latest official patched firmware version and restrict access to IKE ports (UDP 500/4500) from untrusted WAN interfaces
Affected Products & Version Scope
Remediation & Live Workaround Commands
PATCH & WORKAROUND1. Official Patch & Version Upgrade Commands
The primary remediation is to upgrade the device firmware to the latest patched version provided by Zyxel. Navigate to 'Maintenance > File Manager > Firmware' in the Web GUI, or upload the patched firmware via FTP/SFTP using the CLI.
# Example of uploading and applying firmware via CLI (adjust paths based on model)
ftp -v -n <Device_IP>
user admin <Password>
binary
put USG_FLEX_500_V5.36(ABVC.0).bin /firmware-update
quit2. Temporary Workaround & Hardening Configuration
If immediate patching is not feasible, restrict access to IKE services (UDP 500 and UDP 4500) from untrusted WAN interfaces using security policies.
# Restrict IKE access from WAN interface via CLI
configure terminal
# Create a security policy rule to deny untrusted IKE traffic
secure-policy rule 10
action deny
service IKE
from WAN
to any
exit
write3. Log Audit & IoC Verification Commands
Inspect system logs for anomalous IKE packet decoding errors or payloads containing shell metacharacters. Use the following command on your centralized syslog server to detect potential exploitation attempts.
# Search syslog for suspicious shell metacharacters in Zyxel IKE daemon logs
grep -Ei 'ike|charon|pluto' /var/log/network_devices.log | grep -E ';|\||\&|\$\(|eval|sh|bash'Stop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access
Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.
Technical Root Cause & Exploitation Mechanics
1. Vulnerability Overview & Root Cause
This vulnerability (CVE-2023-28771) is an OS command injection vulnerability (CWE-78) residing in the Internet Key Exchange (IKE) packet decoding engine of Zyxel security appliances. The root cause lies in the improper handling and insufficient sanitization of input values within error messages generated during IKE packet decoding. An unauthenticated attacker can exploit this by sending specially crafted packets, leading to arbitrary command execution on the underlying operating system.
2. Exploitation Mechanics & Attack Scenario
An attacker transmits a crafted IKEv1/IKEv2 proposal packet containing shell metacharacters (such as ';', '&', or '|') within specific fields (e.g., Notification or ID Payloads) to UDP port 500 or 4500 on the target device. When the Zyxel IKE daemon fails to decode the packet, it attempts to log the error or execute a system command using the unsanitized payload. This triggers the execution of the attacker's injected commands with root privileges. This vulnerability is actively exploited in the wild (listed in CISA KEV) for botnet propagation and establishing persistent backdoors.
3. Infrastructure & Business Impact
As firewalls and VPN gateways serve as the primary perimeter defense, compromise of these devices grants attackers an initial foothold inside the corporate network. This can lead to lateral movement, internal network scanning, credential harvesting, and ransomware deployment. Given its CVSS score of 9.8 and an extremely high EPSS score of 0.9928, automated scanning and exploitation pose an immediate threat to business continuity.
Official Vendor Advisories & References
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.
Frequently Asked SecOps Questions (CVE-2023-28771)
FAQQ1. How critical is CVE-2023-28771 and is it actively exploited in the wild?
CVE-2023-28771 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 99.3%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.
Q2. Which vendors and products are affected by CVE-2023-28771?
Primary impacted vendors include zyxel across zywall, usg, vpn, usg flex, atp. Scope summary: Zyxel ZyWALL/USG (firmware 4.60 to 4.73), VPN (firmware 4.60 to 5.35), USG FLEX (firmware 4.60 to 5.35), and ATP (firmware 4.60 to 5.35)
Q3. What temporary mitigations or workarounds exist for CVE-2023-28771 before patching?
[Mitigation] Immediately upgrade to the latest official patched firmware version and restrict access to IKE ports (UDP 500/4500) from untrusted WAN interfaces Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.
Generate an Internal Engineering Notice or CISO Report for CVE-2023-28771
Instantly format this advisory into an executive CISO summary or engineering patch ticket.
🔗 Related Advisories in Similar Stack (zyxel)
View Category →Zyxel GS1900 Series Switch CGI Stack-based Buffer Overflow Remote Code Execution (RCE) Advisory (CVE-2026-7273)
[Affected Scope] Zyxel GS1900-48HPv2 firmware versions up to 2.90(ABTQ.1)C0.
Arista VeloCloud Orchestrator (VCO) On-Premises Remote Code Execution and Privilege Bypass (CVE-2026-16812)
[Affected Scope] On-premises deployments of VeloCloud Orchestrator (VCO)
Ivanti Sentry OS Command Injection and Remote Code Execution (RCE) Vulnerability Advisory (CVE-2026-10520)
[Affected Scope] Ivanti Sentry versions prior to R10.5.2, R10.6.2, and R10.7.1
Fortinet FortiSandbox OS Command Injection Vulnerability (CVE-2026-25089) Security Advisory
[Affected Scope] Fortinet FortiSandbox (5.0.0 to 5.0.5, 4.4.0 to 4.4.8, 4.2 all versions), FortiSandbox Cloud and PaaS (5.0.4 to 5.0.5)
Subscribe to Daily Vulnerability Briefings & KEV Alerts
Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.