CVE-2021-3827
JSON

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 packageVersionsReported by
keycloakFixed in v18.0.0CVE List
org.keycloak:keycloak-saml-core (Maven)before 18.0.0GitHub Advisory Database
redhat keycloakbefore 18.0.0NVD
redhat single_sign-on7.0, 7.5.0NVD
redhat openshift_container_platform4.8, 4.9NVD

All scores

GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD6.8medium CVSS:3.1CVSS: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

Sources

SourceRecordLicence
CVE ListCVE-2021-3827 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-4pc7-vqv5-5r3v changed 2026-07-08CC-BY-4.0
NVDCVE-2021-3827 changed 2026-06-17Public domain