Skip to content

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

MediumCVSS 4.3 EPSS 0.59%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

4 packages: 2 fixed, 2 partially fixed.

PackageAffectedFixed inStatus
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.5.0+incompatible, < 9.5.7+incompatible; >= 9.7.0+incompatible, < 9.7.6+incompatible; >= 9.8.0+incompatible, < 9.8.2+incompatible; >= 9.9.0+incompatible, < 9.9.1+incompatible +1 more 9.5.7+incompatible, 9.7.6+incompatible, 9.8.2+incompatible, 9.9.1+incompatible Partially fixed
Mattermost github.com/mattermost/mattermost/server/v8(Go) = 9.9.0; >= 9.5.0, < 9.5.7; >= 9.7.0, < 9.7.6; >= 9.8.0, < 9.8.2 +2 more 9.5.7, 9.7.6, 9.8.2, 9.9.1 Partially fixed
Mattermost = 9.9.0; >= 9.5.0, <= 9.5.6; >= 9.7.0, <= 9.7.5; >= 9.8.0, <= 9.8.1 after 9.5.6, 9.7.5, 9.8.1 Fixed
mattermost server = 9.9.0; >= 9.5.0, < 9.5.7; >= 9.7.0, < 9.7.6; >= 9.8.0, < 9.8.2 9.5.7, 9.7.6, 9.8.2 Fixed

Affected products

ProductAffected versionsFixed in
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 9.5.0, < 9.5.7 9.5.7
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 9.7.0, < 9.7.6 9.7.6
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 9.8.0, < 9.8.2 9.8.2
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 9.9.0, < 9.9.1 9.9.1
Mattermost github.com/mattermost/mattermost/server/v8(Go) = 9.9.0 No fix listed
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.5.0+incompatible, < 9.5.7+incompatible 9.5.7+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.7.0+incompatible, < 9.7.6+incompatible 9.7.6+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.8.0+incompatible, < 9.8.2+incompatible 9.8.2+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.9.0+incompatible, < 9.9.1+incompatible 9.9.1+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) All versions No fix listed
Mattermost github.com/mattermost/mattermost/server/v8(Go) All versions No fix listed
Mattermost = 9.9.0 No fix listed
Mattermost >= 9.5.0, <= 9.5.6 No fix listed
Mattermost >= 9.7.0, <= 9.7.5 No fix listed
Mattermost >= 9.8.0, <= 9.8.1 No fix listed
mattermost server >= 9.5.0, < 9.5.7 9.5.7
mattermost server >= 9.7.0, < 9.7.6 9.7.6
mattermost server >= 9.8.0, < 9.8.2 9.8.2
mattermost server = 9.9.0 No fix listed

References