CVE-2021-39223
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account, but needs a user to act. High risk of data exposure.
- Exploit odds
- 1.1% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.1% in the next 30 days (EPSS).
- Severity: 4.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.1% · EPSS, next 30 days
- Weakness
- CWE-200 · Information exposure
- Record status
- Modified
Affected
- Nextcloud Richdocuments < 3.8.6
- Nextcloud Richdocuments < 4.2.3
Attack profile CVSS 3.1 · 4.8
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-39223.md and follow it. Check whether this project is affected by CVE-2021-39223. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/nextcloud/richdocuments/pull/1760
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-rjcc-4cgj-6v93
- https://github.com/nextcloud/richdocuments/pull/1760
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-rjcc-4cgj-6v93
References
- https://github.com/nextcloud/richdocuments/pull/1760
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-rjcc-4cgj-6v93
- https://hackerone.com/reports/1253460
- https://github.com/nextcloud/richdocuments/pull/1760
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-rjcc-4cgj-6v93
- https://hackerone.com/reports/1253460