Vulnerability · Published Aug 1, 2024 · Assigned by Mattermost
CVE-2024-39839Remote username set to an arbitrary string by remote user
Medium 4.3
In plain English
A medium-severity improper access control in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5, 9.8.x <= 9.8.1 fail to disallow users to set their own remote username, when shared channels were enabled, which allows a user on a remote to set their remote username prop to an arbitrary string, which would be then synced to the local server as long as the user hadn't been synced before.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | 9.5.7+incompatible, 9.7.6+incompatible, 9.8.2+incompatible, 9.9.1+incompatible | GO-2024-3024 |
| Go | github.com/mattermost/mattermost-server/v5 | no fix listed | GO-2024-3024 |
| Go | github.com/mattermost/mattermost-server/v6 | no fix listed | GO-2024-3024 |
| Go | github.com/mattermost/mattermost/server/v8 | 9.9.1 | GHSA-vg6q-84p8-qvqh |
| Go | github.com/mattermost/mattermost/server/v8 | 9.5.7 | GHSA-vg6q-84p8-qvqh |
| Go | github.com/mattermost/mattermost/server/v8 | no fix listed | GO-2024-3024 |
| Go | github.com/mattermost/mattermost/server/v8 | 9.7.6 | GHSA-vg6q-84p8-qvqh |
| Go | github.com/mattermost/mattermost/server/v8 | 9.8.2 | GHSA-vg6q-84p8-qvqh |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Mattermost | Mattermost | 9.9.09.5.0 – through 9.5.69.7.0 – through 9.7.59.8.0 – through 9.8.1 |
Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N