6.8medium
ECP SAML binding bypasses authentication flows
- Severity
- 6.8medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.18% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-4pc7-vqv5-5r3v
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| keycloak | Fixed in v18.0.0 | CVE List |
| org.keycloak:keycloak-saml-core (Maven) | before 18.0.0 | GitHub Advisory Database |
| redhat keycloak | before 18.0.0 | NVD |
| redhat single_sign-on | 7.0, 7.5.0 | NVD |
| redhat openshift_container_platform | 4.8, 4.9 | NVD |
All scores
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Description
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.
NVD (es)
Se ha encontrado un fallo en keycloak, en el que el flujo de vinculación ECP por defecto permite omitir otros flujos de autenticación. Al explotar este comportamiento, un atacante puede omitir la autenticación MFA mediante el envío de una petición SOAP con un encabezado AuthnRequest y Authorization con las credenciales del usuario. La mayor amenaza de esta vulnerabilidad es para la confidencialidad y la integridad.
References
| https://github.com/keycloak/keycloak/security/advisories/GHSA-4pc7-vqv5-5r3v | third-party-advisory, web | |
| https://github.com/keycloak/keycloak/commit/44000caaf5051d7f218d1ad79573bd3d175cad0d | patch, third-party-advisory, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2007512 | issue-tracking, vendor-advisory, web | |
| https://access.redhat.com/security/cve/CVE-2021-3827 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-3827 | advisory | |
| https://github.com/keycloak/keycloak | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3827 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4pc7-vqv5-5r3v changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-3827 changed 2026-06-17 | Public domain |