Vulnerability · Published Mar 8, 2022 · Assigned by GitHub_M
CVE-2021-41241Advanced permissions is not respected for subfolders in Nextcloud server
Medium 4.3
In plain English
A medium-severity incorrect authorization in security-advisories from nextcloud. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 58% of all known vulnerabilities).
Official description
Nextcloud server is a self hosted system designed to provide cloud style services. The groupfolders application for Nextcloud allows sharing a folder with a group of people. In addition, it allows setting "advanced permissions" on subfolders, for example, a user could be granted access to the groupfolder but not specific subfolders. Due to a lacking permission check in affected versions, a user could still access these subfolders by copying the groupfolder to another location. It is recommended that the Nextcloud Server is upgraded to 20.0.14, 21.0.6 or 22.2.1. Users unable to upgrade should disable the "groupfolders" application in the admin settings.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| nextcloud | security-advisories | < 20.0.14>= 21.0.0, < 21.0.6>= 22.2.0, < 22.2.1 |
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m4wp-r357-4q94 x_refsource_CONFIRM
- https://github.com/nextcloud/groupfolders/issues/1692 x_refsource_MISC
- https://github.com/nextcloud/server/pull/29362 x_refsource_MISC
- GLSA-202208-17 vendor-advisory, x_refsource_GENTOO