CVE-2024-8071
MEDIUM4.7EPSS 0.13%Mattermost doesn't restrict which roles can promote a user as system admin
Published: 8/22/2024Modified: 8/30/2024
Description
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.
Affected packages (5)
- Go/github.com/mattermost/mattermost-server>= 9.5.0+incompatible, < 9.5.8+incompatible, >= 9.8.0+incompatible, < 9.8.3+incompatible, >= 9.9.0+incompatible, < 9.9.2+incompatible, >= 9.10.0+incompatible, < 9.10.1+incompatible
- Go/github.com/mattermost/mattermost-server/v5from 0
- Go/github.com/mattermost/mattermost-server/v6from 0
- Go/github.com/mattermost/mattermost/server/v8>= 9.9.0, < 9.9.2
- Go/github.com/mattermost/mattermost/server/v8from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM4.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |