CVE-2019-3868 Exposure of Sensitive Information to an Unauthorized Actor in Keycloak

Low 3.8 Published Updated

Attackers with backend access can hijack user browser sessions by using JWT tokens as session cookies in Keycloak.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-3868?

CVE-2019-3868 is a low-severity vulnerability in Redhat Keycloak, published on 24 Apr 2019. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Keycloak up to version 6.0.0 allows the end user token (access or id token JWT) to be used as the session cookie for browser sessions for OIDC. As a result an attacker with access to service provider backend could hijack user’s browser session.

Weakness: CWE-200

Which versions are affected by CVE-2019-3868?

2 open source packages ship an affected version, including org.keycloak:keycloak-core. It affects 1 product.

PackageAffectedFixed in
org.keycloak:keycloak-core MavenAll versions6.0.0
org.keycloak:keycloak-core MavenAll versions6.0.0
Linux distribution packages (4)
rh-sso7-keycloak Red Hat:red_hat_single_sign_on:7::el6All versions0:3.4.17-1.Final_redhat_00001.1.jbcs.el6
rh-sso7-keycloak-server Red Hat:red_hat_single_sign_on:7::el6All versions0:3.4.17-1.Final_redhat_00001.1.jbcs.el6
rh-sso7-keycloak Red Hat:red_hat_single_sign_on:7::el7All versions0:3.4.17-1.Final_redhat_00001.1.jbcs.el7
rh-sso7-keycloak-server Red Hat:red_hat_single_sign_on:7::el7All versions0:3.4.17-1.Final_redhat_00001.1.jbcs.el7

Products include Redhat Keycloak.

How do I fix CVE-2019-3868?

Upgrade org.keycloak:keycloak-core to 6.0.0 or later.

Is CVE-2019-3868 being exploited?

There is no known exploitation of CVE-2019-3868 in the wild and no public exploit code.

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-gc52-xj6p-9pxp, RHSA-2019:0856, RHSA-2019:0857.

Is CVE-2019-3868 in your software?

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

Check your SBOMs for free