CVE-2022-41882
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account, but needs a user to act. High risk of data tampering.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 6.6 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-94 · Code injection
- Record status
- Modified
Affected
- Nextcloud Desktop 3.6.0
Attack profile CVSS 3.1 · 6.6
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- High
- Availability
- Low
Raw vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-41882.md and follow it. Check whether this project is affected by CVE-2022-41882. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/nextcloud/desktop/pull/5039
- https://github.com/nextcloud/desktop/releases/tag/v3.6.1
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-3w86-rm38-8w63
- https://github.com/nextcloud/server/pull/34559
- https://github.com/nextcloud/desktop/pull/5039
- https://github.com/nextcloud/desktop/releases/tag/v3.6.1
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-3w86-rm38-8w63
- https://github.com/nextcloud/server/pull/34559
References
- https://github.com/nextcloud/desktop/pull/5039
- https://github.com/nextcloud/desktop/releases/tag/v3.6.1
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-3w86-rm38-8w63
- https://github.com/nextcloud/server/pull/34559
- https://github.com/nextcloud/desktop/pull/5039
- https://github.com/nextcloud/desktop/releases/tag/v3.6.1
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-3w86-rm38-8w63
- https://github.com/nextcloud/server/pull/34559