CVE-2024-39777
JSON

8.7high

Malicious remote can invite itself to an arbitrary local channel

Severity
8.7high CVSS:3.1 by Mattermost
Exploit likelihood
0.36% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mattermost
Also known as
GHSA-q22q-2rrf-m27pGO-2024-3092

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 disallow unsolicited invites to expose access to local channels, when shared channels are enabled, which allows a malicious remote to send an invite with the ID of an existing local channel, and that local channel will then become shared without the consent of the local admin.

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, from 9.5.0 before 9.5.7, from 9.7.0 before 9.7.6, from 9.8.0 before 9.8.2
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.9.0 before 9.9.1, from 9.5.0 before 9.5.7, from 9.7.0 before 9.7.6, from 9.8.0 before 9.8.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.1+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
NVD9.6critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/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 disallow unsolicited invites to expose access to local channels, when shared channels are enabled, which allows a malicious remote to send an invite with the ID of an existing local channel, and that local channel will then become shared without the consent of the local admin.

Go Vulnerability Database

Mattermost allows unsolicited invites to expose access to local channels 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 permiten invitaciones no solicitadas para exponer el acceso a canales locales, cuando los canales compartidos están habilitados, lo que permite que un control remoto malicioso envíe una invitación con el ID de un canal local existente, y ese canal local se compartirá sin el consentimiento del administrador local.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-39777 changed 2024-08-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-q22q-2rrf-m27p changed 2024-11-18CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3092 changed 2026-03-03CC-BY-4.0
NVDCVE-2024-39777 changed 2026-06-17Public domain