Invite ID available to team admins even without the "Add Members" permission
Mattermost
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
Mattermost
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
9.3.3| github.com/mattermost/mattermost-server Go |
|
|
| github.com/mattermost/mattermost-server/v5 Go |
| No fix yet |
| github.com/mattermost/mattermost-server/v6 Go |
| No fix yet |
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.
From the CVE record · Mattermost
The `/api/v4/users/me/teams` endpoint lacks proper access control in affected Mattermost Server versions. An authenticated team admin can obtain their team's invite ID and invite users even when the “Add Members” permission has been removed from team admins.
Teams running Mattermost Server 8.1.x before 8.1.11, 9.3.x before 9.3.3, 9.4.x before 9.4.4, or 9.5.x before 9.5.2, or using the listed affected Go packages, should check their deployments.