Vulnerability Name:

CVE-2021-41177 (CCN-211970)

Assigned:2021-10-25
Published:2021-10-25
Updated:2022-10-26
Summary:Nextcloud is an open-source, self-hosted productivity platform. Prior to versions 20.0.13, 21.0.5, and 22.2.0, Nextcloud Server did not implement a database backend for rate-limiting purposes. Any component of Nextcloud using rate-limits (as as `AnonRateThrottle` or `UserRateThrottle`) was thus not rate limited on instances not having a memory cache backend configured. In the case of a default installation, this would notably include the rate-limits on the two factor codes. It is recommended that the Nextcloud Server be upgraded to 20.0.13, 21.0.5, or 22.2.0. As a workaround, enable a memory cache backend in `config.php`.
CVSS v3 Severity:8.1 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H)
7.1 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): High
8.1 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H)
7.1 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:5.5 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): Partial
8.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:C/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-799
Vulnerability Consequences:Obtain Information
References:Source: MITRE
Type: CNA
CVE-2021-41177

Source: XF
Type: UNKNOWN
nextcloud-cve202141177-info-disc(211970)

Source: CCN
Type: Nextcloud GIT Repository
Rate-limits not working on instances without configured memory cache backend

Source: CONFIRM
Type: Third Party Advisory
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-fj39-4qx4-m3f2

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/nextcloud/server/pull/28728

Source: MISC
Type: Permissions Required, Third Party Advisory
https://hackerone.com/reports/1265709

Source: GENTOO
Type: Third Party Advisory
GLSA-202208-17

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2021-41177

Vulnerable Configuration:Configuration 1:
  • cpe:/a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:* (Version >= 22.0.0 and < 22.2.0)
  • OR cpe:/a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:* (Version >= 21.0.0 and < 21.0.5)
  • OR cpe:/a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:* (Version < 20.0.13)

  • Configuration CCN 1:
  • cpe:/a:nextcloud:nextcloud_server:20.0.0:-:*:*:*:*:*:*
  • OR cpe:/a:nextcloud:nextcloud_server:19.0.0:-:*:*:*:*:*:*
  • OR cpe:/a:nextcloud:nextcloud_server:22.1.0:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:96437
    P
    Security update for nextcloud (Important)
    2021-12-20
    oval:org.opensuse.security:def:111176
    P
    Security update for nextcloud (Important)
    2021-12-20
    oval:org.opensuse.security:def:35512
    P
    Security update for nextcloud (Important)
    2021-12-20
    oval:org.opensuse.security:def:100357
    P
    Security update for nextcloud (Important)
    2021-12-20
    oval:org.opensuse.security:def:111525
    P
    Security update for nextcloud (Important)
    2021-12-20
    oval:org.opensuse.security:def:11160
    P
    Security update for nextcloud (Important)
    2021-12-20
    oval:org.opensuse.security:def:103127
    P
    Security update for nextcloud (Important)
    2021-12-20
    oval:org.opensuse.security:def:107023
    P
    Security update for nextcloud (Important)
    2021-12-20
    oval:org.opensuse.security:def:93644
    P
    Security update for nextcloud (Important)
    2021-12-20
    oval:org.opensuse.security:def:109784
    P
    Security update for nextcloud (Important)
    2021-12-20
    BACK
    nextcloud nextcloud server *
    nextcloud nextcloud server *
    nextcloud nextcloud server *
    nextcloud nextcloud server 20.0.0
    nextcloud nextcloud server 19.0.0 -
    nextcloud nextcloud server 22.1.0 -