Auth bypass in Nextcloud Server
CVE-2021-41241
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.009, 58.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nextcloud Server — versions 22.2.0
- Nextcloud Security-Advisories — versions < 20.0.14, >= 21.0.0, < 21.0.6, >= 22.2.0, < 22.2.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, karimhabush/cyberowl). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/nextcloud/security-advisories/security/advisories/GHSA-m4wp-r357-4q94 (Third Party Advisory, Issue Tracking)
- github.com/nextcloud/groupfolders/issues/1692 (Patch, Third Party Advisory, Issue Tracking)
- github.com/nextcloud/server/pull/29362 (Patch, Third Party Advisory)
- GLSA-202208-17 (vendor-advisory, Third Party Advisory)