CVE-2020-8227 Path traversal in Desktop Client

Medium 6.8 Published Updated

A malicious Nextcloud server can force the desktop client to store files outside the sync directory due to missing response sanitization.

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-2020-8227?

CVE-2020-8227 is a medium-severity path traversal vulnerability in Desktop Client, published on 21 Aug 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Missing sanitization of a server response in Nextcloud Desktop Client 2.6.4 for Linux allowed a malicious Nextcloud Server to store files outside of the dedicated sync directory.

Weakness: CWE-22

Which versions are affected by CVE-2020-8227?

It affects 1 product.

Products include Nextcloud Desktop.

How do I fix CVE-2020-8227?

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-2020-8227 being exploited?

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

Sources

Also known as DEBIAN-CVE-2020-8227, GHSA-64gg-6m36-39px, UBUNTU-CVE-2020-8227.

Is CVE-2020-8227 in your software?

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

Check your SBOMs for free