title: Reflected client side path traversal leading to CSRF in Playbooks
description: Mattermost fails to validate if a relative path is passed in /plugins/playbooks/api/v0/telemetry/run/<telem_run_id> as a telemetry run ID, allowing an attacker to use a path traversal payload that points to a different endpoint leading to a CSRF attack.
problem types: CWE-352: Cross-Site Request Forgery (CSRF)
affected:
{
defaultStatus: unaffected
product: Mattermost
vendor: Mattermost
versions:
lessThanOrEqual: 9.1.2, status: affected, version: 0, versionType: semver
lessThanOrEqual: 9.0.3, status: affected, version: 0, versionType: semver
lessThanOrEqual: 8.1.5, status: affected, version: 0, versionType: semver
lessThanOrEqual: 7.8.14, status: affected, version: 0, versionType: semver
lessThanOrEqual: 9.2.1, status: affected, version: 0, versionType: semver
status: unaffected, version: 8.1.6
status: unaffected, version: 9.0.4
status: unaffected, version: 9.1.3
status: unaffected, version: 9.2.2
status: unaffected, version: 7.8.15
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 7.3
baseSeverity: HIGH
confidentialityImpact: NONE
integrityImpact: HIGH
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
version: 3.1
]
format: CVSS
scenarios: GENERAL
solutions: Update Mattermost Server to versions 7.8.15, 8.1.6, 9.0.4, 9.1.3, 9.2.2 or higher.