Vulnerability · Published Apr 13, 2022 · Assigned by Mattermost

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

Medium 4.3

In plain English

A medium-severity information exposure in Mattermost from Mattermost. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.7%top 48.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/mattermost/mattermost-serverno fix listedGO-2022-0616
Gogithub.com/mattermost/mattermost-server/v55.37.9GHSA-qggc-pj29-j27m
Gogithub.com/mattermost/mattermost-server/v55.37.9GO-2022-0616
Gogithub.com/mattermost/mattermost-server/v66.4.2GHSA-qggc-pj29-j27m
Gogithub.com/mattermost/mattermost-server/v66.3.5GHSA-qggc-pj29-j27m
Gogithub.com/mattermost/mattermost-server/v66.2.5, 6.3.5, 6.4.2GO-2022-0616
Gogithub.com/mattermost/mattermost-server/v66.2.5GHSA-qggc-pj29-j27m

Affected products (as reported)

VendorProductVersions
Mattermost Mattermost 6.4 – before 6.4.26.3 – before 6.3.56.2 – before 6.2.55.37 – before 5.37.9

Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

References