NetSight
medium6.5No CVE yet

GHSA-xpff-c35g-j3cr

silverstripe/framework Privilege Escalation Risk in Member Edit form

Impact

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.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data or systems being changed.

Affected packages

EcosystemPackageAffectedFixed in
composersilverstripe/framework>= 3.5.7-rc1, < 3.5.83.5.8
composersilverstripe/framework>= 3.6.0-rc1, < 3.6.63.6.6
composersilverstripe/framework>= 4.0.0-rc1, < 4.0.44.0.4
composersilverstripe/framework>= 4.1.0-rc1, < 4.1.14.1.1

Weakness classification

References