Advisory

GHSA-5263-pm2h-m7hw

Also known as: CVE-2024-8071, GO-2024-3094

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-08-22 09:30 UTC
Modified
2024-08-30 17:42 UTC

Affected packages and fixes

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.9.0, fixed 9.9.2 (semver)

Fixed versions

9.9.2

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.5.0, fixed 9.5.8 (semver)

Fixed versions

9.5.8

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.10.0, fixed 9.10.1 (semver)

Fixed versions

9.10.1

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.8.0, fixed 9.8.3 (semver)

Fixed versions

9.8.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences