Skip to content
Info disclosure Write-up Beginner

How I Found Location Of Users In Public Bbp In 2 Minutes Easy Bug 3

The website did not strip EXIF metadata from publicly uploaded images, so anyone with the image URL could extract the uploader's geolocation. The author demonstrated this by uploading a test image with GPS data and retrieving it publicly.

Mehboob khan Follow

Published on systemweakness.com

๐Ÿ‘‹ Hi, Iโ€™m Mehboob Khan, a Computer Science & Engineering graduate (2023). Iโ€™m obsessed with understanding how technology ticks and love bypassing logic to uncover hidden vulnerabilities. ๐Ÿ”๐Ÿ’ป

Mehboob khan, on systemweakness.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 application stored and served uploaded images without stripping EXIF metadata, including GPS coordinates.

Impact

An attacker could obtain the approximate location of users who upload images, as the site did not strip metadata.

What the attacker needed

A free account; ability to upload and publish an image; image contains GPS metadata

The fix

The application should strip EXIF metadata from uploaded images before storing or serving them publicly.

How it was found

  1. Create an account on the target site and find a feature that lets you upload an image.
  2. Upload an image that contains GPS metadata and publish it so it is publicly accessible.
  3. Copy the public URL of the uploaded image.
  4. Paste the image URL into an EXIF metadata extraction tool.
  5. Read the extracted metadata, which includes location information.

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.

When you take a photo with a phone or camera, the file often stores extra details like the device model and sometimes the GPS location. If a website shows that photo without removing these details, anyone who views the image can read the location. This report shows a site that failed to remove such details from user-uploaded images.

What is Info disclosure?

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

More by Mehboob khan

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.