Description (CNA)
Snipe-IT through 8.6.4 (fixed in 8.7.0) does not enforce the components.view permission on the authenticated endpoint GET /api/v1/hardware/<asset-id>/assigned/components. The endpoint authorizes only assets.view on the parent asset before returning linked component details; the components.view check is applied only to the response's available_actions.view flag and not to the returned data. As a result, an authenticated user holding only assets.view can enumerate component IDs, names, assigned quantities, and notes that are otherwise protected — the direct GET /api/v1/components/<id> endpoint correctly returns 403 Forbidden for such users.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| grokability / snipe-it | affected 8.6.4 before 8.7.0; unaffected 8.7.0 |
CWE
CWE-862
References
- https://github.com/grokability/snipe-it/security/advisories/GHSA-v973-fm42-f8xv
- https://www.vulncheck.com/advisories/snipe-it-8.6.4-before-8.7.0-permission-bypass-via-assigned-components
ADP enrichment
No English description supplied.
No references supplied.