Skip to content

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

HighCVSS 8.8 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 1 fixed, 2 partially fixed.

PackageAffectedFixed inStatus
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 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 +1 more 9.5.8+incompatible, 9.8.3+incompatible, 9.9.2+incompatible, 9.10.1+incompatible Partially fixed
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 9.5.0, < 9.5.8; >= 9.8.0, < 9.8.3; >= 9.9.0, < 9.9.2; >= 9.10.0, < 9.10.1 +1 more 9.5.8, 9.8.3, 9.9.2, 9.10.1 Partially fixed
Mattermost = 9.10.0; >= 9.5.0, < 9.5.8; >= 9.5.0, <= 9.5.7; >= 9.8.0, < 9.8.3 +4 more 9.5.8, 9.8.3, 9.9.2, 9.10.1 Fixed

Affected products

ProductAffected versionsFixed in
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 9.9.0, < 9.9.2 9.9.2
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 9.5.0, < 9.5.8 9.5.8
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 9.10.0, < 9.10.1 9.10.1
Mattermost github.com/mattermost/mattermost/server/v8(Go) >= 9.8.0, < 9.8.3 9.8.3
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.5.0+incompatible, < 9.5.8+incompatible 9.5.8+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.8.0+incompatible, < 9.8.3+incompatible 9.8.3+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.9.0+incompatible, < 9.9.2+incompatible 9.9.2+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 9.10.0+incompatible, < 9.10.1+incompatible 9.10.1+incompatible
Mattermost github.com/mattermost/mattermost-server/v6(Go) All versions No fix listed
Mattermost github.com/mattermost/mattermost/server/v8(Go) All versions No fix listed
Mattermost >= 9.9.0, <= 9.9.1 No fix listed
Mattermost >= 9.5.0, <= 9.5.7 No fix listed
Mattermost = 9.10.0 No fix listed
Mattermost >= 9.8.0, <= 9.8.2 No fix listed
Mattermost >= 9.5.0, < 9.5.8 9.5.8
Mattermost >= 9.8.0, < 9.8.3 9.8.3
Mattermost >= 9.9.0, < 9.9.2 9.9.2
Mattermost >= 9.10.0, < 9.10.1 9.10.1

References