Skip to content
DoS Write-up Advanced

Technical Details

A parser for the participant's phone number in WhatsApp's XMPP handling mishandled illegal phone numbers, treating them as null and causing a null pointer exception. An attacker could send a crafted message to a group that crashes WhatsApp on every member's phone in a crash loop, making the group inaccessible and its history unrecoverable.

Dikla Barda Follow

Published on research.checkpoint.com

In the blog post (https://research.checkpoint.com/black-hat-2019-whatsapp-protocol-decryption-for-chat-manipulation-and-more/) we discussed how a threat vector could manipulate messages to their own advantage. In this blog post we will further investigate how a threat vector can use the tool in order to obstruct…

etal, on research.checkpoint.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

The parser for the participant's phone number did not validate input properly, treating illegal phone numbers as null and causing a null pointer exception.

Impact

The vulnerability could cause a crash loop on all group members' phones, making the group inaccessible and its chat history unrecoverable, compromising availability.

What the attacker needed

Attacker must be a member of the target group; use of WhatsApp Manipulation Tool; victim must be a member of the same group

The fix

The bug was fixed in WhatsApp version 2.19.58 and onwards.

How it was found

  1. Set up the WhatsApp Manipulation Tool by obtaining encryption keys and the secret parameter.
  2. Intercept and decrypt a message in a group where the attacker participates.
  3. Modify the participant parameter to a non-digit string.
  4. Send the modified message to the group, causing all members' WhatsApp to crash.

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.

WhatsApp uses a protocol called XMPP to send messages. The app expected the sender's phone number to be a valid number, but if it got something else like an email address, it crashed. Because the bad message stays in the group, the app keeps crashing every time it tries to load the group, so users cannot access it anymore.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from Meta

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.