Spoof as another Facebook user to report an impostor account
The report endpoint for impostor accounts accepted a contact email address without verifying that the requester owned it or had an active session. An attacker could supply another Facebook user's email address, causing that user to receive a notification that they had reported an account without their knowledge.
Published on zerocode-ph.medium.com
When I was helping someone take down a poser/impostor account. I tried to check the request body on what’s going on behind the scene.
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 endpoint did not verify that the supplied contact email address belonged to the requester or that the requester had an active session.
Impact
An attacker could cause many Facebook users to receive false notifications that they had reported an account, potentially at scale by using a list of email addresses.
What the attacker needed
No login required; know victim's email address
The fix
The endpoint should require an active session and reject email addresses already owned by another user, returning an error such as 'Please login to continue' or 'The email address provided is already in used'.
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 report a fake account on Facebook, you give an email address so Facebook can reply. The site did not check that the email address actually belonged to the person making the report. So someone could type in a stranger's email address, and that stranger would get a message saying they had made a report, even though they had not.
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.