CVE-2024-40886
Medium
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.
SeverityMedium
CVSS4.6
Exploit probability—
Product
Mattermost
PublishedAug 22, 2024
First seenAug 22, 2024
Weakness typeCWE-352Cross-site request forgery (CSRF)
How to fix
Update
- mattermost mattermost9.5.8, 9.8.3, 9.9.2, 9.10.1 or later
- github.com/mattermost/mattermost/server/v89.9.2, 9.5.8, 9.10.1, 9.8.3 or later
- github.com/mattermost/mattermost-server9.5.8+incompatible, 9.8.3+incompatible, 9.9.2+incompatible, 9.10.1+incompatible or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mattermost mattermost | 9.5.0 ≤ v < 9.5.8, 9.8.0 ≤ v < 9.8.3, 9.9.0 ≤ v < 9.9.2, 9.10.0 ≤ v < 9.10.1 | 9.5.8, 9.8.3, 9.9.2, 9.10.1 |
| github.com/mattermost/mattermost/server/v8Go | 9.9.0 ≤ v < 9.9.2, 9.5.0 ≤ v < 9.5.8, 9.10.0 ≤ v < 9.10.1, 9.8.0 ≤ v < 9.8.3, No range specified | 9.9.2, 9.5.8, 9.10.1, 9.8.3 |
| github.com/mattermost/mattermost-serverGo | 9.5.0+incompatible ≤ v < 9.5.8+incompatible, 9.8.0+incompatible ≤ v < 9.8.3+incompatible, 9.9.0+incompatible ≤ v < 9.9.2+incompatible, 9.10.0+incompatible ≤ v < 9.10.1+incompatible | 9.5.8+incompatible, 9.8.3+incompatible, 9.9.2+incompatible, 9.10.1+incompatible |
| github.com/mattermost/mattermost-server/v5Go | No range specified | — |
| github.com/mattermost/mattermost-server/v6Go | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.