CVE-2018-14637 Improper Authentication in Keycloak
Attackers can bypass authentication by replaying expired SAML assertions in Keycloak, allowing unauthorized access to protected resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-14637?
CVE-2018-14637 is a medium-severity authentication bypass vulnerability in Redhat Keycloak, published on 30 Nov 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The SAML broker consumer endpoint in Keycloak before version 4.6.0.Final ignores expiration conditions on SAML assertions. An attacker can exploit this vulnerability to perform a replay attack.
Which versions are affected by CVE-2018-14637?
2 open source packages ship an affected version, including org.keycloak:keycloak-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.keycloak:keycloak-core Maven | All versions | 4.6.0 |
org.keycloak:keycloak-core Maven | All versions | 4.6.0 |
Products include Redhat Keycloak.
How do I fix CVE-2018-14637?
Upgrade org.keycloak:keycloak-core to 4.6.0 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2018-14637 being exploited?
There is no known exploitation of CVE-2018-14637 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-gf2j-7qwg-4f5x.