Vulnerability Name:

CVE-2021-3632 (CCN-234996)

Assigned:2021-09-22
Published:2021-09-22
Updated:2022-11-23
Summary:A flaw was found in Keycloak. This vulnerability allows anyone to register a new security device or key when there is not a device already registered for any user by using the WebAuthn password-less login flow.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.5 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.1 High (CCN CVSS v2 Vector: AV:N/AC:H/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): High
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-287
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2021-3632

Source: MISC
Type: Vendor Advisory
https://access.redhat.com/security/cve/CVE-2021-3632

Source: CCN
Type: Red Hat Bugzilla - Bug 1978196
(CVE-2021-3632) - CVE-2021-3632 keycloak: Anyone can register a new device when there is no device registered for passwordless login

Source: MISC
Type: Issue Tracking, Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1978196

Source: XF
Type: UNKNOWN
keycloak-cve20213632-sec-bypass(234996)

Source: CCN
Type: Keycloak GIT Repository
Prevent security flaw using passwordless authentication

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/keycloak/keycloak/commit/65480cb5a11630909c086f79d396004499fbd1e4

Source: MISC
Type: Issue Tracking, Patch, Third Party Advisory
https://github.com/keycloak/keycloak/pull/8203

Source: MISC
Type: Permissions Required, Vendor Advisory
https://issues.redhat.com/browse/KEYCLOAK-18500

Source: CCN
Type: Mend Vulnerability Database
CVE-2021-3632

Vulnerable Configuration:Configuration 1:
  • cpe:/a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:keycloak:*:*:*:*:*:*:*:* (Version < 15.1.0)

  • Configuration 2:
  • cpe:/a:redhat:single_sign-on:*:*:*:*:*:*:*:* (Version >= 7.4 and < 7.4.9)
  • AND
  • cpe:/o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:redhat:keycloak:15.0.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    redhat single sign-on 7.0
    redhat keycloak *
    redhat single sign-on *
    redhat enterprise linux 7.0
    redhat enterprise linux 6.0
    redhat enterprise linux 8.0
    redhat keycloak 15.0.0