CVE-2023-4108 Audit logging fails to sanitize post metadata
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.
| Package | Affected | Fixed in |
|---|---|---|
github.com/mattermost/mattermost-server/v6 Go | All versions | 7.8.8 |
github.com/mattermost/mattermost-server/v6 Go | All versions | 7.8.8 |
github.com/mattermost/mattermost-server/v6 Go | From 7.10.0 | 7.10.4 |
github.com/mattermost/mattermost-server/v6 Go | From 7.10.0 | 7.10.4 |
github.com/mattermost/mattermost-server/v6 Go | From 7.9.0 | 7.9.6 |
github.com/mattermost/mattermost-server/v6 Go | From 7.9.0 | 7.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.
Other vulnerabilities in Mattermost Mattermost
- CVE-2019-20851 Path traversal in n/a
- CVE-2024-39274 Malicious remote can add users to arbitrary teams and channels
- CVE-2024-39777 Malicious remote can invite itself to an arbitrary local channel
- CVE-2024-39830 Timing attack during remote cluster token comparison when shared channels are enabled
- CVE-2023-3615 Lack of server certificate validation in websockets connection
Sources
Also known as GHSA-9rww-66w7-7vjx.