Finding My First P3 Bug at NASA in My First Week of Bug Hunting
An image upload feature at NASA did not strip EXIF metadata, so uploaded images retained GPS coordinates and camera details. An attacker could extract this information from a publicly accessible uploaded image, exposing the photographer's location and device data.
Published on medium.com
Hello everyone 🙋♂️ This story goes back to my initial days in bug hunting, when I was highly motivated to find bugs, earn Hall of Fame mentions, and continuously learn. LinkedIn played a big role in pushing me forward — seeing others share valid submissions and bounties gave me the confidence to start and stay…
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 image upload feature stored the original file without stripping EXIF metadata before making it available.
Impact
Uploaded images could expose GPS coordinates and device details, which may reveal a person's location and other private information.
What the attacker needed
An image upload feature; ability to view the uploaded image
How it was found
- Find an image upload feature on the target site.
- Upload an image that contains EXIF metadata.
- Retrieve the uploaded image from the site.
- Analyse the retrieved image with an online EXIF metadata viewer to see the exposed details.
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 or camera often saves extra hidden information inside the image file, such as where you were and what device you used. This is called EXIF metadata. If a website lets people upload photos and does not remove that hidden data, anyone who can see the uploaded image can also read that private information.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.