Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strip exif metadata #1697

Open
jlopp opened this issue Apr 27, 2020 · 0 comments
Open

strip exif metadata #1697

jlopp opened this issue Apr 27, 2020 · 0 comments

Comments

@jlopp
Copy link

jlopp commented Apr 27, 2020

We had a security researcher file a report for our helpy instance:

Vulnerability name: EXIF Geolocation Data Not Stripped

Vulnerability Description:
What is EXIF?
EXIF is short for Exchangeable Image File, a format that is a standard for storing interchange information in digital photography image files using JPEG compression. Almost all new digital cameras use the EXIF annotation, storing information on the image such as shutter speed, exposure compensation, F number, what metering system was used, if a flash was used, ISO number, date and time the image was taken, white balance, auxiliary lenses that were used and resolution. Some images may even store GPS information so you can easily see where the images were taken!

Vulnerability Impact:
Metadata from the uploaded profile picture is not stripped off. As a result, image's captured GEO location, date, device used and other sensitive information is leaked. This information can be used for tracking people, gaining leverage on the devices.This vulnerability violates the privacy of a User and shares sensitive information of the user who uploads an image.

Steps to reproduce:

  1. Create an account and login
  2. Go to settings and upload a profile picture.
  3. Right click on profile image then view the image location and copy it.
  4. Go to this URL http://exif.regex.info/exif.cgi and paste in the link and view the image.
    All sensitive information is shown including device name and GEO location of image captured.
    Remediation : strip the metadata from the uploaded images.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant