CVE-2024-50052 Arbitrary post deletion via Playbooks /ignore-thread endpoint

Medium 4.3 Published Updated

An authenticated user can delete arbitrary posts in Mattermost due to missing origin validation in the ignore-thread endpoint.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-50052?

CVE-2024-50052 is a medium-severity missing authorization vulnerability in Mattermost Mattermost Server, published on 29 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Mattermost versions 9.10.x <= 9.10.2, 9.11.x <= 9.11.1, 9.5.x <= 9.5.9 fail to check that the origin of the message in an integration action matches with the original post metadata which allows an authenticated user to delete an arbitrary post.

Weakness: CWE-862

Which versions are affected by CVE-2024-50052?

6 open source packages ship an affected version, including github.com/mattermost/mattermost/server/v8, github.com/mattermost/mattermost-server and github.com/mattermost/mattermost-server/v5. It affects 1 product.

PackageAffectedFixed in
github.com/mattermost/mattermost/server/v8 GoAll versions8.0.0-20240926115259-20ed58906adc
github.com/mattermost/mattermost/server/v8 GoAll versions8.0.0-20240926115259-20ed58906adc
github.com/mattermost/mattermost/server/v8 GoAll versions8.0.0-20240926115259-20ed58906adc
github.com/mattermost/mattermost-server GoAll versionsNone
github.com/mattermost/mattermost-server/v5 GoAll versionsNone
github.com/mattermost/mattermost-server/v6 GoAll versionsNone

Products include Mattermost Mattermost Server.

How do I fix CVE-2024-50052?

Upgrade github.com/mattermost/mattermost/server/v8 to 8.0.0-20240926115259-20ed58906adc or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-50052 being exploited?

There is no known exploitation of CVE-2024-50052 in the wild and no public exploit code.

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as GHSA-g376-m3h3-mj4r, GO-2024-3235.

Is CVE-2024-50052 in your software?

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

Check your SBOMs for free