NetSight
medium4.7

CVE-2024-8071

Mattermost doesn't restrict which roles can promote a user as system admin

Impact

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

EcosystemPackageAffectedFixed in
gogithub.com/mattermost/mattermost/server/v8>= 9.9.0, < 9.9.29.9.2

Affected products

VendorProductAffected versions
MattermostMattermost
from 9.5.0 before 9.5.8
from 9.8.0 before 9.8.3
from 9.9.0 before 9.9.2
from 9.10.0 before 9.10.1

Weakness classification

References