title: System Role with manage posts permission can read posts of Direct Messages
description: Mattermost fails to properly check permissions when retrieving a post allowing for a System Role with the permission to manage channels to read the posts of a DM conversation.
problem types: CWE-863 Incorrect Authorization
affected:
{
defaultStatus: unaffected
product: Mattermost
vendor: Mattermost
versions:
lessThanOrEqual: 8.0.1, status: affected, version: 0, versionType: semver
lessThanOrEqual: 7.8.9, status: affected, version: 0, versionType: semver
status: affected, version: 8.1.0
status: unaffected, version: 8.0.2
status: unaffected, version: 8.1.1
status: unaffected, version: 7.8.10
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 4.9
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: NONE
privilegesRequired: HIGH
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL
solutions: Update Mattermost Server to versions 7.8.10, 8.0.2, 8.1.1 or higher