CVE-2018-14658 Keycloak Open Redirect
Attackers can exploit improper URL normalization in Keycloak to perform open redirection attacks, potentially bypassing security controls.
- 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-14658?
CVE-2018-14658 is a medium-severity vulnerability in Redhat Keycloak, published on 13 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
A flaw was found in JBOSS Keycloak 3.2.1.Final. The Redirect URL for both Login and Logout are not normalized in org.keycloak.protocol.oidc.utils.RedirectUtils before the redirect url is verified. This can lead to an Open Redirection attack
Weakness: CWE-601
Which versions are affected by CVE-2018-14658?
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 to 3.2.1.Final | None |
org.keycloak:keycloak-core Maven | All versions to 3.2.1.Final | None |
Products include Redhat Keycloak.
How do I fix CVE-2018-14658?
Upgrade to a fixed version.
Is CVE-2018-14658 being exploited?
There is no known exploitation of CVE-2018-14658 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-3qh2-mccc-q5m6.