ADVISORIES

GitHub Advisory Database

GHSA-qggc-pj29-j27m

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

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-server/v6
From 6.4.0 before 6.4.2 (fixed in 6.4.2)
Gogithub.com/mattermost/mattermost-server/v6
From 6.3.0 before 6.3.5 (fixed in 6.3.5)
Gogithub.com/mattermost/mattermost-server/v6
From 6.0.0 before 6.2.5 (fixed in 6.2.5)
Gogithub.com/mattermost/mattermost-server/v5
All versions before 5.37.9 (fixed in 5.37.9)

References