CVE-2019-10157: Medium severity red hat keycloak vulnerability

Published Apr 25, 2019
·
Updated

It was found that Keycloak's Node.js adapter before version 4.8.3 did not properly verify the web token received from the server in its backchannel logout . An attacker with local access could use this to construct a malicious web token setting an NBF parameter that could prevent user access indefinitely.

Other sources

It was found that Keycloak's Node.js adapter did not properly verify the web token received from the server in its backchannel logout. An attacker with local access could use this to construct a malicious web token setting an NBF parameter that could prevent user access indefinitely.

The admin backchannel logout route (/klogout) doesn't verify the signature of the JWT it receives from Keycloak. This causes to the adapter to update the grant manager with a NBF in the future. This effectively logs users out of the app and prevents them from logging in again. Since the tokens received from the code exchange will appear to be in the future, this could be used maliciously against applications using the adapter.

Upstream patch:

https://github.com/keycloak/keycloak-nodejs-connect/commit/55e54b55d05ba636bc125a8f3d39f0052d13f8f6

Red Hat

Affected Software

3 affected componentsFixes available
redhat/keycloak-nodejs-connect<4.8.3
4.8.3
redhat keycloak<4.8.3
redhat Single Sign-on<7.3.2

Event History

Jun 11, 2019
CVE Published
02:23 PM
Data Sourced
02:23 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 12, 2019
CVE Published
via MITRE·01:48 PM
Data Sourced
via MITRE·01:48 PM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2019-10157?

CVE-2019-10157 is considered a medium severity vulnerability due to potential unauthorized access to user sessions.

2

How do I fix CVE-2019-10157?

To fix CVE-2019-10157, update the keycloak-nodejs-connect package to version 4.8.3 or later.

3

What systems are affected by CVE-2019-10157?

CVE-2019-10157 affects Keycloak's Node.js adapter versions prior to 4.8.3.

4

What exploit scenario is possible with CVE-2019-10157?

An attacker with local access could potentially craft a malicious web token to disrupt user access.

5

Is there a workaround for CVE-2019-10157?

There is no specific workaround for CVE-2019-10157; upgrading to the fixed version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203