CVE-2024-29221

Medium

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.

SeverityMedium
CVSS4.7
Exploit probability—
ProductMattermost Server
PublishedApr 5, 2024
First seenApr 5, 2024

How to fix

Update
  • mattermost mattermost_server8.1.11, 9.3.3, 9.4.4, 9.5.2 or later
  • github.com/mattermost/mattermost/server/v88.1.11, 9.5.2, 9.4.4, 9.3.3 or later
  • github.com/mattermost/mattermost-server9.3.3+incompatible, 9.4.4+incompatible, 9.5.2+incompatible or later

Affected products

ProductAffected versionsFixed in
mattermost mattermost_server8.1.0 ≤ v < 8.1.11, 9.3.0 ≤ v < 9.3.3, 9.4.0 ≤ v < 9.4.4, 9.5.0 ≤ v < 9.5.28.1.11, 9.3.3, 9.4.4, 9.5.2
github.com/mattermost/mattermost/server/v8Go8.1.0 ≤ v < 8.1.11, 9.5.0 ≤ v < 9.5.2, 9.4.0 ≤ v < 9.4.4, 9.3.0 ≤ v < 9.3.3, No range specified8.1.11, 9.5.2, 9.4.4, 9.3.3
github.com/mattermost/mattermost-serverGo9.3.0+incompatible ≤ v < 9.3.3+incompatible, 9.4.0+incompatible ≤ v < 9.4.4+incompatible, 9.5.0+incompatible ≤ v < 9.5.2+incompatible9.3.3+incompatible, 9.4.4+incompatible, 9.5.2+incompatible
github.com/mattermost/mattermost-server/v5GoNo range specified—
github.com/mattermost/mattermost-server/v6GoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.