Webhook Secret Exposure via Timing attack in MSteams plugin
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 |
|
|
|
|
| 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 Plugin MSTeams versions <2.1.0 and Mattermost Server versions 10.5.x <=10.5.1 with the MS Teams plugin enabled fail to perform constant time comparison on a MSTeams plugin webhook secret which allows an attacker to retrieve the webhook secret of the MSTeams plugin via a timing attack during webhook secret comparison.
From the CVE record · Mattermost
Mattermost Plugin MSTeams before 2.1.0 and Mattermost Server 10.5.x through 10.5.1 with the plugin enabled do not compare the plugin webhook secret in constant time. An attacker can recover the secret through a timing attack during webhook secret comparison. The input does not specify authentication or user-interaction requirements.
Check deployments running Mattermost Server 10.5.x through 10.5.1 with the MS Teams plugin enabled, and users of the listed affected Go packages, including all versions of mattermost-server/v5 and /v6.