Crash in the pcapng file parser in Wireshark 3.6.0 allows denial of service via crafted capture file
Wireshark 3.6.0 is vulnerable to a denial-of-service (DoS) attack due to a flaw in its pcapng file parser. A crafted capture file can trigger a crash, rendering the application unusable and potentially disrupting network analysis operations. This vulnerability requires no authentication and can be exploited by simply opening a malicious pcapng file.
Step 1: Payload Delivery: An attacker crafts a malicious pcapng capture file. This file contains specially crafted data designed to exploit the vulnerability in Wireshark's pcapng parser. The specific data will depend on the exact nature of the flaw.
Step 2: File Opening: A user opens the malicious pcapng file using Wireshark 3.6.0.
Step 3: Parsing Trigger: Wireshark's pcapng parser begins to process the file.
Step 4: Vulnerability Exploitation: The parser encounters the crafted data within the pcapng file. Due to a flaw in the parsing logic, this data triggers a crash. This could be a segmentation fault, an access violation, or other error that causes the application to terminate.
Step 5: Denial of Service: Wireshark crashes, resulting in a denial of service. The user is unable to use Wireshark until the application is restarted. Repeated exploitation can render Wireshark unusable for extended periods.
Root Cause: The vulnerability lies within the pcapng file parser in Wireshark 3.6.0. Specifically, the parser mishandles certain malformed or crafted pcapng files. The exact nature of the flaw is not explicitly detailed in the provided CVE information, but the description indicates a crash, suggesting a potential issue like a null pointer dereference, an integer overflow, or an attempt to access memory outside of allocated bounds. The parser likely fails to properly validate the size or structure of data within the pcapng file, leading to the crash. The vulnerability is triggered during the parsing of the file, meaning that simply opening a malicious file is sufficient to trigger the DoS condition.