All reports
Medium

silverstripe/framework Privilege Escalation Risk in Member Edit form

Affected versions

Version ranges need review.

Affected versions
>= 4.1.0-rc1, < 4.1.1
Fixed version
4.1.1
Affected versions
>= 3.5.7-rc1, < 3.5.8
Fixed version
3.5.8
Affected versions
>= 3.6.0-rc1, < 3.6.6
Fixed version
3.6.6
Affected versions
>= 4.0.0-rc1, < 4.0.4
Fixed version
4.0.4
Affected versions
>=3.1.0,<3.1.21|>=3.2.0,<3.2.6|>=3.3.0,<3.3.4|>=3.4.0,<3.4.2
Fixed version
Not reported

Description

A member with the permission EDIT_PERMISSIONS and access to the "Security" section is able to re-assign themselves (or another member) to ADMIN level.

CMS Fields for the member are constructed using DirectGroups instead of Groups relation which results in bypassing security logic preventing privilege escalation.

Links