CVE-2024-39274 Malicious remote can add users to arbitrary teams and channels
MediumCVSS 6.5
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to properly validate that the channel that comes from the sync message is a shared channel, when shared channels are enabled, which allows a malicious remote to add users to arbitrary teams and channels
Upgrade path
3 packages: 1 fixed, 2 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.5.0+incompatible, < 9.5.7+incompatible; >= 9.7.0+incompatible, < 9.7.6+incompatible; >= 9.8.0+incompatible, < 9.8.2+incompatible; >= 9.9.0+incompatible, < 9.9.1+incompatible +1 more | 9.5.7+incompatible, 9.7.6+incompatible, 9.8.2+incompatible, 9.9.1+incompatible | Partially fixed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | = 9.9.0; >= 9.5.0, < 9.5.7; >= 9.7.0, < 9.7.6; >= 9.8.0, < 9.8.2 +2 more | 9.5.7, 9.7.6, 9.8.2, 9.9.1 | Partially fixed |
| Mattermost | = 9.5.7; = 9.7.6; = 9.8.2; = 9.9.0 +8 more | 9.5.7, 9.7.6, 9.8.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 9.5.0, < 9.5.7 | 9.5.7 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 9.7.0, < 9.7.6 | 9.7.6 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 9.8.0, < 9.8.2 | 9.8.2 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 9.9.0, < 9.9.1 | 9.9.1 |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | = 9.9.0 | No fix listed |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.5.0+incompatible, < 9.5.7+incompatible | 9.5.7+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.7.0+incompatible, < 9.7.6+incompatible | 9.7.6+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.8.0+incompatible, < 9.8.2+incompatible | 9.8.2+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | >= 9.9.0+incompatible, < 9.9.1+incompatible | 9.9.1+incompatible |
| Mattermost github.com/mattermost/mattermost-server/v6(Go) | All versions | No fix listed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | All versions | No fix listed |
| Mattermost | = 9.9.0 | No fix listed |
| Mattermost | >= 9.5.0, <= 9.5.6 | No fix listed |
| Mattermost | >= 9.7.0, <= 9.7.5 | No fix listed |
| Mattermost | >= 9.8.0, <= 9.8.1 | No fix listed |
| Mattermost | = 9.10.0 | No fix listed |
| Mattermost | = 9.9.1 | No fix listed |
| Mattermost | = 9.5.7 | No fix listed |
| Mattermost | = 9.7.6 | No fix listed |
| Mattermost | = 9.8.2 | No fix listed |
| Mattermost | >= 9.5.0, < 9.5.7 | 9.5.7 |
| Mattermost | >= 9.7.0, < 9.7.6 | 9.7.6 |
| Mattermost | >= 9.8.0, < 9.8.2 | 9.8.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- mattermost.com vendor-advisory
- pkg.go.dev
- github.com vendor-advisory