Skip to content
OpenAdvisories
Medium · 4.3 CVE-2022-1332 BIT-mattermost-2022-1332EUVD-2022-1816GHSA-qggc-pj29-j27mGO-2022-0616

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

Published Apr 13, 2022 · Updated Dec 6, 2024 · Assigned by Mattermost

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.

Affected products

VendorProductAffectedFixed
Mattermost Mattermost 6.4 – < 6.4.2, 6.3 – < 6.3.5, 6.2 – < 6.2.5, 5.37 – < 5.37.9 6.4.2

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server all versions — GO-2022-0616
Go github.com/mattermost/mattermost-server/v5 < 5.37.9 5.37.9 GHSA-qggc-pj29-j27m
Go github.com/mattermost/mattermost-server/v6 >= 6.4.0, < 6.4.2 6.4.2 GHSA-qggc-pj29-j27m
Go github.com/mattermost/mattermost-server/v6 >= 6.3.0, < 6.3.5 6.3.5 GHSA-qggc-pj29-j27m
Go github.com/mattermost/mattermost-server/v6 >= 6.0.0, < 6.2.5 6.2.5 GHSA-qggc-pj29-j27m
Go github.com/mattermost/mattermost-server/v6 >= 6.0.0, < 6.2.5 · >= 6.3.0, < 6.3.5 · >= 6.4.0, < 6.4.2 6.2.5, 6.3.5, 6.4.2 GO-2022-0616

References