CVE-2022-41882 Nextcloud Desktop vulnerable to code injection via malicious link
- Published
- Updated
- Exploit status
- No public exploit known
Description
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
| Product | Affected versions | Fixed in |
|---|---|---|
| Nextcloud security-advisories | = = 3.6.0 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:22.04) | All versions | No fix listed |
| Nextcloud desktop | = 3.6.0 | No fix listed |
| debian/nextcloud-desktop(Debian:12) | < 3.6.1-1 | 3.6.1-1 |
| debian/nextcloud-desktop(Debian:14) | < 3.6.1-1 | 3.6.1-1 |
| debian/nextcloud-desktop(Debian:13) | < 3.6.1-1 | 3.6.1-1 |
| ubuntu/nextcloud-desktop(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:20.04) | = 2.5.3-1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:20.04) | = 2.6.0-1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:20.04) | = 2.6.1-1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:20.04) | = 2.6.1-2 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:20.04) | = 2.6.2-1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:20.04) | = 2.6.2-1build1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:22.04) | = 3.2.3-0ubuntu1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:22.04) | = 3.3.5-1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:22.04) | = 3.3.5-1ubuntu1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:22.04) | = 3.4.2-1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:22.04) | = 3.4.2-1ubuntu1 | No fix listed |
| alpine/nextcloud-client(Alpine:v3.17) | < 3.6.2-r0 | 3.6.2-r0 |
| alpine/nextcloud-client(Alpine:v3.18) | < 3.6.2-r0 | 3.6.2-r0 |
| alpine/nextcloud-client(Alpine:v3.19) | < 3.6.2-r0 | 3.6.2-r0 |
| alpine/nextcloud-client(Alpine:v3.20) | < 3.6.2-r0 | 3.6.2-r0 |
| alpine/nextcloud-client(Alpine:v3.21) | < 3.6.2-r0 | 3.6.2-r0 |
| alpine/nextcloud-client(Alpine:v3.22) | < 3.6.2-r0 | 3.6.2-r0 |
| alpine/nextcloud-client(Alpine:v3.23) | < 3.6.2-r0 | 3.6.2-r0 |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/nextcloud-client(Alpine:v3.24) | < 3.6.2-r0 | 3.6.2-r0 |
References
- Debian Security Tracker CVE-2022-41882 vendor-advisory
- github.com issue-tracking third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com release-notes third-party-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- security.alpinelinux.org vendor-advisory