Skip to content
OpenAdvisories
Medium · 4.7 CVE-2024-29221 BIT-mattermost-2024-29221EUVD-2024-1318GHSA-w67v-ph4x-f48qGO-2024-2706

Invite ID available to team admins even without the "Add Members" permission

Published Apr 5, 2024 · Updated Aug 2, 2024 · Assigned by Mattermost

Description

Improper Access Control in Mattermost Server versions 9.5.x before 9.5.2, 9.4.x before 9.4.4, 9.3.x before 9.3.3, 8.1.x before 8.1.11 lacked proper access control in the `/api/v4/users/me/teams` endpoint allowing a team admin to get the invite ID of their team, thus allowing them to invite users, even if the "Add Members" permission was explicitly removed from team admins.

Affected products

VendorProductAffectedFixed
Mattermost Mattermost 9.5.0 – ≤ 9.5.1, 9.4.0 – ≤ 9.4.3, 9.3.0 – ≤ 9.3.2, 8.1.0 – ≤ 8.1.10 9.6.0

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server >= 9.3.0+incompatible, < 9.3.3+incompatible · >= 9.4.0+incompatible, < 9.4.4+incompatible · >= 9.5.0+incompatible, < 9.5.2+incompatible 9.3.3+incompatible, 9.4.4+incompatible, 9.5.2+incompatible GO-2024-2706
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2024-2706
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2024-2706
Go github.com/mattermost/mattermost/server/v8 >= 8.1.0, < 8.1.11 8.1.11 GHSA-w67v-ph4x-f48q
Go github.com/mattermost/mattermost/server/v8 >= 9.5.0, < 9.5.2 9.5.2 GHSA-w67v-ph4x-f48q
Go github.com/mattermost/mattermost/server/v8 >= 9.4.0, < 9.4.4 9.4.4 GHSA-w67v-ph4x-f48q
Go github.com/mattermost/mattermost/server/v8 >= 9.3.0, < 9.3.3 9.3.3 GHSA-w67v-ph4x-f48q
Go github.com/mattermost/mattermost/server/v8 all versions — GO-2024-2706

Advisories 1

References