Advisory Details

June 10th, 2024

Linux Kernel ksmbd Transform Header Out-Of-Bounds Read Information Disclosure Vulnerability

ZDI-24-586
ZDI-CAN-21589

CVE ID CVE-2023-39176
CVSS SCORE 5.8, AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
AFFECTED VENDORS Linux
AFFECTED PRODUCTS Kernel
VULNERABILITY DETAILS

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Linux Kernel. Authentication is not required to exploit this vulnerability. However, only systems with ksmbd enabled are vulnerable.

The specific flaw exists within the parsing of SMB2 requests that have a transform header. The issue results from the lack of proper validation of user-supplied data, which can result in a read past the end of an allocated buffer. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of the kernel.

ADDITIONAL DETAILS Linux has issued an update to correct this vulnerability. More details can be found at:
https://lore.kernel.org/lkml/CAH2r5mv+Sy5mrZThrQUf1na-mg-B9DiLd5fkYs9sPo97GWirCA@mail.gmail.com/
DISCLOSURE TIMELINE
  • 2023-07-18 - Vulnerability reported to vendor
  • 2024-06-10 - Coordinated public release of advisory
  • 2024-07-01 - Advisory Updated
CREDIT Pumpkin
BACK TO ADVISORIES