CVE-2024-39361: Creating posts with user-defined IDs permitted in CreatePost API
Mattermost versions 9.8.0, 9.7.x <= 9.7.4, 9.6.x <= 9.6.2 and 9.5.x <= 9.5.5 fail to prevent users from specifying a RemoteId for their posts which allows an attacker to specify both a remoteId and the post ID, resulting in creating a post with a user-defined post ID. This can cause some broken functionality in the channel or thread with user-defined posts
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2024-39361?
CVE-2024-39361 is considered a critical vulnerability affecting Mattermost versions 9.5.x to 9.8.0 that allows for user-defined post IDs.
How do I fix CVE-2024-39361?
To fix CVE-2024-39361, update Mattermost to version 9.8.1 or later, or to 9.7.5 or later.
What versions of Mattermost are affected by CVE-2024-39361?
CVE-2024-39361 affects Mattermost versions 9.5.x through 9.8.0, including 9.7.x up to 9.7.4 and 9.6.x up to 9.6.2.
What does CVE-2024-39361 exploit?
CVE-2024-39361 exploits the ability for users to specify a RemoteId for their posts, allowing an attacker to set user-defined post IDs.
Is there a workaround for CVE-2024-39361?
There are no known effective workarounds for CVE-2024-39361 other than upgrading to a patched version of Mattermost.