CVE-2021-32766 Nextcloud Text app can disclose existence of folders in "File Drop" link share
- Published
- Updated
- Exploit status
- No public exploit known
Description
Nextcloud Text is an open source plaintext editing application which ships with the nextcloud server. In affected versions the Nextcloud Text application returned different error messages depending on whether a folder existed in a public link share. This is problematic in case the public link share has been created with "Upload Only" privileges. (aka "File Drop"). A link share recipient is not expected to see which folders or files exist in a "File Drop" share. Using this vulnerability an attacker is able to enumerate folders in such a share. Exploitation requires that the attacker has access to a valid affected "File Drop" link share. It is recommended that the Nextcloud Server is upgraded to 20.0.12, 21.0.4 or 22.0.1. Users who are unable to upgrade are advised to disable the Nextcloud Text application in the app settings.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nextcloud server | < 20.0.12; >= 21.0.0, < 21.0.4; >= 22.0.0, < 22.1.0 | 20.0.12, 21.0.4, 22.1.0 | Fixed |
| Nextcloud security-advisories | = < 20.0.12; = >= 21.0.0, < 21.0.4; = >= 22.0.0, < 22.0.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nextcloud server | < 20.0.12 | 20.0.12 |
| nextcloud server | >= 21.0.0, < 21.0.4 | 21.0.4 |
| nextcloud server | >= 22.0.0, < 22.1.0 | 22.1.0 |
| Nextcloud security-advisories | = < 20.0.12 | No fix listed |
| Nextcloud security-advisories | = >= 21.0.0, < 21.0.4 | No fix listed |
| Nextcloud security-advisories | = >= 22.0.0, < 22.0.1 | No fix listed |
References
- github.com third-party-advisory
- github.com patch third-party-advisory
- hackerone.com permissions-required third-party-advisory