Improper Access Control Affecting github.com/mattermost/mattermost/server/platform/services/sharedchannel package, versions <9.5.7 >=9.7.0 <9.7.6 >=9.8.0 <9.8.2 >=9.9.0 <9.9.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (16th 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 ID SNYK-GOLANG-GITHUBCOMMATTERMOSTMATTERMOSTSERVERPLATFORMSERVICESSHAREDCHANNEL-7577984
  • published 2 Aug 2024
  • disclosed 1 Aug 2024
  • credit Juho Forsén

How to fix?

Upgrade github.com/mattermost/mattermost/server/platform/services/sharedchannel to version 9.5.7, 9.7.6, 9.8.2, 9.9.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Access Control due to the improper validation of user input in the remote username setting process. An attacker can manipulate the username to an arbitrary value by exploiting the lack of proper input sanitization when shared channels are enabled.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None