Vulnerabilities · 2022 · Nextcloud
CVE-2022-41882
Nextcloud Desktop vulnerability
The Nextcloud Desktop Client is a tool to synchronize files from Nextcloud Server with your computer. In version 3.6.0, if a user received a malicious file share and has it synced locally or the virtual filesystem enabled and clicked a nc://open/ link it will open the default editor for the file type of the shared file, which on Windows can also sometimes mean that a file depending on the type, e.g. "vbs", is being executed. It is recommended that the Nextcloud Desktop client is upgraded to version 3.6.1. As a workaround, users can block the Nextcloud Desktop client 3.6.0 by setting the `minimum.supported.desktop.version` system config to `3.6.1` on the server, so new files designed to use this attack vector are not downloaded anymore. Already existing files can still be used. Another workaround would be to enforce shares to be accepted by setting the `sharing.force_share_accept` system config to `true` on the server, so new files designed to use this attack vector are not downloaded anymore. Already existing shares can still be abused.
Affected products
Desktop. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nextcloud Desktop runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/nextcloud/desktop/pull/5039 · Patch
- github.com/nextcloud/server/pull/34559 · Patch
- github.com/nextcloud/desktop/releases/tag/v3.6.1 · Third Party Advisory
- github.com/nextcloud/security-advisories/security/advisories/GHSA-3w86-rm38-8w63 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-41882
- cve.org/CVERecord?id=CVE-2022-41882
More vulnerabilities in Nextcloud products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.