Advisory Details

May 31st, 2022

FreeBSD 802.11 Network Subsystem Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-22-806
ZDI-CAN-15980

CVE ID CVE-2022-23088
CVSS SCORE 8.3, AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
AFFECTED VENDORS FreeBSD
AFFECTED PRODUCTS Kernel
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of FreeBSD Kernel. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the handling of 802.11 Wi-Fi beacon frames. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the kernel.

ADDITIONAL DETAILS FreeBSD has issued an update to correct this vulnerability. More details can be found at:
https://www.freebsd.org/security/advisories/FreeBSD-SA-22:07.wifi_meshid.asc
DISCLOSURE TIMELINE
  • 2021-12-22 - Vulnerability reported to vendor
  • 2022-05-31 - Coordinated public release of advisory
CREDIT m00nbsd
BACK TO ADVISORIES