CVE-2024-39839

Medium

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.

SeverityMedium
CVSS4.3
Exploit probability—
ProductMattermost Server
PublishedAug 1, 2024
First seenAug 1, 2024

How to fix

Update
  • mattermost mattermost_server9.5.7, 9.7.6, 9.8.2 or later
  • github.com/mattermost/mattermost/server/v89.5.7, 9.7.6, 9.8.2, 9.9.1 or later
  • github.com/mattermost/mattermost-server9.5.7+incompatible, 9.7.6+incompatible, 9.8.2+incompatible, 9.9.1+incompatible or later

Affected products

ProductAffected versionsFixed in
mattermost mattermost_server9.5.0 ≤ v < 9.5.7, 9.7.0 ≤ v < 9.7.6, 9.8.0 ≤ v < 9.8.2, 9.9.09.5.7, 9.7.6, 9.8.2
github.com/mattermost/mattermost/server/v8Go9.5.0 ≤ v < 9.5.7, 9.7.0 ≤ v < 9.7.6, 9.8.0 ≤ v < 9.8.2, 9.9.0 ≤ v < 9.9.1, No range specified9.5.7, 9.7.6, 9.8.2, 9.9.1
github.com/mattermost/mattermost-serverGo9.5.0+incompatible ≤ v < 9.5.7+incompatible, 9.7.0+incompatible ≤ v < 9.7.6+incompatible, 9.8.0+incompatible ≤ v < 9.8.2+incompatible, 9.9.0+incompatible ≤ v < 9.9.1+incompatible9.5.7+incompatible, 9.7.6+incompatible, 9.8.2+incompatible, 9.9.1+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.