GHSA-9fpw-c9x7-cv3j
Mattermost allows remote actor to set arbitrary RemoteId values for synced users
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | >= 9.5.0, < 9.5.7 | 9.5.7 |
| Go | github.com/mattermost/mattermost/server/v8 | >= 9.9.0, < 9.9.1 | 9.9.1 |
| Go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20240604093018-5114c3b7cdb8 | 8.0.0-20240604093018-5114c3b7cdb8 |
| Go | github.com/mattermost/mattermost | < 5.3.2-0.20240604093018-5114c3b7cdb8 | 5.3.2-0.20240604093018-5114c3b7cdb8 |
Details
As written in the advisory (Markdown source, shown as plain text).
Mattermost versions 9.9.x <= 9.9.0 and 9.5.x <= 9.5.6 fail to validate the source of sync messages and only allow the correct remote IDs, which allows a malicious remote to set arbitrary RemoteId values for synced users and therefore claim that a user was synced from another remote.
References
External links from the advisory. They lead to third-party sites.