Unauthorized File Access Affecting nextcloud package, versions [,19.0.13)[20.0.0,20.0.11)[21.0.0,21.0.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-NEXTCLOUD-2371435
  • published26 Jan 2022
  • disclosed12 Jul 2021
  • creditUnknown

Introduced: 12 Jul 2021

CVE-2021-32688  (opens in a new tab)
CWE-552  (opens in a new tab)

How to fix?

Upgrade nextcloud to version 19.0.13, 20.0.11, 21.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Unauthorized File Access. Nextcloud Server is a Nextcloud package that handles data storage. Nextcloud Server supports application specific tokens for authentication purposes. These tokens are supposed to be granted to a specific applications (e.g. DAV sync clients), and can also be configured by the user to not have any filesystem access. Due to a lacking permission check, the tokens were able to change their own permissions in versions prior to 19.0.13, 20.0.11, and 21.0.3. Thus fileystem limited tokens were able to grant themselves access to the filesystem. The issue is patched in versions 19.0.13, 20.0.11, and 21.0.3. There are no known workarounds aside from upgrading.

CVSS Scores

version 3.1