One misclick away: How I found a critical vulnerability in a dating app
The app's API endpoints were left unprotected, allowing anyone to create users and read any user's data without authentication. An attacker could access sensitive personal information and manipulate user records.
hame.page
Published on hame.page
I'm certainly no security engineer, but the rush I felt finding my first vulnerability in a piece of software just might convince me to become one. I went into it expecting to find something, but certainly not a CVSS 10 – hell I didn't even know what I uncovered was that serious until I accidentally clicked on…
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 lacked authentication checks, allowing unauthenticated access to user data.
Impact
An attacker could read and modify any user's data, including sensitive information like phone numbers and sexuality, and could disrupt the service by creating fake users.
What the attacker needed
None
The fix
The issues were patched by the Maple team.
How it was found
- Extract the app's IPA file and decompile the JavaScript bundle to find API endpoints.
- Send a request to the user creation endpoint without required fields to see error messages revealing field names.
- Send a request with the required fields to create a user.
- Access the user data endpoint with a user ID to retrieve information without authentication.
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.
The app's backend API did not check if a request was allowed, so anyone could send requests to create or read user data. This is like leaving the front door of a building unlocked, letting anyone walk in and take what they want.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.