Day 4: IDOR — How I Hacked a Dating App & Accessed Every User’s Private Data
An IDOR vulnerability in a dating app's API allowed changing a user ID parameter to access other users' private profiles, messages, and admin data. The attacker could scrape thousands of profiles and view private chats and moderation logs.
Published on infosecwriteups.com
Last month, I found an IDOR (Insecure Direct Object Reference) vulnerability in a popular dating app that allowed me to view every user’s private messages, photos, and location data — just by changing a number in the URL. The company paid me $8,000 for this critical find.
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 API endpoints did not verify that the authenticated user was authorised to access the requested resource, relying only on the provided identifier.
Impact
The attacker could access every user's private messages, photos, and location data, and also view admin-only data such as banned users and moderation logs, potentially leading to GDPR violations.
What the attacker needed
An account on the dating app; ability to intercept HTTP requests
How it was found
- Intercept requests with Burp Suite and find an API endpoint that uses a user ID.
- Change the user ID value in the request to another user's ID.
- Observe that the response contains another user's full profile.
- Automate the process with a script to check many IDs.
- Find and exploit other endpoints for private messages and admin data by changing identifiers.
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.
An IDOR is when a website uses a simple identifier, like a number in a web address, to decide which data to show you, but doesn't check if you're allowed to see that data. By changing the number, you can see someone else's information. Here, changing a user ID in the API request let the attacker view other people's private profiles and messages.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.