BlueZ Audio Profile AVRCP Improper Validation of Array Index Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows network-adjacent attackers to execute arbitrary code via Bluetooth on affected installations of BlueZ. User interaction is required to exploit this vulnerability in that the target must connect to a malicious device.
The specific flaw exists within the handling of the AVRCP protocol. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of root.
Additional Details
BlueZ has issued an update to correct this vulnerability. More details can be found at:
https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=f54299a850676d92c3dafd83e9174fcfe420ccc9
Disclosure Timeline
- 2023-03-22 - Vulnerability reported to vendor
- 2023-04-12 - Coordinated public release of advisory
Credit
Michael Randrianantenaina (https://elkamika.blogspot.com/)