Skip to content
Access control Write-up Beginner

How One WhatsApp Feature Got Me Two $500 Bounties in the Meta Bug

On iOS WhatsApp, a user who left a group with Advanced Chat Privacy enabled could still disable that setting and then export the entire chat, bypassing the privacy control. After the first fix, the same bypass was possible via a 'Learn more' link in an error popup.

Mohammad Shadab Shaikh Follow

Published on imshadab18.medium.com

Hi, I am Mohammad Shadab from India, a newbie in cyber security and bug bounty. This is a small story of how I got 2 bounties on the same feature in WhatsApp.

Mohammad Shadab Shaikh, on imshadab18.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 app did not properly enforce the Advanced Chat Privacy restriction for users who had left the group, allowing them to change the setting and export the chat.

Impact

An ex-member of a group could bypass the Advanced Chat Privacy setting and export the entire chat history, but only on iOS; Android and WhatsApp Web were not affected.

What the attacker needed

IOS WhatsApp; member of a group with Advanced Chat Privacy on; leave the group

The fix

The issue was fixed twice: first by hiding the Advanced Chat Privacy button after leaving the group, then by removing the bypass through the 'Learn more' link.

How it was found

  1. Join a group where Advanced Chat Privacy is turned on and only admins can change it.
  2. Leave the group.
  3. Tap the Advanced Chat Privacy button and disable it.
  4. Tap Export Chat to export the entire group chat.

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.

Advanced Chat Privacy is a WhatsApp setting that stops people from exporting a group chat. The researcher found that after leaving such a group, an iOS user could still turn that setting off and then export the whole chat, which should have been blocked. A later fix still left a way to do the same thing through a help link.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.