CVE-2021-32688 Application specific tokens can change their own scope
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- github.com third-party-advisory
- github.com patch third-party-advisory
- hackerone.com permissions-required
- FEDORA-2021-6f327296fe vendor-advisory
- FEDORA-2021-9b421b78af vendor-advisory
- GLSA-202208-17 third-party-advisory vendor-advisory