Skip to content
Mobile Write-up Intermediate

Facebook Messenger for android indirect thread deletion vulnerability.

Facebook Messenger for Android reused a Thread ID when invoked via a deeplink, allowing an attacker to create a duplicate group thread with the same ID. If the victim deleted the duplicate thread, the original conversation with the attacker was also permanently deleted.

Meta

Published on servicenger.com

Facebook Messenger for Android reuses the Thread ID when invoked via deeplink which could have led attacker to produce indirect thread deletion vulnerability.

Rahul Kankrale, on servicenger.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 app did not validate or isolate thread IDs when creating a group thread from a deeplink, so a duplicate thread shared the same ID as an existing conversation.

Impact

An attacker could cause a victim to permanently delete their conversation with the attacker or with a friend, and the deletion also removed the thread from web view.

What the attacker needed

Victim uses Messenger for Android; Attacker has previously interacted with victim; Victim clicks a crafted link

The fix

The vulnerability was fixed according to the timeline.

How it was found

  1. Send a crafted webpage link to a user you previously interacted with.
  2. The victim clicks the link, which opens a blank page and redirects back to the thread.
  3. A duplicate thread with the same ID is created between you and the victim.
  4. The victim goes to the duplicate group thread and sees no admin.
  5. The victim cannot leave the group and must delete the duplicate thread.
  6. Deleting the duplicate thread also permanently deletes the original conversation.

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.

A deeplink is a special link that opens an app instead of a website. Messenger used the same internal conversation ID for a new group chat, so deleting the new chat also deleted the real one. An attacker could make a victim delete their chat with someone else.

What is Mobile?

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

More from Meta

View all

The newest disclosed reports for this program.

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.