{"id":"CVE-2021-3827","published":"2022-08-23T15:52:50Z","modified":"2024-08-03T17:09:09Z","title":"A flaw was found in keycloak, where the default ECP binding flow allows other authentication flows to be bypassed","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01175,"percentile":0.68328,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/keycloak/keycloak/security/advisories/GHSA-4pc7-vqv5-5r3v","tags":["x_refsource_MISC"]},{"url":"https://github.com/keycloak/keycloak/commit/44000caaf5051d7f218d1ad79573bd3d175cad0d","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2007512","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3827","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":13.67}]},"affectedVersions":[{"vendor":"n/a","product":"keycloak","versions":["Fixed in v18.0.0"]}],"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-saml-core","vulnerableRanges":["<18.0.0"],"patched":["18.0.0"],"from":["GHSA-4pc7-vqv5-5r3v"],"provenance":"source"}],"summary":{"text":"A flaw in Keycloak's default ECP binding flow allows other authentication flows to be bypassed. An attacker who holds a user's credentials can send a SOAP request containing an AuthnRequest and an Authorization header to skip multi-factor authentication, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:22Z"},"euvd":{"id":"EUVD-2022-1622","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-build-of-keycloak-26-2-cve-2021-3827","children":[{"from":"CVE-2021-3827","to":"CVE-2026-2575","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["services/src/main/java/org/keycloak/protocol/saml/SamlProtocolFactory.java","services/src/main/java/org/keycloak/protocol/saml/profile/ecp/SamlEcpProfileService.java"],"commits":["https://github.com/keycloak/keycloak/commit/44000caaf5051d7f218d1ad79573bd3d175cad0d","https://github.com/keycloak/keycloak/commit/4f90ef67f698dfb45df0d2f4981271a7c8b47f04"],"basis":"shared function","functions":["setupClientDefaults"]}]}]}}