WatchGuard Fireware OS, Remote Code Execution, CVE-2024-49748 (Critical)

Listen to this Post

The CVE-2024-49748 vulnerability is an Out-of-bounds Write within the WatchGuard Fireware OS IKEv2 packet processing logic. When handling a maliciously crafted IKEv2 packet during the initial exchange phase with a dynamic gateway peer, the software fails to properly validate the length of a specific payload. This lack of validation allows an attacker to write data past the end of an allocated buffer in memory. By precisely controlling the overflow data, an attacker can corrupt the program’s execution flow, potentially leading to arbitrary code execution with root-level privileges on the affected firewall device. The vulnerability is network-exploitable without authentication.
Platform: WatchGuard Fireware OS
Version: 11.10.2 – 11.12.4, 12.0 – 12.11.3, 2025.1
Vulnerability: Out-of-bounds Write
Severity: Critical
date: 2024

Prediction: 2024-12-15

What Undercode Say:

nmap -p 4500 --script ike-version <target_ip>
Conceptual IKEv2 Packet Crafting
class IKEv2Packet:
def create_malicious_payload(self):
Craft payload with excessive length field
payload_data = "A" 1000
malicious_payload = struct.pack('!H', 0xFFFF) + payload_data
return malicious_payload
strings /usr/bin/iked | grep -i memcpy

How Exploit:

An unauthenticated remote attacker sends a specially crafted IKEv2 packet to the Mobile VPN or Branch Office VPN service on UDP port 4500. The crafted packet contains a payload with an manipulated length field. The firewall’s IKE daemon processes this packet without proper bounds checking, triggering an out-of-bounds write that corrupts adjacent heap or stack memory. Successful exploitation leads to the execution of attacker-controlled shellcode, granting complete control over the firewall appliance.

Protection from this CVE:

Apply WatchGuard security patch. Disable IKEv2 Mobile VPN. Implement network segmentation. Use firewall access control lists to restrict VPN endpoint access to trusted IP addresses only.

Impact:

Remote Code Execution. Full System Compromise. Network Breach. Unauthorized Access to Internal Resources.

🎯Let’s Practice Exploiting & Learn Patching For Free:

Sources:

Reported By: www.cve.org
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top