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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | 9.5.7+incompatible, 9.7.6+incompatible, 9.8.1+incompatible, 9.9.1+incompatible | GO-2024-3092 |
| Go | github.com/mattermost/mattermost-server/v5 | no fix listed | GO-2024-3092 |
| Go | github.com/mattermost/mattermost-server/v6 | no fix listed | GO-2024-3092 |
| Go | github.com/mattermost/mattermost/server/v8 | 9.8.1 | GHSA-q22q-2rrf-m27p |
| Go | github.com/mattermost/mattermost/server/v8 | 9.9.1 | GHSA-q22q-2rrf-m27p |
| Go | github.com/mattermost/mattermost/server/v8 | no fix listed | GO-2024-3092 |
| Go | github.com/mattermost/mattermost/server/v8 | 9.5.7 | GHSA-q22q-2rrf-m27p |
| Go | github.com/mattermost/mattermost/server/v8 | 9.7.6 | GHSA-q22q-2rrf-m27p |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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