Description
Snipe-IT before 8.8.0 contains a path traversal vulnerability in the user CSV importer that allows authenticated users with import permission to delete files by storing relative paths in the avatar column. Attackers can import a crafted avatar value for their own account, then update their profile to trigger deleteExistingImage and remove other users' avatars, asset images, or barcodes in the public uploads directory.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Grokability Snipe-IT
Default version status: unaffected
0 to < 8.8.0affected
pkg:composer/snipe/snipe-itReferences
- https://github.com/grokability/snipe-it/security/advisories/GHSA-wq64-46j7-h5vr ↗
- https://github.com/grokability/snipe-it/blob/v8.7.2/app/Importer/UserImporter.php#L102 ↗
- https://github.com/grokability/snipe-it/blob/v8.7.2/app/Http/Requests/ImageUploadRequest.php#L185-L195 ↗
- https://github.com/grokability/snipe-it/commit/0d814b27075041a21016fd84ff8faa60868822b0 ↗
- https://github.com/grokability/snipe-it/releases/tag/v8.8.0 ↗
- https://www.vulncheck.com/advisories/snipe-it-before-8.8.0-path-traversal-file-deletion-via-csv-imported-user-avatar ↗