Skip to content
Business logic Write-up Beginner

This is How I Turned an Informative Bug into a Valid $500 Bug

Likes and comments on certain sponsored posts did not appear in Facebook's Activity Log or Hacked Flow, so users could not review or undo those actions. An attacker who compromised an account could post unwanted comments on sensitive sponsored posts that the victim could not later remove.

medium.com

Published on medium.com

Hi everyone, it’s Shubham Bhamare again with a new bug bounty write-up. Today, I’m going to share the story of how I turned an “Informative” bug into a valid $500 bug.

Shubham Bhamare, 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 code that records likes and comments for the Activity Log and Hacked Flow did not handle sponsored posts in the same way as ordinary posts.

Impact

A victim could not see or undo likes and comments made on certain sponsored posts, so an attacker with access to the account could leave unwanted comments on sensitive political or religious posts that the victim could not easily remove.

What the attacker needed

A Facebook account; a sponsored post that is vulnerable; attacker has access to the victim's account

The fix

It was fixed: the report was resolved after the issue was triaged and a bounty was paid.

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.

Facebook has a page where you can see everything you have liked or commented on, and a special mode to undo anything suspicious if your account is hacked. The researcher found that for some paid posts, those actions were missing from both places. That means if someone else used your account to comment on such a post, you would have no easy way to find and delete that comment.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.