What’s Vulnerable › Vulnerabilities

CVE-2024-36257: Lack of permission check when updating the profile picture of a remote user (shared channels enabled)

Description

Mattermost versions 9.5.x <= 9.5.5 and 9.8.0, when using shared channels with multiple remote servers connected, fail to check that the remote server A requesting the server B to update the profile picture of a user is the remote that actually has the user as a local one . This allows a malicious remote A to change the profile images of users that belong to another remote server C that is connected to the server A.

Affected products

How to fix

Upgrade to a fixed version: Mattermost App Framework 9.5.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-36257 or the next vulnerability affects your stack