CVE-2024-42406 Unauthorized access on archived channels

Medium 5.4 Published Updated

Attackers can retrieve post and file information from archived channels when the feature is disabled, exposing sensitive data.

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-42406?

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

Official description

Mattermost versions 9.11.x <= 9.11.0, 9.10.x <= 9.10.1, 9.9.x <= 9.9.2 and 9.5.x <= 9.5.8 fail to properly authorize requests when viewing archived channels is disabled, which allows an attacker to retrieve post and file information about archived channels. Examples are flagged or unread posts as well as files.

Weakness: CWE-284

Which versions are affected by CVE-2024-42406?

1 open source package ship an affected version, including mattermost. It affects 1 product.

PackageAffectedFixed in
mattermost BitnamiFrom 9.5.0 to 9.11.0-rc19.5.9, 9.9.3, 9.10.2

Products include Mattermost Mattermost Server.

How do I fix CVE-2024-42406?

Upgrade mattermost to a fixed version for your release line: 9.5.9, 9.9.3 or 9.10.2.

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

Is CVE-2024-42406 being exploited?

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

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as BIT-mattermost-2024-42406, GHSA-v53q-gwp7-274v.

Is CVE-2024-42406 in your software?

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

Check your SBOMs for free