CVE-2021-41179
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data exposure.
- Exploit odds
- 1.2% 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.2% in the next 30 days (EPSS).
- Severity: 6.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.2% · EPSS, next 30 days
- Weakness
- CWE-304
- Record status
- Modified
Affected
- Nextcloud Server < 20.0.13
- Nextcloud Server < 21.0.5
- Nextcloud Server < 22.2.0
Attack profile CVSS 3.1 · 6.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/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-41179.md and follow it. Check whether this project is affected by CVE-2021-41179. 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-7hvh-rc6f-px23
- https://github.com/nextcloud/server/pull/28725
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-7hvh-rc6f-px23
- https://github.com/nextcloud/server/pull/28725
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-7hvh-rc6f-px23
- https://github.com/nextcloud/server/pull/28725
- https://hackerone.com/reports/1322865
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-7hvh-rc6f-px23
- https://github.com/nextcloud/server/pull/28725
- https://hackerone.com/reports/1322865