GitHub Advisory Database
GHSA-9fpw-c9x7-cv3j
Mattermost allows remote actor to set arbitrary RemoteId values for synced users
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | From 9.5.0 before 9.5.7 (fixed in 9.5.7) |
| Go | github.com/mattermost/mattermost/server/v8 | From 9.9.0 before 9.9.1 (fixed in 9.9.1) |
| Go | github.com/mattermost/mattermost/server/v8 | All versions before 8.0.0-20240604093018-5114c3b7cdb8 (fixed in 8.0.0-20240604093018-5114c3b7cdb8) |
| Go | github.com/mattermost/mattermost | All versions before 5.3.2-0.20240604093018-5114c3b7cdb8 (fixed in 5.3.2-0.20240604093018-5114c3b7cdb8) |