Skip to content
Access control Advisory Advanced CVE-2024-8805

BlueZ Classic HID Missing Authentication Remote Code Execution Vulnerability

BlueZ's Classic HID connection handling lacks authentication, allowing a network-adjacent attacker to execute arbitrary code as the current user. No credentials are needed to exploit the flaw.

MICHAEL RANDRIANANTENAINA [https Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. Authentication is not required to exploit this vulnerability.

MICHAEL RANDRIANANTENAINA [https://elkamika.blogspot.com/], 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

Root cause

Likely, the Classic HID connection handler does not authenticate the remote device before exposing functionality that can lead to code execution.

Impact

A network-adjacent attacker could execute arbitrary code in the context of the current user without authentication.

What the attacker needed

Network-adjacent access; Bluetooth Classic HID support enabled

The fix

The vendor released patches for the flaw, as indicated by the linked commits.

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 Classic HID is the protocol used by wireless keyboards and mice. BlueZ is the software that handles Bluetooth on Linux. The report says that when a device connects using this protocol, BlueZ does not check who is connecting before letting them use certain functions. That means someone nearby with a Bluetooth radio could send malicious data and run their own code on the machine, without needing a password.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by MICHAEL RANDRIANANTENAINA [https

View all

33 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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.