CVE-2024-39274
JSON

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 packageVersionsReported by
Mattermost Mattermost9.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 versionsGitHub 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+incompatibleGo Vulnerability Database
github.com/mattermost/mattermost-server/v5 (Go)all versionsGo Vulnerability Database
github.com/mattermost/mattermost-server/v6 (Go)all versionsGo Vulnerability Database

All scores

Mattermost8.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
GitHub8.7critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-284

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 &lt;= 9.9.0, 9.5.x &lt;= 9.5.6, 9.7.x &lt;= 9.7.5 y 9.8.x &lt;= 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

SourceRecordLicence
CVE ListCVE-2024-39274 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-cmc8-222c-vqp9 changed 2024-11-18CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3028 changed 2026-03-03CC-BY-4.0
NVDCVE-2024-39274 changed 2026-06-17Public domain