CVE-2022-39347 Missing path sanitation with `drive` channel in FreeRDP

Low 2.6 Published Updated

A malicious server can trick FreeRDP clients into reading files outside the shared directory due to missing path sanitation in the drive channel.

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-2022-39347?

CVE-2022-39347 is a low-severity path traversal vulnerability in Fedoraproject Fedora, published on 16 Nov 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing path canonicalization and base path check for `drive` channel. A malicious server can trick a FreeRDP based client to read files outside the shared directory. This issue has been addressed in version 2.9.0 and all users are advised to upgrade. Users unable to upgrade should not use the `/drive`, `/drives` or `+home-drive` redirection switch.

Weakness: CWE-22

Which versions are affected by CVE-2022-39347?

It affects 2 products.

Products include Fedoraproject Fedora, Freerdp Freerdp.

How do I fix CVE-2022-39347?

Upgrade to a fixed version.

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

Is CVE-2022-39347 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as CLEANSTART-2024-RA52528, DEBIAN-CVE-2022-39347, GHSA-c5xq-8v35-pffg, UBUNTU-CVE-2022-39347.

Is CVE-2022-39347 in your software?

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

Check your SBOMs for free