Skuul version 2.6.5 fails to sanitize or remove embedded EXIF metadata from uploaded images. When users upload profile photos the system stores and serves the original files without stripping metadata. This allows other users or administrators who can access or download these images to extract sensitive information, such as GPS location, device model, timestamps, and other personal data about the uploader.
When an image is uploaded in Skuul via the profile photo the platform accepts and serves the file as-is, retaining the original EXIF metadata. This metadata may include:
- GPS coordinates (latitude, longitude)
- Device make, model, and serial information
- Photo creation and modification timestamps
- Camera owner or software details
- User-defined tags or comments that may contain personal identifiers
Because this metadata remains intact and is retrievable by other users or anyone with access to the image URL, sensitive data exposure occurs. This could lead to privacy violations, location disclosure, or unintentional information leakage in educational or shared environments.
- Login to Skuul http://127.0.0.1:8000/login as a (Student, Teacher, Parent, Admin or Super Admin)
- Navigate to http://sk.htb:8000/user/profile
- Upload the Image contaning Meta Data such as (https://github.com/ianare/exif-samples/blob/master/jpg/gps/DSCN0010.jpg)
- Save the downloaded image locally.
- Open the image using any online EXIF viewer such as https://www.pic2map.com or https://exif.tools.
- Observe that sensitive EXIF data (like GPS coordinates and device information) is still present.
- Disclosure of user’s location (via GPS metadata).
- Leakage of personal or device information (e.g., phone model, camera details).
- Violation of user privacy and institutional data protection policies.
- Potential non-compliance with GDPR or similar privacy regulations.
- Implement server-side EXIF stripping for all uploaded images.
- Store and serve only sanitized image versions.
- Apply EXIF sanitization across all modules (Profile, Assignments, Attachments, etc.).
- Periodically review existing stored files to remove sensitive metadata.
- Skuul v2.6.5