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.
Advisories
Source ID Title
EUVD EUVD EUVD-2024-2499 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.
Github GHSA Github GHSA GHSA-5263-pm2h-m7hw Mattermost doesn't restrict which roles can promote a user as system admin
Fixes

Solution

Update Mattermost to versions 9.11.0, 9.9.2, 9.5.8, 9.10.1, 9.8.3 or higher.


Workaround

No workaround given by the vendor.

References
History

Fri, 23 Aug 2024 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Mattermost
Mattermost mattermost
Weaknesses NVD-CWE-Other
CPEs cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*
Vendors & Products Mattermost
Mattermost mattermost

Thu, 22 Aug 2024 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 22 Aug 2024 06:45:00 +0000

Type Values Removed Values Added
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.
Title System Role with edit access to permissions can elevate themselves to system admin
Weaknesses CWE-284
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Mattermost

Published:

Updated: 2024-08-22T13:33:55.204Z

Reserved: 2024-08-22T06:35:49.726Z

Link: CVE-2024-8071

cve-icon Vulnrichment

Updated: 2024-08-22T13:33:50.573Z

cve-icon NVD

Status : Analyzed

Published: 2024-08-22T07:15:04.830

Modified: 2024-08-23T15:34:53.913

Link: CVE-2024-8071

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.