ADVISORIES

GitHub Advisory Database

GHSA-w67v-ph4x-f48q

Mattermost Server Improper Access Control

Details

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 packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost/server/v8
From 8.1.0 before 8.1.11 (fixed in 8.1.11)
Gogithub.com/mattermost/mattermost/server/v8
From 9.5.0 before 9.5.2 (fixed in 9.5.2)
Gogithub.com/mattermost/mattermost/server/v8
From 9.4.0 before 9.4.4 (fixed in 9.4.4)
Gogithub.com/mattermost/mattermost/server/v8
From 9.3.0 before 9.3.3 (fixed in 9.3.3)

References