Vulnerability · Published Aug 1, 2024 · Assigned by Mattermost

CVE-2024-39839Remote username set to an arbitrary string by remote user

Medium 4.3

In plain English

A medium-severity improper access control in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.3%top 72.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/mattermost/mattermost-server9.5.7+incompatible, 9.7.6+incompatible, 9.8.2+incompatible, 9.9.1+incompatibleGO-2024-3024
Gogithub.com/mattermost/mattermost-server/v5no fix listedGO-2024-3024
Gogithub.com/mattermost/mattermost-server/v6no fix listedGO-2024-3024
Gogithub.com/mattermost/mattermost/server/v89.9.1GHSA-vg6q-84p8-qvqh
Gogithub.com/mattermost/mattermost/server/v89.5.7GHSA-vg6q-84p8-qvqh
Gogithub.com/mattermost/mattermost/server/v8no fix listedGO-2024-3024
Gogithub.com/mattermost/mattermost/server/v89.7.6GHSA-vg6q-84p8-qvqh
Gogithub.com/mattermost/mattermost/server/v89.8.2GHSA-vg6q-84p8-qvqh

Affected products (as reported)

VendorProductVersions
Mattermost Mattermost 9.9.09.5.0 – through 9.5.69.7.0 – through 9.7.59.8.0 – through 9.8.1

Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

References