CVE-2023-50230: BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability
BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability
Other sources
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.
— ZDI
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/bluezto a version that resolves this vulnerability.Fixed in 5.55-3.1+deb11u2Fixed in 5.66-1+deb12u2Fixed in 5.79-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.63-5 - Upgrade
Upgrade
bluez/bluezto a version that resolves this vulnerability.Patch ZDI-CAN-20938 - Compensating control
Reduce exposure by limiting Bluetooth connectivity/access so devices only connect to trusted Bluetooth devices, since user interaction is required (the target must connect to a malicious Bluetooth device).
- Compensating control
Isolate or restrict the host’s network-adjacent Bluetooth attack surface to trusted peers, since the vulnerability can be exploited by network-adjacent attackers via Bluetooth.
Event History
Frequently Asked Questions
What is the severity of CVE-2023-50230?
CVE-2023-50230 has a high severity rating due to its potential for remote code execution.
How do I fix CVE-2023-50230?
To fix CVE-2023-50230, upgrade BlueZ to the latest versions 5.55-3.1+deb11u2, 5.66-1+deb12u2, or 5.79-1.
What type of vulnerability is CVE-2023-50230?
CVE-2023-50230 is a heap-based buffer overflow vulnerability.
Who is affected by CVE-2023-50230?
Users of affected versions of BlueZ, specifically versions up to 5.55-3.1+deb11u1 and 5.66-1+deb12u1, are at risk.
What exploit method is used for CVE-2023-50230?
CVE-2023-50230 requires user interaction for the exploitation process.