Skip to content
OpenAdvisories
High · 8.7 CVE-2024-39274 EUVD-2024-2562GHSA-cmc8-222c-vqp9GO-2024-3028

Malicious remote can add users to arbitrary teams and channels

Published Aug 1, 2024 · Updated Aug 2, 2024 · Assigned by Mattermost

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 products

VendorProductAffectedFixed
Mattermost Mattermost 9.9.0, 9.5.0 – ≤ 9.5.6, 9.7.0 – ≤ 9.7.5, 9.8.0 – ≤ 9.8.1 9.10.0

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server >= 9.5.0+incompatible, < 9.5.7+incompatible · >= 9.7.0+incompatible, < 9.7.6+incompatible · >= 9.8.0+incompatible, < 9.8.2+incompatible · >= 9.9.0+incompatible, < 9.9.1+incompatible 9.5.7+incompatible, 9.7.6+incompatible, 9.8.2+incompatible, 9.9.1+incompatible GO-2024-3028
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2024-3028
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2024-3028
Go github.com/mattermost/mattermost/server/v8 >= 9.5.0, < 9.5.7 9.5.7 GHSA-cmc8-222c-vqp9
Go github.com/mattermost/mattermost/server/v8 >= 9.7.0, < 9.7.6 9.7.6 GHSA-cmc8-222c-vqp9
Go github.com/mattermost/mattermost/server/v8 >= 9.8.0, < 9.8.2 9.8.2 GHSA-cmc8-222c-vqp9
Go github.com/mattermost/mattermost/server/v8 >= 9.9.0, < 9.9.1 9.9.1 GHSA-cmc8-222c-vqp9
Go github.com/mattermost/mattermost/server/v8 all versions — GO-2024-3028

Advisories 1

References