Skip to content
Mobile Write-up Advanced

🛡️ How I Discovered a Bluetooth Pairing Flaw in Android — Reported Under Google’s Android VRP

The Bluetooth trust flag could be set without verifying that a device had completed pairing, so an attacker could add their device to a victim's trusted list and send file transfer prompts without any pairing approval. The victim still had to accept each transfer, but the prompts appeared without a pairing handshake.

Amitishacked Follow

Published on meetcyber.net

It was a quiet weekend evening. Logs on one side, Bluetooth tools open, and — as always — a hot cup of tea beside me.

Amitishacked, on meetcyber.net

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

The code that sets the Trusted flag does not check whether the device has actually completed pairing, so trust can be granted independently of a valid bond.

Impact

An attacker within Bluetooth range could add their device to a victim's trusted list and trigger repeated file-transfer prompts without any pairing approval, though the victim still had to accept each transfer.

What the attacker needed

Attacker within Bluetooth range; victim does not need to approve pairing

How it was found

  1. Review the Bluetooth stack code and notice that the trusted flag is set without checking the paired flag.
  2. Use a laptop and an Android phone to simulate setting the trust state without a successful pairing handshake.
  3. Observe that the Android phone appears in the laptop's trusted list even though the phone user never approved pairing.
  4. Attempt a file transfer and see the Android phone display a file-transfer notification without any pairing having occurred.
  5. Repeat the test across multiple Android devices and versions, resetting settings and toggling Bluetooth, and get the same result each time.

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 normally pair first, which means they exchange keys and confirm they trust each other. This report found that Android's Bluetooth software allowed a device to be marked as trusted without that pairing step. As a result, an attacker nearby could make a phone show a file-transfer pop-up even though the two devices had never paired.

What is Mobile?

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.

More by Amitishacked

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Mobile app vulnerabilities

The lesson behind this report.

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.