Skip to content
OpenAdvisories
Medium · 4.7 CVE-2024-8071 EUVD-2024-2499GHSA-5263-pm2h-m7hwGO-2024-3094

System Role with edit access to permissions can elevate themselves to system admin

Published Aug 22, 2024 · Updated Aug 22, 2024 · Assigned by Mattermost

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 products

VendorProductAffectedFixed
Mattermost Mattermost 9.9.0 – ≤ 9.9.1, 9.5.0 – ≤ 9.5.7, 9.10.0, 9.8.0 – ≤ 9.8.2 9.11.0

Affected packages

EcosystemPackageAffectedFixedRecord
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 9.5.8+incompatible, 9.8.3+incompatible, 9.9.2+incompatible, 9.10.1+incompatible GO-2024-3094
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2024-3094
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2024-3094
Go github.com/mattermost/mattermost/server/v8 >= 9.9.0, < 9.9.2 9.9.2 GHSA-5263-pm2h-m7hw
Go github.com/mattermost/mattermost/server/v8 >= 9.5.0, < 9.5.8 9.5.8 GHSA-5263-pm2h-m7hw
Go github.com/mattermost/mattermost/server/v8 >= 9.10.0, < 9.10.1 9.10.1 GHSA-5263-pm2h-m7hw
Go github.com/mattermost/mattermost/server/v8 >= 9.8.0, < 9.8.3 9.8.3 GHSA-5263-pm2h-m7hw
Go github.com/mattermost/mattermost/server/v8 all versions — GO-2024-3094

References