Snipe-IT: Improper Authorization in File Deletion (IDOR)
grokability snipe-it
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| snipe/snipe-it Packagist |
|
|
Original description
Snipe-IT is an IT asset/license management system. Prior to 8.4.1, an authenticated user with generic asset edit permission can delete files attached to assets outside the user's ownership or company assignment. The destroy() methods in app/Http/Controllers/Api/UploadedFilesController.php and app/Http/Controllers/UploadedFilesController.php authorize update against the object class instead of the resolved object instance, creating an insecure direct object reference. This issue is fixed in version 8.4.1.
From the CVE record · GitHub_M