Tale of a $1000 Facebook Bug Bounty
The Facebook mobile password reset page sent the new password over an unencrypted HTTP connection, so an attacker on the same network could sniff it. The author confirmed this with a packet capture and reported it to Facebook's bug bounty programme.
princeton.edu
Published on princeton.edu
For some time a few months ago, I became obsessed with wireless sniffing. I didn't want to sniff others' wireless traffic so much as be able to detect smartphones by their wireless probes.
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
Impact
Anyone with a packet-sniffing program on the same unsecured network could capture the new password during a mobile reset.
What the attacker needed
Victim resets password on mobile; attacker on same unsecured network; packet-sniffing tool
The fix
The password reset endpoint should be served over HTTPS so the new password is encrypted in transit; Facebook pushed a patch shortly after confirmation.
How it was found
- Open the Facebook mobile password reset page on an iPhone.
- Notice that the page loads over HTTP without a lock symbol.
- Use Wireshark to capture network traffic while resetting the password.
- Identify the HTTP request that contains the new password in plain text.
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 reset a password on a website, the new password should travel over an encrypted connection (HTTPS) so nobody else can read it. Here, the mobile reset page sent the password in plain text over HTTP, meaning anyone sharing the same Wi-Fi network could capture it with a sniffing tool. The author used a program called Wireshark to see the password in the network traffic.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.