{"id":"GHSA-xpff-c35g-j3cr","aliases":[],"status":"published","title":"silverstripe/framework Privilege Escalation Risk in Member Edit form","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.\n\nCMS Fields for the member are constructed using DirectGroups instead of Groups relation which results in bypassing security logic preventing privilege escalation.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-268"],"published":"2024-05-27T22:28:13Z","modified":"2024-12-02T05:43:12Z","fixes":[{"ecosystem":"Packagist","package":"silverstripe/framework","fixed_in":["3.5.8","3.6.6","4.0.4","4.1.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.5.7-rc1"},{"fixed":"3.5.8"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.6.0-rc1"},{"fixed":"3.6.6"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-rc1"},{"fixed":"4.0.4"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0-rc1"},{"fixed":"4.1.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.5.7-rc1"},{"fixed":"3.5.8"}]}],"versions":["3.5.7","3.5.8-rc1"]},{"source":"osv","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.6.0-rc1"},{"fixed":"3.6.6"}]}],"versions":["3.6.0","3.6.0-rc1","3.6.1","3.6.1-alpha2","3.6.2","3.6.2-beta1","3.6.2-beta2","3.6.3","3.6.3-rc2","3.6.4","3.6.5","3.6.6-rc1"]},{"source":"osv","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-rc1"},{"fixed":"4.0.4"}]}],"versions":["4.0.0","4.0.0-rc1","4.0.0-rc2","4.0.0-rc3","4.0.1","4.0.1-rc1","4.0.2","4.0.3"]},{"source":"osv","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0-rc1"},{"fixed":"4.1.1"}]}],"versions":["4.1.0","4.1.0-rc1","4.1.0-rc2"]}],"references":[{"url":"https://github.com/silverstripe/silverstripe-framework/commit/577138882163e4b8782ea043487944d30d88e753","tags":["web"]},{"url":"https://github.com/silverstripe/silverstripe-framework/commit/e409d6f673c49846086b23677aecdc3fde5fc4d5","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-001-1.yaml","tags":["web"]},{"url":"https://www.silverstripe.org/download/security-releases/ss-2018-001","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xpff-c35g-j3cr"},{"url":"https://github.com/silverstripe/silverstripe-framework","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-xpff-c35g-j3cr","title":"silverstripe/framework Privilege Escalation Risk in Member Edit form","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.\n\nCMS Fields for the member are constructed using DirectGroups instead of Groups relation which results in bypassing security logic preventing privilege escalation.","status":"published","published":"2024-05-27T22:28:13Z","modified":"2024-05-27T22:28:16Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-268"],"updated_at":"2026-11-02T14:37:52.2286Z"}],"osv":[{"id":"GHSA-xpff-c35g-j3cr","title":"silverstripe/framework Privilege Escalation Risk in Member Edit form","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.\n\nCMS Fields for the member are constructed using DirectGroups instead of Groups relation which results in bypassing security logic preventing privilege escalation.","status":"published","published":"2024-05-27T22:28:13Z","modified":"2024-12-02T05:43:12.514977Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-268"],"updated_at":"2026-11-02T15:47:00.198893Z"}]}}
