CVE-2024-8071 System Role with edit access to permissions can elevate themselves to system admin
HighCVSS 7.2
EPSS 0.64%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 1 fixed, 2 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 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 +1 more | 9.5.8+incompatible, 9.8.3+incompatible, 9.9.2+incompatible, 9.10.1+incompatible | Partially fixed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 9.5.0, < 9.5.8; >= 9.8.0, < 9.8.3; >= 9.9.0, < 9.9.2; >= 9.10.0, < 9.10.1 +1 more | 9.5.8, 9.8.3, 9.9.2, 9.10.1 | Partially fixed |
| Mattermost | = 9.10.0; >= 9.5.0, < 9.5.8; >= 9.5.0, <= 9.5.7; >= 9.8.0, < 9.8.3 +4 more | 9.5.8, 9.8.3, 9.9.2, 9.10.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 9.9.0, < 9.9.2 | 9.9.2 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 9.5.0, < 9.5.8 | 9.5.8 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 9.10.0, < 9.10.1 | 9.10.1 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 9.8.0, < 9.8.3 | 9.8.3 |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.5.0+incompatible, < 9.5.8+incompatible | 9.5.8+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.8.0+incompatible, < 9.8.3+incompatible | 9.8.3+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.9.0+incompatible, < 9.9.2+incompatible | 9.9.2+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.10.0+incompatible, < 9.10.1+incompatible | 9.10.1+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | All versions | No fix listed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | All versions | No fix listed |
| Mattermost | >= 9.9.0, <= 9.9.1 | No fix listed |
| Mattermost | >= 9.5.0, <= 9.5.7 | No fix listed |
| Mattermost | = 9.10.0 | No fix listed |
| Mattermost | >= 9.8.0, <= 9.8.2 | No fix listed |
| Mattermost | >= 9.5.0, < 9.5.8 | 9.5.8 |
| Mattermost | >= 9.8.0, < 9.8.3 | 9.8.3 |
| Mattermost | >= 9.9.0, < 9.9.2 | 9.9.2 |
| Mattermost | >= 9.10.0, < 9.10.1 | 9.10.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- mattermost.com vendor-advisory
- github.com vendor-advisory