4.7medium
Invite ID available to team admins even without the "Add Members" permission
- Severity
- 4.7medium CVSS:3.1 by Mattermost
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Mattermost
- Also known as
- GHSA-w67v-ph4x-f48qBIT-MATTERMOST-2024-29221GO-2024-2706
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Mattermost Mattermost | from 9.5.0 up to 9.5.1, from 9.4.0 up to 9.4.3, from 9.3.0 up to 9.3.2, from 8.1.0 up to 8.1.10 Not affected: 9.6.0, 9.5.2, 9.4.4, 9.3.3, 8.1.11 | CVE List |
| github.com/mattermost/mattermost/server/v8 (Go) | from 8.1.0 before 8.1.11, from 9.5.0 before 9.5.2, from 9.4.0 before 9.4.4, from 9.3.0 before 9.3.3, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/mattermost/mattermost-server (Go) | from 9.3.0+incompatible before 9.3.3+incompatible, from 9.4.0+incompatible before 9.4.4+incompatible, from 9.5.0+incompatible before 9.5.2+incompatible | Go Vulnerability Database |
| github.com/mattermost/mattermost-server/v5 (Go) | all versions | Go Vulnerability Database |
| github.com/mattermost/mattermost-server/v6 (Go) | all versions | Go Vulnerability Database |
| mattermost mattermost_server | from 8.1.0 before 8.1.11, from 9.3.0 before 9.3.3, from 9.4.0 before 9.4.4, from 9.5.0 before 9.5.2 | NVD |
| mattermost (Bitnami) | from 8.1.0 before 8.1.11, from 9.3.0 before 9.3.3, from 9.4.0 before 9.4.4, from 9.5.0 before 9.5.2 | Bitnami Vulnerability Database |
All scores
| Mattermost | 4.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 4.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| NVD | 3.8low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
| Bitnami Vulnerability Database | low rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
Go Vulnerability Database
Mattermost Server Improper Access Control in github.com/mattermost/mattermost-server.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/mattermost/mattermost/server/v8 from v8.1.0 before v8.1.11.
NVD (es)
Control de acceso inadecuado en las versiones de Mattermost Server 9.5.x anteriores a 9.5.2, 9.4.x anteriores a 9.4.4, 9.3.x anteriores a 9.3.3, 8.1.x anteriores a 8.1.11 carecían de control de acceso adecuado en el endpoint `/api/v4/users/me/teams` que permite a un administrador de equipo obtener el ID de invitación de su equipo, lo que les permite invitar a usuarios, incluso si el permiso "Agregar miembros" se eliminó explícitamente de los administradores de equipo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-29221 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-w67v-ph4x-f48q changed 2024-12-16 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-2706 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-29221 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MATTERMOST-2024-29221 changed 2025-04-03 | Apache-2.0 |