My 2nd Facebook Bounty POC: FB data of birth disclosure
A Facebook mobile timeline URL that included a year returned the posts and life events from that year, so requesting successive years against a user's ID revealed the year the victim was born. The author automated the lookups with a small Node.js app and Facebook paid a bounty before fixing it.
Meta
Published on medium.com
4. Then I have created web application and used below node script to automate the above process (for normal user)
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 mobile timeline endpoint did not check whether the viewer was allowed to see the birth post for the requested year, so it returned it to any logged-in user.
What the attacker needed
A Facebook account; victim's numeric user ID
The fix
Facebook fixed the bug, and the author's demonstration app no longer works.
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.
Every Facebook profile has a timeline, a page listing a person's posts by date. The mobile version of that page accepted a year in the address, and it showed the posts from that year even to people who should not see the birth date. By trying years one after another, someone could work out which year the person was born.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.