Skip to content
Info disclosure Write-up Beginner

How One Photo Can Unlock Sensitive Information

One of five image upload features on a SaaS e-commerce platform did not strip metadata from uploaded images. An attacker could download a product image and extract GPS coordinates, device details and timestamps, potentially revealing a user's physical location.

medium.com

Published on medium.com

After two weeks of deep testing on redacted.com, I reached the file upload functionalities. The platform had five different upload features, each allowing users to upload images for various purposes.

zNull, on medium.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 upload handler for one feature saved the original image file without stripping EXIF metadata, unlike the other four features.

Impact

Attackers could extract precise GPS coordinates, device model and manufacturer, and timestamps from uploaded images, which could expose a user's physical location and aid targeted attacks or stalking.

What the attacker needed

A store owner account; victim uploads a photo with GPS metadata; attacker can view the product page

How it was found

  1. As a store owner, upload an image for a product listing.
  2. Confirm the image appears on the website.
  3. As an attacker, visit the product page and download the uploaded image.
  4. Run ExifTool on the downloaded image to read its metadata.

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, your phone often saves extra hidden details inside the image file, such as where you were and what phone you used. This is called metadata. The website let people upload product photos but did not remove that hidden data, so anyone who downloaded the image could read it.

What is Info disclosure?

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

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.