Advisory

GHSA-qggc-pj29-j27m

Also known as: BIT-mattermost-2022-1332, CVE-2022-1332, GO-2022-0616

Summary

Improper Privilege Management in Mattermost

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-04-14 00:00 UTC
Modified
2024-08-21 15:26 UTC

Affected packages and fixes

github.com/mattermost/mattermost-server/v6

Go · All systems

Affected

  • introduced 6.4.0, fixed 6.4.2 (semver)

Fixed versions

6.4.2

Fix

github.com/mattermost/mattermost-server/v6

Go · All systems

Affected

  • introduced 6.3.0, fixed 6.3.5 (semver)

Fixed versions

6.3.5

Fix

github.com/mattermost/mattermost-server/v6

Go · All systems

Affected

  • introduced 6.0.0, fixed 6.2.5 (semver)

Fixed versions

6.2.5

Fix

github.com/mattermost/mattermost-server/v5

Go · All systems

Affected

  • introduced 0, fixed 5.37.9 (semver)

Fixed versions

5.37.9

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences