IDOR in CreatePost API allows for timeboxed message disclosure
Mattermost
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost-server Go |
|
Mattermost
| Product | Affected | Fixed in |
|---|---|---|
| github.com/mattermost/mattermost-server Go |
|
≥ 10.8.0+incompatible · < 10.8.2+incompatible
|
| github.com/mattermost/mattermost/server/v8 Go |
|
|
| github.com/mattermost/mattermost-server/v5 Go |
| No fix yet |
| github.com/mattermost/mattermost-server/v6 Go |
| No fix yet |
Mattermost versions 10.5.x <= 10.5.6, 10.8.x <= 10.8.1, 10.7.x <= 10.7.3, 9.11.x <= 9.11.16 fail to verify authorization when retrieving cached posts by PendingPostID which allows an authenticated user to read posts in private channels they don't have access to via guessing the PendingPostID of recently created posts.
From the CVE record · Mattermost
Mattermost fails to verify authorization when retrieving cached posts by PendingPostID. An authenticated user who guesses the PendingPostID of a recently created post can read it even if it is in a private channel they cannot access.
Teams running Mattermost 9.11.x through 9.11.16, 10.5.x through 10.5.6, 10.7.x through 10.7.3, or 10.8.x through 10.8.1, or using the listed affected Go packages, should check their deployments.