GitHub Advisoryadvisory · Go

GHSA-qggc-pj29-j27m Improper Privilege Management in Mattermost

MEDIUM Published 2022-04-14 Modified 2022-04-22 Official page ↗
Aliases
CVE-2022-1332
Ecosystem
Go
Packages
github.com/mattermost/mattermost-server/v6, github.com/mattermost/mattermost-server/v5
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-200, CWE-269
Reviewed
2022-04-22

Affected packages

• Go github.com/mattermost/mattermost-server/v6: >= 6.4.0, < 6.4.2 → fixed in 6.4.2 • Go github.com/mattermost/mattermost-server/v6: >= 6.3.0, < 6.3.5 → fixed in 6.3.5 • Go github.com/mattermost/mattermost-server/v6: >= 6.0.0, < 6.2.5 → fixed in 6.2.5 • Go github.com/mattermost/mattermost-server/v5: < 5.37.9 → fixed in 5.37.9

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. Per the Mattermost security updates page, versions 6.4.2, 6.3.5, 6.2.5, and 5.37.9 contain patches for this issue

Related

Alias · CVE (1)

  • CVE-2022-1332 One of the API in Mattermost version 6.4.1 and earlier fails to properly protect the permissions, which allows the authenticated members… vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-269 Improper Privilege Management weakness

References