CVE Vulnerabilities

CVE-2022-1332

Improper Privilege Management

Published: Apr 13, 2022 | Modified: Apr 20, 2022
CVSS 3.x
4.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

Affected Software

Name Vendor Start Version End Version
Mattermost_server Mattermost 5.37.0 (including) 5.37.9 (excluding)
Mattermost_server Mattermost 6.2.0 (including) 6.2.5 (excluding)
Mattermost_server Mattermost 6.3.0 (including) 6.3.5 (excluding)
Mattermost_server Mattermost 6.4.0 (including) 6.4.2 (excluding)

Potential Mitigations

References