Skip to content
Memory corruption Advisory Advanced CVE-2023-44431

(0Day) BlueZ Audio Profile AVRCP Stack-based Buffer Overflow Remote Code Execution Vulnerability

A stack-based buffer overflow in BlueZ's handling of the AVRCP protocol allows a network-adjacent attacker to execute arbitrary code as root when the victim connects to a malicious Bluetooth device. The flaw arises from missing validation of user-supplied data length before copying it into a fixed-length stack buffer.

Anonymous Follow

Originally disclosed on Zero Day Initiative

High 7.1 View original

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.

Anonymous, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could execute arbitrary code with root privileges, but the victim must connect to a malicious Bluetooth device.

What the attacker needed

Victim connects to a malicious Bluetooth device

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Bluetooth devices talk using protocols, and one of them is AVRCP, which handles things like play/pause controls. In this case, the software that runs Bluetooth on Linux (BlueZ) copies data from the remote device into a fixed-size memory area without checking if the data is too long. If an attacker sends too much data, it overflows that area and can run their own code with the highest privileges (root).

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Anonymous

View all

2,270 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.