System Role with edit access to permissions can elevate themselves to system admin
Mattermost
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
Mattermost
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
9.8.3| github.com/mattermost/mattermost-server Go |
|
|
| github.com/mattermost/mattermost-server/v5 Go |
| No fix yet |
| github.com/mattermost/mattermost-server/v6 Go |
| No fix yet |
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.
From the CVE record · Mattermost
Affected Mattermost versions do not restrict which roles can promote a user to System Admin. A user with a System Role that can edit the system console’s permissions section can add the `manage_system` permission to their role and effectively become a System Admin.
Teams running Mattermost 9.5.x through 9.5.7, 9.8.x through 9.8.2, 9.9.x through 9.9.1, or 9.10.x through 9.10.0, or using the listed Go packages, including the v5 and v6 packages, should check their deployments.