CVE-2024-39839
JSON

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 packageVersionsReported by
Mattermost Mattermost9.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 versionsGitHub 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+incompatibleGo Vulnerability Database
github.com/mattermost/mattermost-server/v5 (Go)all versionsGo Vulnerability Database
github.com/mattermost/mattermost-server/v6 (Go)all versionsGo Vulnerability Database
mattermost mattermost_serverfrom 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.0NVD
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.0Bitnami Vulnerability Database

All scores

Mattermost4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-284

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 &lt;= 9.9.0, 9.5.x &lt;= 9.5.6, 9.7.x &lt;= 9.7.5, 9.8.x &lt;= 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

SourceRecordLicence
CVE ListCVE-2024-39839 changed 2024-08-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-vg6q-84p8-qvqh changed 2024-09-05CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3024 changed 2026-03-03CC-BY-4.0
NVDCVE-2024-39839 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MATTERMOST-2024-39839 changed 2025-04-03Apache-2.0