Skip to content
Info disclosure Write-up Advanced

WhatsApp Silent Fix of Device Fingerprinting Privacy Issue Assess

WhatsApp's multi-device encryption protocol leaked device-specific implementation details through key identifiers, allowing attackers to fingerprint whether a victim uses Android or iPhone. This enabled targeted delivery of exploits to the correct device while avoiding detection on other devices.

Tal Be'ery Follow

Published on medium.com

Meta’s WhatsApp, the world’s most popular messaging app with over 3 billion monthly active users, serves as a primary attack channel for cyber attackers seeking to infect victims with malware.

Tal Be'ery, on medium.com

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 per-device encryption key identifiers were generated with predictable, platform-specific patterns (e.g., starting from zero and incrementing slowly) rather than random values, leaking the device OS.

Impact

Attackers could distinguish between Android and iPhone with high certainty, enabling targeted exploits; the fix is incomplete because iPhone still uses predictable values.

What the attacker needed

Ability to query WhatsApp servers; victim uses WhatsApp

The fix

WhatsApp changed Android's key ID assignment to random, but iPhone still uses a predictable incrementing value, so the fix is partial.

How it was found

  1. Query WhatsApp servers for the encryption material required to set up a session with each of the receiver's devices.
  2. Observe the key identifiers returned for each device.
  3. Use implementation differences in key ID generation to determine the victim's device OS.

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.

When you send a message on WhatsApp, it creates separate encrypted sessions for each of the recipient's devices. The technical details of how each device sets up these sessions differ slightly between Android and iPhone. Researchers found that by examining these differences, an attacker could tell which operating system a victim's device uses, without the victim knowing.

What is Info disclosure?

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

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.