CVE-2021-32766
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 1.3% 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.3% in the next 30 days (EPSS).
- Severity: 5.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.3% · EPSS, next 30 days
- Weakness
- CWE-209
- Record status
- Modified
Affected
- Nextcloud Server < 20.0.12
- Nextcloud Server < 21.0.4
- Nextcloud Server < 22.1.0
Attack profile CVSS 3.1 · 5.3
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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-32766.md and follow it. Check whether this project is affected by CVE-2021-32766. 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/security-advisories/security/advisories/GHSA-gcf3-3wmc-88jr
- https://github.com/nextcloud/text/pull/1716
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-gcf3-3wmc-88jr
- https://github.com/nextcloud/text/pull/1716
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-gcf3-3wmc-88jr
- https://github.com/nextcloud/text/pull/1716
- https://hackerone.com/reports/1253475
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-gcf3-3wmc-88jr
- https://github.com/nextcloud/text/pull/1716
- https://hackerone.com/reports/1253475