GitHub Advisoryadvisory · Go

GHSA-w67v-ph4x-f48q Mattermost Server Improper Access Control

MEDIUM Published 2024-04-05 Modified 2024-12-13 Official page ↗
Aliases
CVE-2024-29221
Ecosystem
Go
Packages
github.com/mattermost/mattermost/server/v8
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-284
Reviewed
2024-04-05

Affected packages

• Go github.com/mattermost/mattermost/server/v8: >= 8.1.0, < 8.1.11 → fixed in 8.1.11 • Go github.com/mattermost/mattermost/server/v8: >= 9.5.0, < 9.5.2 → fixed in 9.5.2 • Go github.com/mattermost/mattermost/server/v8: >= 9.4.0, < 9.4.4 → fixed in 9.4.4 • Go github.com/mattermost/mattermost/server/v8: >= 9.3.0, < 9.3.3 → fixed in 9.3.3

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.

Related

Alias · CVE (1)

  • CVE-2024-29221 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… vulnerability

Weakness · CWE (1)

  • CWE-284 Improper Access Control weakness

References