CVE-2018-10894 Keycloak Authentication Error
Attackers can bypass SAML authentication using expired certificates to access unauthorized data in Keycloak.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-10894?
CVE-2018-10894 is a medium-severity authentication bypass vulnerability in Redhat Keycloak, published on 1 Aug 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
It was found that SAML authentication in Keycloak 3.4.3.Final incorrectly authenticated expired certificates. A malicious user could use this to access unauthorized data or possibly conduct further attacks.
Which versions are affected by CVE-2018-10894?
4 open source packages ship an affected version, including org.keycloak:keycloak-saml-adapter-core and org.keycloak:keycloak-services. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.keycloak:keycloak-saml-adapter-core Maven | All versions | 4.4.0.Final |
org.keycloak:keycloak-saml-adapter-core Maven | All versions | 4.4.0.Final |
org.keycloak:keycloak-services Maven | All versions | 4.4.0.Final |
org.keycloak:keycloak-services Maven | All versions | 4.4.0.Final |
Products include Redhat Keycloak, Redhat Single Sign-On.
How do I fix CVE-2018-10894?
Upgrade org.keycloak:keycloak-saml-adapter-core to 4.4.0.Final or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2018-10894 being exploited?
There is no known exploitation of CVE-2018-10894 in the wild and no public exploit code.
Other vulnerabilities in Redhat Keycloak
- CVE-2022-4361 Keycloak vulnerable to cross-site scripting when validating URI-schemes on SAML and OIDC
- CVE-2022-1245 Keycloak vulnerable to privilege escalation on Token Exchange feature
- CVE-2021-20195 keycloak Self Stored Cross-site Scripting vulnerability
- CVE-2019-14910 Keycloak Authentication Error
- CVE-2019-14909 Keycloak Authentication Error
Sources
Also known as GHSA-xvv8-8wh9-9fh2.