6.5medium
Two-Factor Authentication not enforced for pages marked as public
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.20% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Nextcloud is an open-source, self-hosted productivity platform. Prior to Nextcloud Server versions 20.0.13, 21.0.5, and 22.2.0, the Two-Factor Authentication wasn't enforced for pages marked as public. Any page marked as `@PublicPage` could thus be accessed with a valid user session that isn't authenticated. This particularly affects the Nextcloud Talk application, as this could be leveraged to gain access to any private chat channel without going through the Two-Factor flow. It is recommended that the Nextcloud Server be upgraded to 20.0.13, 21.0.5 or 22.2.0. There are no known workarounds aside from upgrading.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nextcloud security-advisories | < 20.0.13, >= 21.0.0, < 21.0.5, < 22.2.0 | CVE List |
| nextcloud server | from 20.0.3 before 20.0.13, from 21.0.1 before 21.0.5, from 22.1.1 before 22.2.0 | NVD |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Classification
What each source says
CVE List
Nextcloud is an open-source, self-hosted productivity platform. Prior to Nextcloud Server versions 20.0.13, 21.0.5, and 22.2.0, the Two-Factor Authentication wasn't enforced for pages marked as public. Any page marked as `@PublicPage` could thus be accessed with a valid user session that isn't authenticated. This particularly affects the Nextcloud Talk application, as this could be leveraged to gain access to any private chat channel without going through the Two-Factor flow. It is recommended that the Nextcloud Server be upgraded to 20.0.13, 21.0.5 or 22.2.0. There are no known workarounds aside from upgrading.
NVD (es)
Nextcloud es una plataforma de productividad de código abierto y auto-alojada. Nextcloud Server versiones 20.0.13, 21.0.5 y 22.2.0, la autenticación de dos factores no se aplicaba a las páginas marcadas como públicas. Por lo tanto, se podía acceder a cualquier página marcada como "@PublicPage" con una sesión de usuario válida que no estuviera autenticada. Esto afecta especialmente a la aplicación Nextcloud Talk, ya que podría aprovecharse para acceder a cualquier canal de chat privado sin pasar por el flujo de dos factores. Es recomendado actualizar el servidor Nextcloud a la versión 20.0.13, 21.0.5 o 22.2.0. No se presentan soluciones conocidas aparte de la actualización
References
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-7hvh-rc6f-px23 | third-party-advisory | |
| https://github.com/nextcloud/server/pull/28725 | patch, third-party-advisory | |
| https://hackerone.com/reports/1322865 | permissions-required | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-41179 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-41179 changed 2026-06-17 | Public domain |