VDB

CVE-2022-41882

CVE-2022-41882 PUBLISHED CVSS 6.6 MEDIUM

Nextcloud Desktop vulnerable to code injection via malicious link

Reported by github_m · Published November 11, 2022

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.

Risk scores

CVSS 3.1
6.6
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L

Affected products

VendorProductVersions
nextcloudsecurity-advisories= 3.6.0
nextcloudsecurity-advisories3.6.0
alpinenextcloud-client0

Timeline

  • Nov 11, 2022 CVE Published
  • Nov 12, 2022 EPSS Score (30 in total, the first dated here)
  • Feb 10, 2023 PoC Published
  • Jun 15, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-41882
vulnetix vdb fixes CVE-2022-41882

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-41882/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›