Session Fixation Affecting rh-sso7-keycloak-server package, versions <0:18.0.6-1.redhat_00001.1.el7sso


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.22% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-RHSSO7KEYCLOAKSERVER-4455393
  • published26 Mar 2023
  • disclosed9 Nov 2022

Introduced: 9 Nov 2022

CVE-2022-3916  (opens in a new tab)
CWE-384  (opens in a new tab)

How to fix?

Upgrade RHEL:7 rh-sso7-keycloak-server to version 0:18.0.6-1.redhat_00001.1.el7sso or higher.
This issue was patched in RHSA-2023:1043.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rh-sso7-keycloak-server package and not the rh-sso7-keycloak-server package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

A flaw was found in the offline_access scope in Keycloak. This issue would affect users of shared computers more (especially if cookies are not cleared), due to a lack of root session validation, and the reuse of session ids across root and user authentication sessions. This enables an attacker to resolve a user session attached to a previously authenticated user; when utilizing the refresh token, they will be issued a token for the original user.

CVSS Scores

version 3.1