Skip to content
OpenAdvisories
Medium · 6.5 GHSA-xpff-c35g-j3cr

silverstripe/framework Privilege Escalation Risk in Member Edit form

Published May 27, 2024 · Updated Dec 2, 2024 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist silverstripe/framework >= 3.5.7-rc1, < 3.5.8 3.5.8 GHSA-xpff-c35g-j3cr
Packagist silverstripe/framework >= 3.6.0-rc1, < 3.6.6 3.6.6 GHSA-xpff-c35g-j3cr
Packagist silverstripe/framework >= 4.0.0-rc1, < 4.0.4 4.0.4 GHSA-xpff-c35g-j3cr
Packagist silverstripe/framework >= 4.1.0-rc1, < 4.1.1 4.1.1 GHSA-xpff-c35g-j3cr

References