A flaw was found in Keycloak 4.2.1.Final, 4.3.0.Final. When TOPT enabled, an improper implementation of the Brute Force detection algorithm will not enforce its protection measures.
The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame, making it more susceptible to brute force attacks.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Keycloak | Redhat | 4.2.1 (including) | 4.2.1 (including) |
Keycloak | Redhat | 4.3.0 (including) | 4.3.0 (including) |
Red Hat Single Sign-On 7.2.5 zip | RedHat | * | |
Red Hat Single Sign-On 7.2 for RHEL 6 | RedHat | rh-sso7-keycloak-0:3.4.14-1.Final_redhat_00001.1.jbcs.el6 | * |
Red Hat Single Sign-On 7.2 for RHEL 7 | RedHat | rh-sso7-keycloak-0:3.4.14-1.Final_redhat_00001.1.jbcs.el7 | * |
Common protection mechanisms include:
Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator. [REF-45]