Remote username set to an arbitrary string by remote user
Mattermost
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
Mattermost
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
9.9.1| github.com/mattermost/mattermost-server Go |
|
|
| github.com/mattermost/mattermost-server/v5 Go |
| No fix yet |
| github.com/mattermost/mattermost-server/v6 Go |
| No fix yet |
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.
From the CVE record · Mattermost
Mattermost does not prevent remote users from setting their own remote username when shared channels are enabled. A user on a remote server can set it to an arbitrary string that syncs to the local server, provided that user has not been synced before.
Operators of Mattermost 9.5.x through 9.5.6, 9.7.x through 9.7.5, 9.8.x through 9.8.1, or 9.9.0, and users of the affected Go packages, should check their deployments.