Improper Restriction of Excessive Authentication Attempts in Keycloak - CVE-2024-4629
Published: September 18, 2024
Vulnerability identifier: #VU97468
CSH Severity: Medium
CVSS v4: 9.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-4629
CWE-ID: CWE-307
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a brute-force attack.
The vulnerability exists due to an error when handling unsuccessful login attempts. A remote attacker can initiate multiple login requests simultaneously and bypass the configured limits for failed attempts before the system locks them out.
Affected software
Keycloak
Red Hat Single Sign-On
rh-sso7-keycloak (Red Hat package)
Red Hat build of Keycloak
Red Hat Single Sign-On
rh-sso7-keycloak (Red Hat package)
Red Hat build of Keycloak
How to mitigate CVE-2024-4629
Install updates from vendor's website.
Keycloak - addressed in versions 22.0.12, 24.0.7, 25.0.4
Red Hat Single Sign-On - update to 7.6.10
rh-sso7-keycloak (Red Hat package) - addressed in versions 18.0.16-1.redhat_00001.1.el7sso, 18.0.16-1.redhat_00001.1.el8sso, 18.0.16-1.redhat_00001.1.el9sso
Red Hat build of Keycloak - update to 22.0.12
Red Hat Single Sign-On - update to 7.6.10
rh-sso7-keycloak (Red Hat package) - addressed in versions 18.0.16-1.redhat_00001.1.el7sso, 18.0.16-1.redhat_00001.1.el8sso, 18.0.16-1.redhat_00001.1.el9sso
Red Hat build of Keycloak - update to 22.0.12
External References
Related Security Bulletins
- Brute-force protection bypass in Keycloak
- Multiple vulnerabilities in Red Hat Single Sign-On 7.6 for RHEL 9
- Multiple vulnerabilities in Red Hat Single Sign-On 7.6 for RHEL 8
- Multiple vulnerabilities in Red Hat Single Sign-On 7.6
- Multiple vulnerabilities in Red Hat Single Sign-On 7.6
- Multiple vulnerabilities in Red Hat Single Sign-On 7.6
- Multiple vulnerabilities in Red Hat build of Keycloak 22.0
- Multiple vulnerabilities in Red Hat build of Keycloak 22.0