CVE-2023-47858 Details of archived public channels are leaked to members of another team

Medium 4.3 Published Updated

Attackers can view details of archived public channels from other teams due to missing permission checks, exposing sensitive channel metadata.

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-2023-47858?

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

Official description

Mattermost fails to properly verify the permissions needed for viewing archived public channels,  allowing a member of one team to get details about the archived public channels of another team via the GET /api/v4/teams/<team-id>/channels/deleted endpoint.

Weakness: CWE-284

Which versions are affected by CVE-2023-47858?

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

PackageAffectedFixed in
github.com/mattermost/mattermost-server/v6 GoAll versionsNone
github.com/mattermost/mattermost-server/v6 GoAll versions7.8.10
github.com/mattermost/mattermost-server/v6 GoAll versions7.8.10
mattermost BitnamiAll versions8.1.7, 9.0.5, 9.1.4, 9.2.3
github.com/mattermost/mattermost-server GoAll versionsNone
github.com/mattermost/mattermost-server/v5 GoAll versionsNone
3 more packages
github.com/mattermost/mattermost/server/v8 GoAll versionsNone
github.com/mattermost/mattermost/server/v8 GoAll versions8.1.1
github.com/mattermost/mattermost/server/v8 GoAll versions8.1.1

Products include Mattermost Mattermost Server.

How do I fix CVE-2023-47858?

Upgrade github.com/mattermost/mattermost-server/v6 to 7.8.10 or later.

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

Is CVE-2023-47858 being exploited?

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

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as BIT-mattermost-2023-47858, GHSA-w88v-pjr8-cmv2, GO-2024-2450.

Is CVE-2023-47858 in your software?

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

Check your SBOMs for free