Facebook Messenger indirect thread deletion
Messenger for Android reused a Thread ID when opened via a deeplink, allowing an attacker to create a duplicate group thread with the same ID as an existing 1:1 chat. When the victim deleted the duplicate thread, the original conversation was also permanently deleted.
Published on servicenger.com
This can lead to some confusing behaviour on the user-side, one example being: The user has a 1:1 with the attacker. The attacker then forces the user to create a new Group Chat with the same Thread ID that is not functional.
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
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 the web view.
What the attacker needed
Victim uses Messenger for Android; Attacker has previously chatted with victim; Victim clicks a crafted link
The fix
The report states the issue was fixed, though it does not describe the fix.
How it was found
- Host a webpage that redirects to the Messenger deeplink with the attacker's user ID.
- Send the link to a user the attacker has previously chatted with.
- The victim clicks the link, which opens Messenger and redirects to the thread.
- A duplicate group thread with the same Thread ID appears on the victim's phone.
- The victim tries to leave the duplicate group but gets an error, leaving deletion as the only option.
- The victim deletes the duplicate thread, which 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 directly. Here, the app trusted an ID from the link and created a second chat with the same ID as an existing one. Deleting the fake chat also deleted the real one, so the attacker could make a victim lose their conversation history.
What is Mobile?
Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.