CVE-2024-29221 · MEDIUM (CVSS 4.7)
Summary: Invite ID available to team admins even without the "Add Members" permission
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.
Severity
MEDIUM (CVSS 4.7) — vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
Affected packages
- Go github.com/mattermost/mattermost/server/v8 [8.1.0 – 8.1.11]
- Go github.com/mattermost/mattermost/server/v8 [9.5.0 – 9.5.2]
- Go github.com/mattermost/mattermost/server/v8 [9.4.0 – 9.4.4]
- Go github.com/mattermost/mattermost/server/v8 [9.3.0 – 9.3.3]
- GIT github.com/mattermost/mattermost [096c9ea12a2144f832e330e9a0f4d3862ca20b9f – 45093ef4be396d39748078f9205a88ba5756e0b9] [7bf5dcb8fb7f05db9a7a6a9be608ac0fe1405351 – 51fdf7ee51c379a80fe852f24f69e463386581d3] [baa88a2450d49dfea42990861283b5ed9d469edf – e5c9444615dc54f49c7c716dce2bbaf81d8cb188] [99d819d25d0b16b3faed901b1fe5c41de7655e9c – 9a5b3d30495cb878328cf459850e334b592b3ab8]