Vulnerability · Published Aug 23, 2022 · Assigned by redhat
CVE-2021-3827
Medium 6.8
In plain English
A medium-severity improper authentication in keycloak. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-saml-core | 18.0.0 | GHSA-4pc7-vqv5-5r3v |
Affected products (as reported)
Weakness: CWE-287
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-4pc7-vqv5-5r3v x_refsource_MISC
- https://github.com/keycloak/keycloak/commit/44000caaf5051d7f218d1ad79573bd3d175cad0d x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=2007512 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2021-3827 x_refsource_MISC