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—
ProductMattermost
PublishedAug 22, 2024
First seenAug 22, 2024

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

ProductAffected versionsFixed in
mattermost mattermost9.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.19.5.8, 9.8.3, 9.9.2, 9.10.1
github.com/mattermost/mattermost/server/v8Go9.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 specified9.9.2, 9.5.8, 9.10.1, 9.8.3
github.com/mattermost/mattermost-serverGo9.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+incompatible9.5.8+incompatible, 9.8.3+incompatible, 9.9.2+incompatible, 9.10.1+incompatible
github.com/mattermost/mattermost-server/v5GoNo range specified—
github.com/mattermost/mattermost-server/v6GoNo 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.

CVE-2024-40886 · Mattermost · Dark Radar