silverstripe/framework Privilege Escalation Risk in Member Edit form
Moderate severity
GitHub Reviewed
Published
May 27, 2024
to the GitHub Advisory Database
•
Updated May 27, 2024
Package
Affected versions
>= 3.5.7-rc1, < 3.5.8
>= 3.6.0-rc1, < 3.6.6
>= 4.0.0-rc1, < 4.0.4
>= 4.1.0-rc1, < 4.1.1
Patched versions
3.5.8
3.6.6
4.0.4
4.1.1
Description
Published to the GitHub Advisory Database
May 27, 2024
Reviewed
May 27, 2024
Last updated
May 27, 2024
A member with the permission
EDIT_PERMISSIONS
and access to the "Security" section is able to re-assign themselves (or another member) toADMIN
level.CMS Fields for the member are constructed using DirectGroups instead of Groups relation which results in bypassing security logic preventing privilege escalation.
References