Auth bypass in Red Hat Keycloak
CVE-2021-3827
A flaw was found in keycloak, where the default ECP binding flow allows other authentication flows to be bypassed. By exploiting this behavior, an attacker can bypass the MFA authentication by sending a SOAP request with an AuthnRequest and Authorization header with the user's credentials. The highest threat from this vulnerability is to confidentiality and integrity.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.012, 68.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Red Hat Keycloak
- Red Hat Openshift Container Platform — versions 4.8, 4.9
- Red Hat Single Sign-On — versions 7.0, 7.5.0
- Keycloak — versions Fixed in v18.0.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, muneebaashiq/MBProjects). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/keycloak/keycloak/security/advisories/GHSA-4pc7-vqv5-5r3v (Third Party Advisory)
- github.com/keycloak/keycloak/commit/44000caaf5051d7f218d1ad79573bd3d175cad0d (Patch, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Issue Tracking, Vendor Advisory)
- access.redhat.com/security/cve/CVE-2021-3827 (Vendor Advisory)