Skip to content
Info disclosure Write-up Intermediate

PrivateDrop: Breaking and Fixing Apple AirDrop

Apple AirDrop's authentication mechanism uses hash functions to obfuscate contact identifiers (phone numbers and email addresses), allowing attackers to recover them. A malicious receiver can learn the sender's hashed identifiers and reverse them offline, while a malicious sender can learn the receiver's identifiers if the receiver knows any of the sender's contacts.

Alexander Heinrich Follow

Published on privatedrop.github.io

This website is also available in German.

Alexander Heinrich, Matthias Hollick, Thomas Schneider, Milan Stute, Christian Weinert, on privatedrop.github.io

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 the use of hash functions without additional protection (like salting or slow hashing) to obfuscate contact identifiers, which allows efficient reversal via brute-force or dictionary attacks.

Impact

An attacker within physical proximity can learn the phone numbers and email addresses of AirDrop users, even without prior knowledge, leading to privacy loss; Apple has not fixed the issue as of April 2021.

What the attacker needed

Wi-Fi-capable device; physical proximity to target; target opens sharing pane

The fix

The authors propose PrivateDrop, a privacy-preserving authentication protocol using private set intersection, but Apple has not implemented a fix.

How it was found

  1. Attacker waits at a public location until a target device scans for AirDrop receivers (user opens sharing pane).
  2. Attacker collects the hashed contact identifiers from the discover message.
  3. Attacker performs offline hash reversal (e.g., brute-force or rainbow tables) to recover phone numbers and email addresses.

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.

AirDrop lets Apple users share files wirelessly. To decide if someone is a contact, it exchanges scrambled (hashed) versions of phone numbers and email addresses. The problem is that these scrambled values can be unscrambled easily, so a stranger nearby can figure out your phone number or email address.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Apple

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.