CVE-2024-40886
JSON

4.6medium

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

Severity
4.6medium CVSS:3.1 by Mattermost
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mattermost
Also known as
GHSA-hrf9-rm95-fpf3GO-2024-3097

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

Product or packageVersionsReported by
Mattermost Mattermostfrom 9.9.0 up to 9.9.1, from 9.5.0 up to 9.5.7, 9.10.0, from 9.8.0 up to 9.8.2, from 9.5.0 before 9.5.8, from 9.8.0 before 9.8.3, from 9.9.0 before 9.9.2, from 9.10.0 before 9.10.1
Not affected: 9.11.0, 9.9.2, 9.5.8, 9.10.1, 9.8.3
CVE List, NVD
github.com/mattermost/mattermost/server/v8 (Go)from 9.9.0 before 9.9.2, from 9.5.0 before 9.5.8, from 9.10.0 before 9.10.1, from 9.8.0 before 9.8.3, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server (Go)from 9.5.0+incompatible before 9.5.8+incompatible, from 9.8.0+incompatible before 9.8.3+incompatible, from 9.9.0+incompatible before 9.9.2+incompatible, from 9.10.0+incompatible before 9.10.1+incompatibleGo Vulnerability Database
github.com/mattermost/mattermost-server/v5 (Go)all versionsGo Vulnerability Database
github.com/mattermost/mattermost-server/v6 (Go)all versionsGo Vulnerability Database

All scores

Mattermost4.6medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
GitHub4.6medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-352

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

Go Vulnerability Database

Mattermost Cross-Site Request Forgery vulnerability in github.com/mattermost/mattermost-server

NVD (es)

Las versiones de Mattermost 9.9.x &lt;= 9.9.1, 9.5.x &lt;= 9.5.7, 9.10.x &lt;= 9.10.0, 9.8.x &lt;= 9.8.2 no desinfectan las entradas del usuario en la interfaz que se utilizan para la redirección lo que permite path traversal del lado del cliente con un solo clic que conduce a CSRF en la página Administración de usuarios de la consola del sistema.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-40886 changed 2024-08-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-hrf9-rm95-fpf3 changed 2024-08-30CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3097 changed 2026-03-03CC-BY-4.0
NVDCVE-2024-40886 changed 2026-06-17Public domain