Skip to content
OpenAdvisories
Medium · 4.6 CVE-2024-40886 EUVD-2024-2599GHSA-hrf9-rm95-fpf3GO-2024-3097

One-click Client-Side Path Traversal Leading to CSRF in User Management admin page

Published Aug 22, 2024 · Updated Aug 22, 2024 · Assigned by Mattermost

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 products

VendorProductAffectedFixed
Mattermost Mattermost 9.9.0 – ≤ 9.9.1, 9.5.0 – ≤ 9.5.7, 9.10.0, 9.8.0 – ≤ 9.8.2 9.11.0

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server >= 9.5.0+incompatible, < 9.5.8+incompatible · >= 9.8.0+incompatible, < 9.8.3+incompatible · >= 9.9.0+incompatible, < 9.9.2+incompatible · >= 9.10.0+incompatible, < 9.10.1+incompatible 9.5.8+incompatible, 9.8.3+incompatible, 9.9.2+incompatible, 9.10.1+incompatible GO-2024-3097
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2024-3097
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2024-3097
Go github.com/mattermost/mattermost/server/v8 >= 9.9.0, < 9.9.2 9.9.2 GHSA-hrf9-rm95-fpf3
Go github.com/mattermost/mattermost/server/v8 >= 9.5.0, < 9.5.8 9.5.8 GHSA-hrf9-rm95-fpf3
Go github.com/mattermost/mattermost/server/v8 >= 9.10.0, < 9.10.1 9.10.1 GHSA-hrf9-rm95-fpf3
Go github.com/mattermost/mattermost/server/v8 >= 9.8.0, < 9.8.3 9.8.3 GHSA-hrf9-rm95-fpf3
Go github.com/mattermost/mattermost/server/v8 all versions — GO-2024-3097

References