GHSA-6mmj-jhqj-6c6q
Snipe-IT's S3 signature image retrieval lacks authorization before temporary URL
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | snipe/snipe-it | < 8.5.1 | 8.5.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
Snipe-IT S3 signature image retrieval lacks authorization before temporary URL.
On S3-backed deployments, authenticated users who know a signature filename can obtain a 5-minute signed S3 URL because the S3 branch returns before the `authorize()` call used by the local-file branch.
## Key evidence
`routes/web.php:135-143`; `app/Http/Controllers/ActionlogController.php:16-44`; `app/Http/Controllers/Account/AcceptanceController.php:160,175`; `app/Listeners/LogListener.php:56`; `app/Http/Transformers/ActionlogsTransformer.php:188`
### Patches
Patched in https://github.com/grokability/snipe-it/commit/ded6515cbc27a28f07395da318483c2e96263259
### Credit
Disclosed by Ikaro tiagonas
References
External links from the advisory. They lead to third-party sites.