CVE-2024-36257 Lack of permission check when updating the profile picture of a remote user (shared channels enabled)
A malicious remote server can modify profile pictures of users belonging to other connected remote servers when shared channels are enabled.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-36257?
CVE-2024-36257 is a low-severity missing authorization vulnerability in Mattermost Mattermost, published on 3 Jul 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-284
Which versions are affected by CVE-2024-36257?
It affects 1 product.
Products include Mattermost Mattermost.
How do I fix CVE-2024-36257?
No fix has been published for CVE-2024-36257 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-36257 being exploited?
There is no known exploitation of CVE-2024-36257 in the wild and no public exploit code.
Other vulnerabilities in Mattermost Mattermost
- CVE-2019-20851 Path traversal in n/a
- CVE-2024-39274 Malicious remote can add users to arbitrary teams and channels
- CVE-2024-39777 Malicious remote can invite itself to an arbitrary local channel
- CVE-2024-39830 Timing attack during remote cluster token comparison when shared channels are enabled
- CVE-2023-3615 Lack of server certificate validation in websockets connection
Sources
Also known as GHSA-5cg2-wmx6-ccqv.