Bug 2278974 (CVE-2023-50229) - CVE-2023-50229 bluez: phone book access profile heap-based buffer overflow remote code execution vulnerability
Summary: CVE-2023-50229 bluez: phone book access profile heap-based buffer overflow re...
Keywords:
Status: NEW
Alias: CVE-2023-50229
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2278975
Blocks: 2278934
TreeView+ depends on / blocked
 
Reported: 2024-05-03 19:22 UTC by Robb Gatica
Modified: 2024-05-06 13:37 UTC (History)
0 users

Fixed In Version:
Doc Type: ---
Doc Text:
A flaw was found within the handling of the Phone Book Access profile in BlueZ. 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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Robb Gatica 2024-05-03 19:22:25 UTC
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-20936.

https://github.com/bluez/bluez/commit/5ab5352531a9cc7058cce569607f3a6831464443
https://www.zerodayinitiative.com/advisories/ZDI-23-1811/

Comment 1 Robb Gatica 2024-05-03 19:23:27 UTC
Created bluez tracking bugs for this issue:

Affects: fedora-all [bug 2278975]


Note You need to log in before you can comment on or make changes to this bug.