Advisory

GHSA-xpff-c35g-j3cr

Also known as: None

Summary

silverstripe/framework Privilege Escalation Risk in Member Edit form

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-05-27 22:28 UTC
Modified
2024-12-02 05:43 UTC

Affected packages and fixes

silverstripe/framework

Packagist · All systems

Affected

  • introduced 3.5.7-rc1, fixed 3.5.8 (ecosystem)

Fixed versions

3.5.8

Fix

The export has no generic command for this ecosystem.

silverstripe/framework

Packagist · All systems

Affected

  • introduced 3.6.0-rc1, fixed 3.6.6 (ecosystem)

Fixed versions

3.6.6

Fix

The export has no generic command for this ecosystem.

silverstripe/framework

Packagist · All systems

Affected

  • introduced 4.0.0-rc1, fixed 4.0.4 (ecosystem)

Fixed versions

4.0.4

Fix

The export has no generic command for this ecosystem.

silverstripe/framework

Packagist · All systems

Affected

  • introduced 4.1.0-rc1, fixed 4.1.1 (ecosystem)

Fixed versions

4.1.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences