CVE-2019-3868 Exposure of Sensitive Information to an Unauthorized Actor in Keycloak
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.
| Package | Affected | Fixed in |
|---|---|---|
org.keycloak:keycloak-core Maven | All versions | 6.0.0 |
org.keycloak:keycloak-core Maven | All versions | 6.0.0 |
Linux distribution packages (4)
rh-sso7-keycloak Red Hat:red_hat_single_sign_on:7::el6 | All versions | 0:3.4.17-1.Final_redhat_00001.1.jbcs.el6 |
rh-sso7-keycloak-server Red Hat:red_hat_single_sign_on:7::el6 | All versions | 0:3.4.17-1.Final_redhat_00001.1.jbcs.el6 |
rh-sso7-keycloak Red Hat:red_hat_single_sign_on:7::el7 | All versions | 0:3.4.17-1.Final_redhat_00001.1.jbcs.el7 |
rh-sso7-keycloak-server Red Hat:red_hat_single_sign_on:7::el7 | All versions | 0: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.
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-gc52-xj6p-9pxp, RHSA-2019:0856, RHSA-2019:0857.