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 package | Versions | Reported by |
|---|---|---|
| Mattermost Mattermost | from 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 versions | GitHub 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+incompatible | Go Vulnerability Database |
| github.com/mattermost/mattermost-server/v5 (Go) | all versions | Go Vulnerability Database |
| github.com/mattermost/mattermost-server/v6 (Go) | all versions | Go Vulnerability Database |
All scores
| Mattermost | 4.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L |
| GitHub | 4.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
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 <= 9.9.1, 9.5.x <= 9.5.7, 9.10.x <= 9.10.0, 9.8.x <= 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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-40886 changed 2024-08-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hrf9-rm95-fpf3 changed 2024-08-30 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-3097 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-40886 changed 2026-06-17 | Public domain |