Buffer overflow in Bluez
CVE-2023-51596
BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. User interaction is required to exploit this vulnerability in that the target must connect to a malicious Bluetooth device.
The specific flaw exists within the handling of the Phone Book Access profile. 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 root. Was ZDI-CAN-20939.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.015, 74.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Bluez — versions 5.66
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (robertsirc/sle-bci-demo). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- ZDI-23-1902 (x_research-advisory, Third Party Advisory)