CVE-2023-2787 Collapsed Reply Threads APIs leak message contents from private channels

Medium 6.5 Published Updated

Attackers can read private channel messages via the threads API due to missing membership checks in Mattermost.

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

What is CVE-2023-2787?

CVE-2023-2787 is a medium-severity missing authorization vulnerability in Mattermost Mattermost, published on 16 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Mattermost fails to check channel membership when accessing message threads, allowing an attacker to access arbitrary posts by using the message threads API.

Weakness: CWE-862

Which versions are affected by CVE-2023-2787?

It affects 1 product.

Products include Mattermost Mattermost.

How do I fix CVE-2023-2787?

No fix has been published for CVE-2023-2787 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-2023-2787 being exploited?

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

All Mattermost Mattermost vulnerabilities

Sources

Also known as GHSA-8m2w-p6c5-hh6c.

Is CVE-2023-2787 in your software?

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

Check your SBOMs for free