How I was able to track the location of any Tinder user.
Tinder's API returned a high-precision distance to other users, allowing an attacker to determine a user's exact location by measuring distances from three known points. An attacker could track any Tinder user's last reported location to within about 100 feet.
Published on blog.includesecurity.com
At IncludeSec we specialize in application security assessment for our clients, that means taking applications apart and finding really crazy vulnerabilities before other hackers do. When we have time off from client work we like to analyze popular apps to see what we 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
The API returned a high-precision distance measurement to the client, which, combined with the ability to set one's own location arbitrarily, enabled trilateration.
Impact
An attacker could determine the last reported location of any Tinder user to within about 100 feet, and there is no simple way to detect if the attack was used.
What the attacker needed
A Tinder account; ability to set arbitrary location via API; target's user id; approximate city of target
The fix
The fix was to stop returning high-precision distance data from the server; the text notes that the high-precision data is no longer returned.
How it was found
- Create a Tinder profile and use the API to set an arbitrary location.
- Query the API to get the distance to a target user.
- Repeat from two more locations around the target's city.
- Use trilateration with the three distances to calculate the target's coordinates.
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.
Tinder shows how far away other users are, but it gave that distance with too many decimal places. By pretending to be in three different places and checking the distance each time, an attacker can work out exactly where someone is, like using three distance measurements to pinpoint a spot on a map.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.