Vulnerability · Published Aug 1, 2024 · Assigned by Mattermost

CVE-2024-39777Malicious remote can invite itself to an arbitrary local channel

High 8.7

In plain English

A high-severity improper access control in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.7High
Exploit odds (30 days)0.4%top 69.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/mattermost/mattermost-server9.5.7+incompatible, 9.7.6+incompatible, 9.8.1+incompatible, 9.9.1+incompatibleGO-2024-3092
Gogithub.com/mattermost/mattermost-server/v5no fix listedGO-2024-3092
Gogithub.com/mattermost/mattermost-server/v6no fix listedGO-2024-3092
Gogithub.com/mattermost/mattermost/server/v89.8.1GHSA-q22q-2rrf-m27p
Gogithub.com/mattermost/mattermost/server/v89.9.1GHSA-q22q-2rrf-m27p
Gogithub.com/mattermost/mattermost/server/v8no fix listedGO-2024-3092
Gogithub.com/mattermost/mattermost/server/v89.5.7GHSA-q22q-2rrf-m27p
Gogithub.com/mattermost/mattermost/server/v89.7.6GHSA-q22q-2rrf-m27p

Affected products (as reported)

VendorProductVersions
Mattermost Mattermost 9.9.09.5.0 – through 9.5.69.7.0 – through 9.7.59.8.0 – through 9.8.1

Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

References