Vulnerability · Published Aug 22, 2024 · Assigned by Mattermost

CVE-2024-8071System Role with edit access to permissions can elevate themselves to system admin

Medium 4.7

In plain English

A medium-severity improper access control in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.7Medium
Exploit odds (30 days)0.3%top 71.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/mattermost/mattermost-server9.10.1+incompatible, 9.5.8+incompatible, 9.8.3+incompatible, 9.9.2+incompatibleGO-2024-3094
Gogithub.com/mattermost/mattermost-server/v5no fix listedGO-2024-3094
Gogithub.com/mattermost/mattermost-server/v6no fix listedGO-2024-3094
Gogithub.com/mattermost/mattermost/server/v89.8.3GHSA-5263-pm2h-m7hw
Gogithub.com/mattermost/mattermost/server/v89.9.2GHSA-5263-pm2h-m7hw
Gogithub.com/mattermost/mattermost/server/v8no fix listedGO-2024-3094
Gogithub.com/mattermost/mattermost/server/v89.5.8GHSA-5263-pm2h-m7hw
Gogithub.com/mattermost/mattermost/server/v89.10.1GHSA-5263-pm2h-m7hw

Affected products (as reported)

VendorProductVersions
Mattermost Mattermost 9.9.0 – through 9.9.19.5.0 – through 9.5.79.10.09.8.0 – through 9.8.2

Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L

References