Vulnerability · Published Aug 22, 2024 · Assigned by Mattermost
CVE-2024-40886One-click Client-Side Path Traversal Leading to CSRF in User Management admin page
Medium 4.6
In plain English
A medium-severity cross-site request forgery 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.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.6Medium
Exploit odds (30 days)0.2%top 89.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Mattermost versions 9.9.x <= 9.9.1, 9.5.x <= 9.5.7, 9.10.x <= 9.10.0, 9.8.x <= 9.8.2 fail to sanitize user inputs in the frontend that are used for redirection which allows for a one-click client-side path traversal that is leading to CSRF in User Management page of the system console.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | 9.10.1+incompatible, 9.5.8+incompatible, 9.8.3+incompatible, 9.9.2+incompatible | GO-2024-3097 |
| Go | github.com/mattermost/mattermost-server/v5 | no fix listed | GO-2024-3097 |
| Go | github.com/mattermost/mattermost-server/v6 | no fix listed | GO-2024-3097 |
| Go | github.com/mattermost/mattermost/server/v8 | 9.8.3 | GHSA-hrf9-rm95-fpf3 |
| Go | github.com/mattermost/mattermost/server/v8 | 9.9.2 | GHSA-hrf9-rm95-fpf3 |
| Go | github.com/mattermost/mattermost/server/v8 | no fix listed | GO-2024-3097 |
| Go | github.com/mattermost/mattermost/server/v8 | 9.5.8 | GHSA-hrf9-rm95-fpf3 |
| Go | github.com/mattermost/mattermost/server/v8 | 9.10.1 | GHSA-hrf9-rm95-fpf3 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Mattermost | Mattermost | 9.9.0 – through 9.9.19.5.0 – through 9.5.79.10.09.8.0 – through 9.8.2 |
Weakness: CWE-352 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L