Skip to content
Business logic Write-up Beginner

Hiding ourself in close friend’s list and avoiding victim to remove us from his close friend’s list.

A user could deactivate their account while on another user's close friends list, causing them to disappear from that list, and then reactivate to remain on the list without the victim being able to remove them. This allowed an attacker to hide themselves in a victim's close friends list and avoid removal.

Baibhav Anand Follow

Published on baibhavjha.com.np

Bounty$500 View original

There is a feature in Facebook called close friend’s list which you can find here: https://www.facebook.com/bookmarks/lists this allows you to add someone as a close friend. Exploiting this will allow someone to hide oneself in the close friend’s list and not allow victim to remove them from the close friend’s list.

Baibhav Anand (@SpongeBhav), on baibhavjha.com.np

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 close friends list membership was not properly cleaned up when an account was deactivated, so reactivation restored the entry without the victim's ability to remove it.

What the attacker needed

Attacker is on victim's close friends list; attacker can deactivate and reactivate account

The fix

The issue was fixed according to the timeline.

How it was found

  1. UserOne is in UserTwo's close friends list.
  2. UserOne deactivates their account.
  3. UserTwo can no longer see UserOne in the close friends list.
  4. UserOne reactivates their account and remains in UserTwo's close friends list.

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.

On Facebook, you can mark people as close friends so you see more of their posts. This report shows that if someone deactivates their account, they vanish from your close friends list, but when they come back they are still on it, so you cannot remove them. That means an attacker can stay on your list secretly.

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.

More by Baibhav Anand

View all

12 more disclosed reports, best first.

More from Meta

View all

The newest disclosed reports for this program.

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.