Improper Access Control Affecting github.com/mattermost/mattermost/server/channels/api4/ package, versions >=9.5.0 <9.5.8 >=9.8.0 <9.8.3 >=9.10.0 <9.10.1 >=9.9.0 <9.9.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (21st 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-GITHUBCOMMATTERMOSTMATTERMOSTSERVERCHANNELSAPI4-7786435
  • published 22 Aug 2024
  • disclosed 22 Aug 2024
  • credit BhaRat

How to fix?

Upgrade github.com/mattermost/mattermost/server/channels/api4/ to version 9.5.8, 9.8.3, 9.10.1, 9.9.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Access Control through the permissions section of the system console. An attacker can elevate their privileges by modifying their role to include the manage_system permission.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

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