8.7high
Malicious remote can add users to arbitrary teams and channels
- Severity
- 8.7high CVSS:3.1 by Mattermost
- Exploit likelihood
- 0.34% (higher than 29% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Mattermost
- Also known as
- GHSA-cmc8-222c-vqp9GO-2024-3028
Description
Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to properly validate that the channel that comes from the sync message is a shared channel, when shared channels are enabled, which allows a malicious remote to add users to arbitrary teams and channels
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Mattermost Mattermost | 9.9.0, from 9.5.0 up to 9.5.6, from 9.7.0 up to 9.7.5, from 9.8.0 up to 9.8.1, 9.10.0, 9.9.1, 9.5.7, 9.7.6 and 4 more Not affected: 9.10.0, 9.9.1, 9.5.7, 9.7.6, 9.8.2 | CVE List, NVD |
| github.com/mattermost/mattermost/server/v8 (Go) | from 9.5.0 before 9.5.7, from 9.7.0 before 9.7.6, from 9.8.0 before 9.8.2, from 9.9.0 before 9.9.1, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/mattermost/mattermost-server (Go) | from 9.5.0+incompatible before 9.5.7+incompatible, from 9.7.0+incompatible before 9.7.6+incompatible, from 9.8.0+incompatible before 9.8.2+incompatible, from 9.9.0+incompatible before 9.9.1+incompatible | Go Vulnerability Database |
| github.com/mattermost/mattermost-server/v5 (Go) | all versions | Go Vulnerability Database |
| github.com/mattermost/mattermost-server/v6 (Go) | all versions | Go Vulnerability Database |
All scores
| Mattermost | 8.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
| GitHub | 8.7critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to properly validate that the channel that comes from the sync message is a shared channel, when shared channels are enabled, which allows a malicious remote to add users to arbitrary teams and channels
Go Vulnerability Database
Mattermost failed to properly validate that the channel that comes from the sync message is a shared channel in github.com/mattermost/mattermost-server
NVD (es)
Las versiones de Mattermost 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 y 9.8.x <= 9.8.1 no validan correctamente que el canal que proviene del mensaje de sincronización es un canal compartido, cuando los canales compartidos están habilitados, lo que permite que un control remoto malicioso agregue usuarios a equipos y canales arbitrarios
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-39274 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cmc8-222c-vqp9 changed 2024-11-18 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-3028 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-39274 changed 2026-06-17 | Public domain |