Skip to content

Improper Privilege Management in Mattermost

Moderate severity GitHub Reviewed Published Apr 14, 2022 to the GitHub Advisory Database • Updated Feb 2, 2023

Package

gomod github.com/mattermost/mattermost-server/v5 (Go)

Affected versions

< 5.37.9

Patched versions

5.37.9
gomod github.com/mattermost/mattermost-server/v6 (Go)
>= 6.4.0, < 6.4.2
>= 6.3.0, < 6.3.5
>= 6.0.0, < 6.2.5
6.4.2
6.3.5
6.2.5

Description

One of the API in Mattermost version 6.4.1 and earlier fails to properly protect the permissions, which allows the authenticated members with restricted custom admin role to bypass the restrictions and view the server logs and server config.json file contents. Per the Mattermost security updates page, versions 6.4.2, 6.3.5, 6.2.5, and 5.37.9 contain patches for this issue

References

Published by the National Vulnerability Database Apr 13, 2022
Published to the GitHub Advisory Database Apr 14, 2022
Reviewed Apr 22, 2022
Last updated Feb 2, 2023

Severity

Moderate
4.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

CVE ID

CVE-2022-1332

GHSA ID

GHSA-qggc-pj29-j27m

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.