CVE-2023-4108 Audit logging fails to sanitize post metadata

Medium 4.5 Published Updated

Attackers can view sensitive permalink contents in audit logs due to unsanitized post metadata in Mattermost.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-4108?

CVE-2023-4108 is a medium-severity vulnerability in Mattermost Mattermost, published on 11 Aug 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Mattermost fails to sanitize post metadata during audit logging resulting in permalinks contents being logged

Weakness: CWE-532

Which versions are affected by CVE-2023-4108?

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

PackageAffectedFixed in
github.com/mattermost/mattermost-server/v6 GoAll versions7.8.8
github.com/mattermost/mattermost-server/v6 GoAll versions7.8.8
github.com/mattermost/mattermost-server/v6 GoFrom 7.10.07.10.4
github.com/mattermost/mattermost-server/v6 GoFrom 7.10.07.10.4
github.com/mattermost/mattermost-server/v6 GoFrom 7.9.07.9.6
github.com/mattermost/mattermost-server/v6 GoFrom 7.9.07.9.6

Products include Mattermost Mattermost.

How do I fix CVE-2023-4108?

Upgrade github.com/mattermost/mattermost-server/v6 to a fixed version for your release line: 7.8.8, 7.10.4 or 7.9.6.

Is CVE-2023-4108 being exploited?

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

All Mattermost Mattermost vulnerabilities

Sources

Also known as GHSA-9rww-66w7-7vjx.

Is CVE-2023-4108 in your software?

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

Check your SBOMs for free