CVE-2023-2797 Path traversal in GitHub plugin's code preview feature
Attackers can read code from private repositories by posting crafted permalinks in Mattermost channels due to insufficient sanitization.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-2797?
CVE-2023-2797 is a low-severity path traversal vulnerability in Mattermost Mattermost, published on 16 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Mattermost fails to sanitize code permalinks, allowing an attacker to preview code from private repositories by posting a specially crafted permalink on a channel.
Weakness: CWE-74
Which versions are affected by CVE-2023-2797?
It affects 1 product.
Products include Mattermost Mattermost.
How do I fix CVE-2023-2797?
No fix has been published for CVE-2023-2797 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-2797 being exploited?
There is no known exploitation of CVE-2023-2797 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-w6f5-pv84-q7wv.