Security Advisory

CVE-2023-28771: Zyxel Firewall IKE Command Injection

Last updated:
  • CVE-2023-28771

CVE-2023-28771 is an unauthenticated OS command injection (CWE-78) in Zyxel ATP, USG FLEX, VPN and ZyWALL/USG firewalls: crafted IKE packets to UDP port 500 make the firewall run commands as root, even with no VPN configured. Zyxel scores it 9.8, NVD has no Primary score, and CISA KEV lists it. Update to ZLD V5.36 or V4.73 Patch 1.

Vulnerability summary

CVSS base score

9.8

Critical severity (CNA: Zyxel)

EPSS score (FIRST)

99.3%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2023-28771 · Source: NVD (Zyxel CNA score; NVD's own 9.8 is labelled Secondary, no NVD Primary CVSS metric)

Affected components

ComponentCPEVersion range
Zyxel ATP, USG FLEX and VPN series firewallscpe:2.3:o:zyxel:usg_flex_100_firmware:*:*:*:*:*:*:*:*ZLD V4.60 to V5.35; fixed in ZLD V5.36 (Zyxel)
Zyxel ZyWALL/USG seriescpe:2.3:o:zyxel:zywall_usg_310_firmware:*:*:*:*:*:*:*:*ZLD V4.60 to V4.73; fixed in ZLD V4.73 Patch 1 (Zyxel)

What does this mean for affected devices?

NVD carries Zyxel's 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." Zyxel, the CNA, scores it CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). As of 2026-11-24 NVD also shows a 9.8 from [email protected], but labels it Secondary, so there is no NVD Primary CVSS metric; NVD assigns CWE-78 (NVD, CVE record). The KEV listing qualifies this page.

Why is this an IKE and VPN problem?

Rapid7's analysis of CVE-2023-28771 places the bug in "the Internet Key Exchange (IKE) packet decoder, which forms part of the IPSec VPN service". A VPN "does not need to be configured on the device for the device to be vulnerable": UDP port 500 listens on the WAN interface by default, and a crafted packet gives command execution as root. Rapid7 dates the flaw to ZLD 4.60, released on 2020-10-21. The pattern of a VPN daemon parsing untrusted packets before any authentication is common to embedded firewalls (VPN and IKE flaws in embedded firmware).

Which firmware fixes it?

Zyxel's advisory of 2023-04-25 credits TRAPA Security and lists ATP, USG FLEX and VPN on ZLD V4.60 to V5.35, fixed in ZLD V5.36, and ZyWALL/USG on V4.60 to V4.73, fixed in V4.73 Patch 1. On 2023-06-02 Zyxel's guidance on attacks against ZyWALL devices reported a cyberattack exploiting this CVE together with CVE-2023-33009 and CVE-2023-33010, listed symptoms (unresponsive device, lost web or SSH access, dropped VPN tunnels) and pointed to ZLD V5.36 Patch 2 or V4.73 Patch 2 as the latest firmware. Its interim advice: disable HTTP/HTTPS from the WAN, or restrict it with Policy Control and GeoIP rules, and disable UDP ports 500 and 4500 if IPsec VPN is not used.

How urgent is it?

CISA added CVE-2023-28771 to the KEV catalog on 2023-05-31 with the required action "Apply updates per vendor instructions." (due 2023-06-21; known ransomware campaign use: Unknown); it is still listed as of 2026-11-24 in catalog version 2026.11.23 (CISA KEV). FIRST EPSS gives 0.99284, the 99.94th percentile, in the 2026-11-23 dataset (FIRST EPSS). The fix pattern is in how to fix command injection in embedded firmware; a later KEV flaw in the same firmware is CVE-2024-11667.

How to fix this class of issueThis advisory's weakness class is Command injection. Our practical guide covers how to detect, fix, verify and disclose it: How to fix command injection in embedded firmware.

Evidence

  • NVD: improper error message handling in ZyWALL/USG 4.60-4.73, VPN, USG FLEX and ATP 4.60-5.35, unauthenticated OS commands via crafted packets; Zyxel CNA CVSS v3.1 9.8 (Secondary); [email protected] CVSS v3.1 9.8 labelled Secondary; no Primary CVSS metric; CWE-78 (NVD Primary weakness); CPE ranges 4.60 to <5.36 (ATP100W <5.35) and ZyWALL USG 100/310 4.60 through 4.73; status Analyzed; published 2023-04-25; read 2026-11-24. — NVD
  • Zyxel advisory (initial release 2023-4-25): patches for OS command injection found by TRAPA Security; ATP, USG FLEX, VPN ZLD V4.60 to V5.35 fixed in ZLD V5.36; ZyWALL/USG ZLD V4.60 to V4.73 fixed in ZLD V4.73 Patch 1. — Zyxel security advisory
  • Zyxel guidance (2023-06-02): cyberattack targeting ZyWALL devices via CVE-2023-28771, CVE-2023-33009, CVE-2023-33010; symptoms unresponsive device, Web GUI/SSH unreachable, network interruptions, VPN disconnects; latest firmware ZLD V5.36 Patch 2 / V4.73 Patch 2; disable HTTP/HTTPS from WAN or use Policy Control and GeoIP; disable UDP 500 and 4500 if IPSec VPN not used. — Zyxel guidance
  • Rapid7 analysis: introduced in firmware 4.60 released 2020-10-21; vulnerable component is the IKE packet decoder of the IPSec VPN service; VPN need not be configured, vulnerable in default state; crafted UDP packet to port 500 on WAN gives unauthenticated command execution as root. — Rapid7
  • CVE record: state PUBLISHED, CNA Zyxel, published 2023-04-25. — CVE.org
  • KEV catalog version 2026.11.23: dateAdded 2023-05-31, required action 'Apply updates per vendor instructions.', due 2023-06-21, knownRansomwareCampaignUse Unknown, CWE-78; checked 2026-11-24. — CISA KEV
  • EPSS 0.99284, percentile 0.99938, dataset 2026-11-23, read 2026-11-24. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Zyxel security advisory for remote command injection vulnerability of firewalls
  3. Zyxel's guidance for the recent attacks on the ZyWALL devices
  4. Rapid7 analysis of CVE-2023-28771
  5. CVE.org record CVE-2023-28771 (CNA: Zyxel)
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Which firmware fixes CVE-2023-28771?

ZLD V5.36 for the ATP, USG FLEX and VPN series and ZLD V4.73 Patch 1 for ZyWALL/USG. Zyxel's June 2023 guidance names V5.36 Patch 2 and V4.73 Patch 2 as the latest builds, which also fix CVE-2023-33009 and CVE-2023-33010 (per Zyxel).

Is a firewall affected if IPsec VPN is not configured?

Yes. Rapid7 found that the IKE service listens on UDP port 500 on the WAN interface by default, so a device is vulnerable without any VPN configured. If IPsec VPN is not needed, Zyxel advises disabling UDP ports 500 and 4500 (per Rapid7 and Zyxel).

What is the CVSS score of CVE-2023-28771?

Zyxel scores it CVSS v3.1 9.8. As of 2026-11-24 NVD shows its own 9.8 labelled Secondary and no Primary metric, so this page gives the CNA score (per NVD).

Is CVE-2023-28771 exploited?

Yes. CISA added it to KEV on 2023-05-31, and Zyxel reported attacks on ZyWALL devices in June 2023. It is listed as of 2026-11-24 in catalog version 2026.11.23, and FIRST EPSS gives 0.99284 (99.94th percentile) in the 2026-11-23 dataset (per CISA KEV, Zyxel and FIRST EPSS).