CVE-2024-39777 Malicious remote can invite itself to an arbitrary local channel
CriticalCVSS 9.6
EPSS 0.36%
- 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 disallow unsolicited invites to expose access to local channels, when shared channels are enabled, which allows a malicious remote to send an invite with the ID of an existing local channel, and that local channel will then become shared without the consent of the local admin.
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.1+incompatible; >= 9.9.0+incompatible, < 9.9.1+incompatible +1 more | 9.5.7+incompatible, 9.7.6+incompatible, 9.8.1+incompatible, 9.9.1+incompatible | Partially fixed |
| Mattermost github.com/mattermost/mattermost/server/v8(Go) | >= 9.5.0, < 9.5.7; >= 9.7.0, < 9.7.6; >= 9.8.0, < 9.8.1; >= 9.9.0, < 9.9.1 +1 more | 9.5.7, 9.7.6, 9.8.1, 9.9.1 | Partially fixed |
| Mattermost | = 9.9.0; >= 9.5.0, < 9.5.7; >= 9.5.0, <= 9.5.6; >= 9.7.0, < 9.7.6 +3 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.9.0, < 9.9.1 | 9.9.1 |
| 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.1 | 9.8.1 |
| 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.1+incompatible | 9.8.1+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.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
- github.com vendor-advisory