Mattermost doesn't restrict which roles can promote a user as system admin
Moderate severity
GitHub Reviewed
Published
Aug 22, 2024
to the GitHub Advisory Database
•
Updated Aug 23, 2024
Package
Affected versions
>= 9.9.0, < 9.9.2
>= 9.5.0, < 9.5.8
>= 9.10.0, < 9.10.1
>= 9.8.0, < 9.8.3
Patched versions
9.9.2
9.5.8
9.10.1
9.8.3
Description
Published by the National Vulnerability Database
Aug 22, 2024
Published to the GitHub Advisory Database
Aug 22, 2024
Last updated
Aug 23, 2024
Reviewed
Aug 23, 2024
Mattermost versions 9.9.x <= 9.9.1, 9.5.x <= 9.5.7, 9.10.x <= 9.10.0 and 9.8.x <= 9.8.2 fail to restrict which roles can promote a user as system admin which allows a System Role with edit access to the permissions section of system console to update their role (e.g. member) to include the
manage_system
permission, effectively becoming a System Admin.References