CVE-2018-14658 Keycloak Open Redirect

Medium 6.1 Published Updated

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.

PackageAffectedFixed in
org.keycloak:keycloak-core MavenAll versions to 3.2.1.FinalNone
org.keycloak:keycloak-core MavenAll versions to 3.2.1.FinalNone

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.

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-3qh2-mccc-q5m6.

Is CVE-2018-14658 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free