CVE-2021-39223 File path disclosure of shared files in Richdocuments application
MediumCVSS 5.3
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Nextcloud is an open-source, self-hosted productivity platform. The Nextcloud Richdocuments application prior to versions 3.8.6 and 4.2.3 returned verbatim exception messages to the user. This could result in a full path disclosure on shared files. (e.g. an attacker could see that the file shared.txt is located within /files/$username/Myfolder/Mysubfolder/shared.txt). It is recommended that the Richdocuments application is upgraded to 3.8.6 or 4.2.3. As a workaround, disable the Richdocuments application in the app settings.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Nextcloud Richdocuments | < 3.8.6; >= 4.0.0, < 4.2.3 | 3.8.6, 4.2.3 | Fixed |
| Nextcloud security-advisories | = < 3.8.6,; = >= 4.0.0, < 4.2.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Nextcloud Richdocuments | < 3.8.6 | 3.8.6 |
| Nextcloud Richdocuments | >= 4.0.0, < 4.2.3 | 4.2.3 |
| Nextcloud security-advisories | = < 3.8.6, | No fix listed |
| Nextcloud security-advisories | = >= 4.0.0, < 4.2.3 | No fix listed |
References
- github.com patch third-party-advisory
- github.com third-party-advisory
- hackerone.com permissions-required third-party-advisory