Description (CNA)
HomeBox is a home inventory and organization system. Prior to 0.26.0, HandleWipeInventory in backend/app/api/handlers/v1/v1_ctrl_actions.go authorizes POST /v1/actions/wipe-inventory through the global ctx.User.IsOwner value instead of the caller's role in the active group, while the active group is selected through the X-Tenant request header. Because every self-registered user who creates a group receives the global owner value, a user who is also a member of another group can select that group with X-Tenant and permanently delete its complete inventory, which is not recoverable without external backups. This issue is fixed in version 0.26.0.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| sysadminsmedia / homebox | affected < 0.26.0 |
CWE
CWE-269, CWE-639
References
- https://github.com/sysadminsmedia/homebox/security/advisories/GHSA-559j-7w3w-4fr7
- https://github.com/sysadminsmedia/homebox/commit/ed3216a80998dfd81d4418700696244144883160
- https://github.com/sysadminsmedia/homebox/releases/tag/v0.26.0
ADP enrichment
No English description supplied.
No references supplied.