Skip to content

CVE-2022-1332 Restricted custom admin role can bypass the restrictions and view the server logs and server config.json file contents

MediumCVSS 4.3 EPSS 0.65%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
Mattermost github.com/mattermost/mattermost-server/v6(Go) < 5.37.9; >= 6.0.0, < 6.2.5; >= 6.3.0, < 6.3.5; >= 6.4.0, < 6.4.2 +1 more 5.37.9, 6.2.5, 6.3.5, 6.4.2 Partially fixed
Mattermost >= 5.37, < 5.37.9; >= 6.2, < 6.2.5; >= 6.3, < 6.3.5; >= 6.4, < 6.4.2 5.37.9, 6.2.5, 6.3.5, 6.4.2 Fixed
mattermost server >= 5.37.0, < 5.37.9; >= 6.2.0, < 6.2.5; >= 6.3.0, < 6.3.5; >= 6.4.0, < 6.4.2 5.37.9, 6.2.5, 6.3.5, 6.4.2 Fixed

Affected products

ProductAffected versionsFixed in
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 6.4.0, < 6.4.2 6.4.2
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 6.3.0, < 6.3.5 6.3.5
Mattermost github.com/mattermost/mattermost-server/v6(Go) >= 6.0.0, < 6.2.5 6.2.5
Mattermost github.com/mattermost/mattermost-server/v6(Go) < 5.37.9 5.37.9
Mattermost github.com/mattermost/mattermost-server/v6(Go) All versions No fix listed
Mattermost >= 6.4, < 6.4.2 6.4.2
Mattermost >= 6.3, < 6.3.5 6.3.5
Mattermost >= 6.2, < 6.2.5 6.2.5
Mattermost >= 5.37, < 5.37.9 5.37.9
mattermost server >= 5.37.0, < 5.37.9 5.37.9
mattermost server >= 6.2.0, < 6.2.5 6.2.5
mattermost server >= 6.3.0, < 6.3.5 6.3.5
mattermost server >= 6.4.0, < 6.4.2 6.4.2

References