Skip to content

CVE-2021-32688 Application specific tokens can change their own scope

HighCVSS 8.8 EPSS 2.3%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

3 packages: 1 fixed.

PackageAffectedFixed inStatus
nextcloud server < 19.0.13; >= 20.0.0, < 20.0.11; >= 21.0.0, < 21.0.3 19.0.13, 20.0.11, 21.0.3 Fixed
fedoraproject fedora = 33; = 34 No fix listed Versions listed
Nextcloud security-advisories = < 19.0.13; = >= 20.0.0, < 20.0.11; = >= 21.0.0, < 21.0.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
nextcloud server < 19.0.13 19.0.13
nextcloud server >= 20.0.0, < 20.0.11 20.0.11
nextcloud server >= 21.0.0, < 21.0.3 21.0.3
fedoraproject fedora = 33 No fix listed
fedoraproject fedora = 34 No fix listed
Nextcloud security-advisories = < 19.0.13 No fix listed
Nextcloud security-advisories = >= 20.0.0, < 20.0.11 No fix listed
Nextcloud security-advisories = >= 21.0.0, < 21.0.3 No fix listed

References