Skip to content

Untrusted Search Path in Nextcloud Desktop Client

Low
LukasReschke published GHSA-6q2w-v879-q24v Aug 18, 2021

Package

Desktop Client (Nextcloud)

Affected versions

3.0.3 up to 3.2.4

Patched versions

3.3.0

Description

Impact

The Nextcloud Desktop Client invokes its uninstaller script when being installed to make sure there are no remnants of previous installations.

The Client did however search the Uninstall.exe file in a folder that can be written by regular users. This could lead to a case where a malicious user created a malicious Uninstall.exe, which would be executed with administrative privileges on the Nextcloud Desktop Client installation.

Patches

It is recommended that the Nextcloud Desktop client is upgraded to 3.3.0.

Workarounds

Do not allow untrusted users to create content in the C:\ system folder. Verify that there's no malicious C:\Uninstall.exe file on the system.

References

For more information

If you have any questions or comments about this advisory:

Severity

Low

CVE ID

CVE-2021-37617

Weaknesses

Credits