CVE-2024-23488 Files of archived channels accessible with the “Allow users to view archived channels” option disabled

Low 3.1 Published Updated

Attackers can access files from archived channels despite disabled viewing permissions, exposing sensitive data to unauthorized users.

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

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

Official description

Mattermost fails to properly restrict the access of files attached to posts in an archived channel, resulting in members being able to access files of archived channels even if the “Allow users to view archived channels” option is disabled.

Weakness: CWE-284

Which versions are affected by CVE-2024-23488?

8 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 versionsNone
github.com/mattermost/mattermost/server/v8 GoAll versions8.1.9
github.com/mattermost/mattermost/server/v8 GoAll versions8.1.9
github.com/mattermost/mattermost/server/v8 GoFrom 9.0.09.4.2
github.com/mattermost/mattermost/server/v8 GoFrom 9.0.09.4.2
github.com/mattermost/mattermost-server GoFrom 9.0.0+incompatible9.4.2+incompatible
2 more packages
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-23488?

Upgrade github.com/mattermost/mattermost/server/v8 to a fixed version for your release line: 8.1.9 or 9.4.2.

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

Is CVE-2024-23488 being exploited?

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

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as GHSA-xgxj-j98c-59rv, GO-2024-2595.

Is CVE-2024-23488 in your software?

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

Check your SBOMs for free