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

Low 2.7 Published Updated

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.

All Mattermost Mattermost vulnerabilities

Sources

Also known as GHSA-5cg2-wmx6-ccqv.

Is CVE-2024-36257 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free