Skip to content

CVE-2024-4198 Mattermost fails to fully validate role changes

LowCVSS 2.7 EPSS 0.63%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

Mattermost versions 9.6.0, 9.5.x before 9.5.3, and 8.1.x before 8.1.12 fail to fully validate role changes which allows an attacker authenticated as team admin to demote users to guest via crafted HTTP requests.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
Mattermost = 9.6.0; >= 8.1.0, <= 8.1.11; >= 9.5.0, <= 9.5.2 after 8.1.11, 9.5.2 Fixed
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 8.1.0+incompatible, < 8.1.12+incompatible; >= 8.1.0, < 8.1.12; >= 8.1.0, <= 8.1.11; >= 9.5.0+incompatible, < 9.5.3+incompatible +5 more 8.1.12, 8.1.12+incompatible, 9.5.3, 9.5.3+incompatible, 9.6.1, 9.6.1+incompatible Fixed
mattermost server = 9.6.0; = 9.6.0-rc1; = 9.6.0-rc2; = 9.6.0-rc3 +2 more 8.1.12, 9.5.3 Fixed

Affected products

ProductAffected versionsFixed in
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.6.0-rc1, < 9.6.1 9.6.1
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.5.0, < 9.5.3 9.5.3
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 8.1.0, < 8.1.12 8.1.12
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 8.1.0+incompatible, < 8.1.12+incompatible 8.1.12+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.5.0+incompatible, < 9.5.3+incompatible 9.5.3+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.6.0-rc1+incompatible, < 9.6.1+incompatible 9.6.1+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.6.0-rc1, <= 9.6.0 No fix listed
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.5.0, <= 9.5.2 No fix listed
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 8.1.0, <= 8.1.11 No fix listed
Mattermost = 9.6.0 No fix listed
Mattermost >= 9.5.0, <= 9.5.2 No fix listed
Mattermost >= 8.1.0, <= 8.1.11 No fix listed
mattermost server >= 8.1.0, < 8.1.12 8.1.12
mattermost server >= 9.5.0, < 9.5.3 9.5.3
mattermost server = 9.6.0 No fix listed
mattermost server = 9.6.0-rc1 No fix listed
mattermost server = 9.6.0-rc2 No fix listed
mattermost server = 9.6.0-rc3 No fix listed

References