Arcane: Delegated users:update permission allows admin account takeover via password reset (no privilege-hierarchy check)
getarcaneapp arcane
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/getarcaneapp/arcane/backend/v2 Go |
|
|
| github.com/getarcaneapp/arcane/backend Go |
| No fix yet |
Original description
Arcane is an interface for managing Docker containers, images, networks, and volumes. Prior to 2.6.0, UpdateUser in backend/api/handlers/users.go sets PasswordHash for any target without comparing caller and target privilege. A holder of delegated users:update permission can submit a password change for the global administrator, replace the administrator password, and authenticate as that account, resulting in complete global administrator account takeover. This issue is fixed in version 2.6.0.