Impact
An authenticated user with only users.edit permission can escalate their own privileges to admin by sending a PATCH request to /api/v1/users/{id} with permissions[admin]=1. The API controller only strips the superuser key from the permissions array, allowing admin and all other permission keys to be set by any user who can update users.
Patches
Patched in ce18ff6, fix was released in v8.4.1
Workarounds
No
Impact
An authenticated user with only
users.editpermission can escalate their own privileges toadminby sending a PATCH request to/api/v1/users/{id}withpermissions[admin]=1. The API controller only strips thesuperuserkey from the permissions array, allowingadminand all other permission keys to be set by any user who can update users.Patches
Patched in ce18ff6, fix was released in v8.4.1
Workarounds
No