Skip to content
Access control Write-up Beginner

Hiding from a custom list is possible on who sees our post is possible making victim not remove them from the list.

A deactivated account remained in a custom friends list used for post privacy, so the victim could not remove that user when updating the list for a new post. The attacker could still see the new post because they were not removed from the list.

Baibhav Anand Follow

Published on baibhavjha.com.np

Bounty$500 View original

Attacker can hide in the specific friends list so that victim can’t see him while updating the list in the next post and attacker will be able to see the next post as well since victim couldn’t see him/her resulting in him/her not being removed while updating the specific people list while posting next post.

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 application did not properly handle deactivated accounts in custom friend lists, allowing them to remain as invisible entries that could not be removed.

Impact

The attacker could see the victim's future posts that used the custom list, because the victim could not remove the deactivated account from the list.

What the attacker needed

Victim uses a custom friends list for post privacy; attacker is added to that list; attacker deactivates their account

How it was found

  1. When posting, the user selects specific friends in the privacy settings.
  2. User A adds User B to the specific friends list for a post.
  3. User B (the attacker) deactivates their account.
  4. User A tries to update the specific friends list for a new post but cannot remove User B.

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.

When you post something, you can choose a custom list of friends who are allowed to see it. If one of those friends deactivates their account, the system still keeps them on the list but hides them from you, so you cannot remove them. That means they can still see your future posts even though you cannot see or remove them.

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.

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.

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.