4.3medium
Remote username set to an arbitrary string by remote user
- Severity
- 4.3medium CVSS:3.1 by Mattermost
- Exploit likelihood
- 0.34% (higher than 29% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Mattermost
- Also known as
- GHSA-vg6q-84p8-qvqhBIT-MATTERMOST-2024-39839GO-2024-3024
Description
Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5, 9.8.x <= 9.8.1 fail to disallow users to set their own remote username, when shared channels were enabled, which allows a user on a remote to set their remote username prop to an arbitrary string, which would be then synced to the local server as long as the user hadn't been synced before.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Mattermost Mattermost | 9.9.0, from 9.5.0 up to 9.5.6, from 9.7.0 up to 9.7.5, from 9.8.0 up to 9.8.1 Not affected: 9.10.0, 9.9.1, 9.5.7, 9.7.6, 9.8.2 | CVE List |
| github.com/mattermost/mattermost/server/v8 (Go) | from 9.5.0 before 9.5.7, from 9.7.0 before 9.7.6, from 9.8.0 before 9.8.2, from 9.9.0 before 9.9.1, all versions | GitHub Advisory Database, Go Vulnerability Database |
| github.com/mattermost/mattermost-server (Go) | from 9.5.0+incompatible before 9.5.7+incompatible, from 9.7.0+incompatible before 9.7.6+incompatible, from 9.8.0+incompatible before 9.8.2+incompatible, from 9.9.0+incompatible before 9.9.1+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 9.5.0 before 9.5.7, from 9.7.0 before 9.7.6, from 9.8.0 before 9.8.2, 9.9.0 | NVD |
| mattermost (Bitnami) | from 9.5.0 before 9.5.7, from 9.7.0 before 9.7.6, from 9.8.0 before 9.8.2, from 9.9.0 up to 9.9.0 | Bitnami Vulnerability Database |
All scores
| Mattermost | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5, 9.8.x <= 9.8.1 fail to disallow users to set their own remote username, when shared channels were enabled, which allows a user on a remote to set their remote username prop to an arbitrary string, which would be then synced to the local server as long as the user hadn't been synced before.
Go Vulnerability Database
Mattermost allows a user on a remote to set their remote username prop to an arbitrary string in github.com/mattermost/mattermost-server
NVD (es)
Las versiones de Mattermost 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5, 9.8.x <= 9.8.1 no permiten que los usuarios establezcan su propio nombre de usuario remoto cuando se comparte. Se habilitaron canales, lo que permite a un usuario en un control remoto configurar su nombre de usuario remoto en una cadena arbitraria, que luego se sincronizaría con el servidor local siempre que el usuario no se hubiera sincronizado antes.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-39839 changed 2024-08-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vg6q-84p8-qvqh changed 2024-09-05 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-3024 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-39839 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MATTERMOST-2024-39839 changed 2025-04-03 | Apache-2.0 |