Advisory

GHSA-w67v-ph4x-f48q

Also known as: BIT-mattermost-2024-29221, CVE-2024-29221, GO-2024-2706

Summary

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-04-05 09:30 UTC
Modified
2024-12-16 13:41 UTC

Affected packages and fixes

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 8.1.0, fixed 8.1.11 (semver)

Fixed versions

8.1.11

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.5.0, fixed 9.5.2 (semver)

Fixed versions

9.5.2

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.4.0, fixed 9.4.4 (semver)

Fixed versions

9.4.4

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.3.0, fixed 9.3.3 (semver)

Fixed versions

9.3.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences