CVE-2023-45316 Reflected client side path traversal leading to CSRF in Playbooks

High 7.3 Published Updated

Attackers can exploit path traversal in the Playbooks telemetry API to trigger CSRF attacks against Mattermost users.

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

What is CVE-2023-45316?

CVE-2023-45316 is a high-severity path traversal vulnerability in Mattermost Mattermost Server, published on 12 Dec 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Mattermost fails to validate if a relative path is passed in /plugins/playbooks/api/v0/telemetry/run/<telem_run_id> as a telemetry run ID, allowing an attacker to use a path traversal payload that points to a different endpoint leading to a CSRF attack.

Weakness: CWE-22, CWE-352

Which versions are affected by CVE-2023-45316?

1 open source package ship an affected version, including mattermost. It affects 1 product.

PackageAffectedFixed in
mattermost BitnamiAll versions7.8.15, 8.1.6, 9.0.4, 9.1.3, 9.2.2

Products include Mattermost Mattermost Server.

How do I fix CVE-2023-45316?

Upgrade mattermost to a fixed version for your release line: 7.8.15, 8.1.6, 9.0.4 or 9.1.3.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-45316 being exploited?

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

All Mattermost Mattermost Server vulnerabilities

Sources

Also known as BIT-mattermost-2023-45316, GHSA-2pgg-h82p-8cpr.

Is CVE-2023-45316 in your software?

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

Check your SBOMs for free