Skip to content
Info disclosure Write-up Intermediate

Digital Travel App TripBFF Exposed Location Data Way Too Accurately

The TripBFF app's internal API returned exact latitude and longitude and full birth date for users, and allowed any user to query any location worldwide. An attacker could enumerate and track the precise recent app-open location of every active user.

Jonathan Leitschuh Follow

Published on infosecwriteups.com

I’m currently living the life of a digital nomad, traveling the world. I’ve been looking to meet fellow world travelers.

Jonathan Leitschuh, on infosecwriteups.com

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 backend returned full-precision location data and birth date without validating the requesting user's location or premium status, and the 'Hide my nearby distance' setting only masked distance fields, not the real coordinates.

Impact

Any user could view the exact recent app-open location and full birth date of every active user, and could scan the globe to collect this data en masse; the 'Hide my nearby distance' setting did not prevent location exposure.

What the attacker needed

A free account; ability to intercept app traffic; none

The fix

The team pushed server-side changes to skew coordinates, snap to a 1 km grid with jitter, return 0.0,0.0 when 'Hide My Nearby Distance' is enabled, and skew the birthday value; however, the promised reduction of accuracy in /updateLocation was not yet implemented.

How it was found

  1. Install the TripBFF app and create an account.
  2. Configure a proxy (e.g., Burp Suite) to intercept the app's HTTP traffic.
  3. Observe the POST request to /fetchNearbyUsers containing latitude, longitude, and geoHash.
  4. Modify the latitude and longitude values to any location and set isPremiumUser to true.
  5. Send the modified request and read the response containing other users' exact coordinates and birth dates.

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 servers sent back users' exact GPS coordinates and birth dates to anyone using the app, even though the app's map only showed approximate pins. By changing the location in the request, a user could search any area and collect the precise locations of all users there.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Jonathan Leitschuh

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.