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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | no fix listed | GO-2022-0616 |
| Go | github.com/mattermost/mattermost-server/v5 | 5.37.9 | GHSA-qggc-pj29-j27m |
| Go | github.com/mattermost/mattermost-server/v5 | 5.37.9 | GO-2022-0616 |
| Go | github.com/mattermost/mattermost-server/v6 | 6.4.2 | GHSA-qggc-pj29-j27m |
| Go | github.com/mattermost/mattermost-server/v6 | 6.3.5 | GHSA-qggc-pj29-j27m |
| Go | github.com/mattermost/mattermost-server/v6 | 6.2.5, 6.3.5, 6.4.2 | GO-2022-0616 |
| Go | github.com/mattermost/mattermost-server/v6 | 6.2.5 | GHSA-qggc-pj29-j27m |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://mattermost.com/security-updates/ x_refsource_MISC