Skip to content
OpenAdvisories
High · 8.8 CVE-2021-32688 EUVD-2021-19492

Application specific tokens can change their own scope

Published Jul 12, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
nextcloud security-advisories < 19.0.13, >= 20.0.0, < 20.0.11, >= 21.0.0, < 21.0.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP3 nextcloud 20.0.11-bp153.2.3.1 openSUSE-SU-2021:1068-1
SUSE Package Hub 15 SP2 nextcloud 20.0.11-bp153.2.3.1 openSUSE-SU-2021:1068-1
SUSE Package Hub 15 SP1 nextcloud 20.0.11-bp153.2.3.1 openSUSE-SU-2021:1068-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Package Hub 12 nextcloud 20.0.11-bp153.2.3.1 openSUSE-SU-2021:1068-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 nextcloud 20.0.11-bp153.2.3.1 openSUSE-SU-2021:1068-1
openSUSE Leap 15.2 nextcloud 20.0.11-bp153.2.3.1 openSUSE-SU-2021:1068-1

Advisories 1

References