Facebook Vulnerability – a “Cute Bug” that reveals the “likes” of deleted posts regardless of their privacy settings
A Facebook endpoint that lists likes on a post continued to show the likes of a deleted post for about 10-15 minutes, even if the post had been set to a limited privacy setting before deletion. An attacker who knew the post ID could monitor the endpoint and learn which users had liked the post while it was private.
Published on seekurity.com
Hi Folks, My name is Mohamed Abdel Aty, an Egyptian Web Developer & Bug Hunter, Today I would like to share with you a “cute” bug I found while doing some bug hunting in Facebook.
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 a caching or delayed deletion issue where the likes list for a deleted post was not immediately removed from the endpoint's response.
Impact
An attacker who knows a post ID could monitor the likes endpoint and, within a 10-15 minute window after deletion, discover which users had liked a post that was previously set to a limited audience, potentially revealing private interactions.
What the attacker needed
Know the post ID; post must have been deleted within last 10-15 minutes; attacker must monitor the endpoint
The fix
The issue was not fixed at the time of disclosure; Facebook should ensure that likes for deleted posts are removed immediately from the endpoint's response.
How it was found
- Create a post and set its privacy to 'only me'.
- Open the likes link with that post ID from another account and observe 'no results found'.
- Delete the post from the original account.
- Check the likes link again from the other account and see the list of users who liked the deleted post.
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 like a post on Facebook, the list of people who liked it is normally only visible to those allowed to see the post. This report found that after a post was deleted, its like list stayed visible for a short time to anyone who knew the post's ID number. That meant someone could set up a simple automated check to catch the list before it disappeared.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.