How I hacked Tinder accounts using Facebook’s Account Kit and earned $6,250 in bounties
A flaw in Facebook's Account Kit let an attacker log into any user's Account Kit account using just their phone number, and Tinder's API failed to check the client ID on the resulting access token. This allowed an attacker to take over a victim's Tinder account and read private chats and personal information.
Published on medium.freecodecamp.org
This is being published with the permission of Facebook under the responsible disclosure policy.
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 two issues: Account Kit did not verify that the phone number matched the one-time password, and Tinder's API did not validate the client ID of the access token.
Impact
An attacker could take over a victim's Tinder account and read private chats, view personal information, and swipe profiles.
What the attacker needed
Victim uses phone number login; attacker knows victim's phone number
The fix
Both vulnerabilities were fixed by Tinder and Facebook.
How it was found
- The attacker sends a request to Account Kit's phone confirmation endpoint with the victim's phone number and the attacker's own confirmation code.
- The attacker copies the victim's 'aks' access token from the Account Kit cookies.
- The attacker sends the stolen token to Tinder's login API endpoint.
- The attacker gains full control of the victim's Tinder account.
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.
Account Kit was a Facebook service that let people log in with just a phone number. The researcher found that Account Kit did not properly check that the phone number belonged to the person logging in, so an attacker could log in as someone else. Then Tinder did not check which app the login token came from, so the attacker could use that token to access the victim's Tinder account.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.