CVE-2020-8227 Path traversal in Desktop Client
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.
Other vulnerabilities in Desktop Client
- CVE-2024-46958 Misconfiguration in n/a
- CVE-2020-8224 Code injection in Desktop Client
- CVE-2020-8225 Information disclosure in Desktop Client
- CVE-2021-37617 Untrusted Search Path in Nextcloud Desktop Client
- CVE-2023-28999 Nextcloud: Lack of authenticity of metadata keys allows a malicious server to gain access to E2EE folders
Sources
Also known as DEBIAN-CVE-2020-8227, GHSA-64gg-6m36-39px, UBUNTU-CVE-2020-8227.