Improper Access Control Affecting github.com/mattermost/mattermost-server package, versions <8.1.9>=9.0.0 <9.2.5>=9.3.0 <9.3.1>=9.4.0 <9.4.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMMATTERMOSTMATTERMOSTSERVER-6352135
  • published1 Mar 2024
  • disclosed29 Feb 2024
  • creditEva Sarafianou

Introduced: 29 Feb 2024

CVE-2024-1888  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade github.com/mattermost/mattermost-server to version 8.1.9, 9.2.5, 9.3.1, 9.4.2 or higher.

Overview

github.com/mattermost/mattermost-server is an open source Slack-alternative in Golang and React.

Affected versions of this package are vulnerable to Improper Access Control due to the improper validation of the invite_guest permission when inviting guests from other teams. An attacker can exploit this vulnerability to add a guest to a team without the proper permissions.

Note: This happens as long as the guest was already a guest in another team on the server.

CVSS Scores

version 3.1