7.2
CWE
284
EPSS
0.050%
Advisory Published
Advisory Published
Updated

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

First published: Thu Aug 22 2024(Updated: )

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.

Credit: responsibledisclosure@mattermost.com responsibledisclosure@mattermost.com

Affected SoftwareAffected VersionHow to fix
go/github.com/mattermost/mattermost/server/v8>=9.8.0<9.8.3
9.8.3
go/github.com/mattermost/mattermost/server/v8>=9.10.0<9.10.1
9.10.1
go/github.com/mattermost/mattermost/server/v8>=9.5.0<9.5.8
9.5.8
go/github.com/mattermost/mattermost/server/v8>=9.9.0<9.9.2
9.9.2
Mattermost>=9.5.0<9.5.8
Mattermost>=9.8.0<9.8.3
Mattermost>=9.9.0<9.9.2
Mattermost>=9.10.0<9.10.1

Remedy

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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-8071?

    CVE-2024-8071 is considered a critical vulnerability due to its potential for unauthorized privilege escalation.

  • How do I fix CVE-2024-8071?

    To remediate CVE-2024-8071, upgrade Mattermost to version 9.5.8, 9.8.3, 9.9.2, or 9.10.1 or a later version.

  • What versions of Mattermost are affected by CVE-2024-8071?

    Mattermost versions 9.5.0 to 9.5.7, 9.8.0 to 9.8.2, 9.9.0 to 9.9.1, and 9.10.0 are affected by CVE-2024-8071.

  • What can an attacker do with CVE-2024-8071?

    An attacker with edit access can promote their user role to system admin, potentially allowing them to control the entire system.

  • Is user role management a concern in CVE-2024-8071?

    Yes, CVE-2024-8071 highlights significant flaws in user role management, leading to unauthorized access privileges.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203