title: Privilege escalation to system admin via personal access tokens
description: Mattermost fails to restrict a user with permissions to edit other users and to create personal access tokens from elevating their privileges to system admin
problem types: CWE-863 Incorrect Authorization
affected:
{
defaultStatus: unaffected
product: Mattermost
vendor: Mattermost
versions:
lessThanOrEqual: 7.1.7, status: affected, version: 0, versionType: semver
lessThanOrEqual: 7.7.3, status: affected, version: 0, versionType: semver
lessThanOrEqual: 7.8.2, status: affected, version: 0, versionType: semver
lessThanOrEqual: 7.9.1, status: affected, version: 0, versionType: semver
status: unaffected, version: 7.1.8
status: unaffected, version: 7.7.4
status: unaffected, version: 7.8.3
status: unaffected, version: 7.9.2
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 4.7
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: HIGH
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
version: 3.1
]
format: CVSS
scenarios: GENERAL
solutions: Update Mattermost Server to versions 7.1.8, 7.7.4, 7.8.3, 7.9.2 or higher.