CVE-2023-45866 Unauthenticated Bluetooth keystroke-injection
Multiple Bluetooth stacks (Android, Linux/BlueZ, macOS, iOS) allow an attacker to pair a fake keyboard without user confirmation and inject keystrokes. A nearby attacker could then perform arbitrary actions as the victim, provided those actions do not require a password or biometric authentication.
github.com
Published on github.com
skysafe / reblog Public
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a combination of a Bluetooth specification flaw that allows unauthenticated pairing and implementation-specific bugs that expose it to attackers.
Impact
A nearby attacker could connect over unauthenticated Bluetooth and inject keystrokes to install apps, run commands, or forward messages, but actions requiring a password or biometric authentication are not possible; Lockdown Mode does not prevent the attack on Apple devices.
What the attacker needed
Attacker within Bluetooth range; Linux computer with Bluetooth adapter; target Bluetooth enabled (Android); target discoverable/connectable (Linux)
The fix
The vulnerability was fixed in Android security patch level 2023-12-05 for Android 11-14, in BlueZ by enabling the 2020 fix by default, and in macOS Sonoma 14.2; no fix is available for Android 4.2.2-10.
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 write-up has not been written yet. The Original tab links to the source.
Bluetooth devices like keyboards normally ask you to confirm pairing. This bug lets an attacker trick your device into pairing with a fake keyboard without asking you, so they can type commands on your phone or computer as if they were you. They still cannot do things that need your password or fingerprint.
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.