← Übersicht Red Hat Enterprise Linux, Keycloak, OpenShift

Keycloak: session takeover with oidc offline refreshtokens

CVE-2022-3916 · GHSA-97g8-xfvw-q4hg · WID-SEC-W-2022-2009

Mittel · CVSS 6.8 BSI: mittelRed Hat: Moderate Netzwerk · mit Login Fix verfügbar

Veröffentlicht
09.11.2022
Zuletzt geändert
03.08.2024
EPSS (30 Tage)
1.0 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 2 betroffen, 6 behoben, 1 nicht betroffen.

Open Source Keycloak Betroffen
Red Hat Enterprise Linux Betroffen
Middleware Containers for OpenShift Behoben rh-sso-7/sso76-openshift-rhel8 RHSA-2022:8964, RHSA-2023:1047
Red Hat Single Sign-On 7 Behoben RHSA-2023:1049
Red Hat Single Sign-On 7.6 for RHEL 7 Server Behoben rh-sso7-keycloak-18.0.3-1.redhat_00002.1.el7sso, rh-sso7-keycloak-18.0.6-1.redhat_00001.1.el7sso RHSA-2022:8961, RHSA-2023:1043
Red Hat Single Sign-On 7.6 for RHEL 8 Behoben rh-sso7-keycloak-18.0.3-1.redhat_00002.1.el8sso, rh-sso7-keycloak-18.0.6-1.redhat_00001.1.el8sso RHSA-2022:8962, RHSA-2023:1044
Red Hat Single Sign-On 7.6 for RHEL 9 Behoben rh-sso7-keycloak-18.0.3-1.redhat_00002.1.el9sso, rh-sso7-keycloak-18.0.6-1.redhat_00001.1.el9sso RHSA-2022:8963, RHSA-2023:1045
Red Hat Single Sign-On 7.6.1 Behoben RHSA-2022:8965
Nicht betroffen (1)
Middleware Containers for OpenShiftNicht betroffenverwundbarer Code nicht enthaltenrh-sso-7/sso7-rhel8-operator, rh-sso-7/sso7-rhel8-operator-bundle

Betroffene Pakete im beobachteten Stack

Mavenorg.keycloak:keycloak-parent20.0.2GHSA-97g8-xfvw-q4hg
NVDredhat:keycloak20.0.2CVE-2022-3916
NVDredhat:openshift_container_platformkein Fix bekanntCVE-2022-3916
NVDredhat:openshift_container_platform_for_linuxonekein Fix bekanntCVE-2022-3916
NVDredhat:openshift_container_platform_for_powerkein Fix bekanntCVE-2022-3916
NVDredhat:openshift_container_platform_ibm_z_systemskein Fix bekanntCVE-2022-3916
NVDredhat:single_sign-onkein Fix bekanntCVE-2022-3916
Red Hat:red_hat_single_sign_on:7.6::el7rh-sso7-keycloak0:18.0.3-1.redhat_00002.1.el7ssoCVE-2022-3916
Red Hat:red_hat_single_sign_on:7.6::el7rh-sso7-keycloak0:18.0.6-1.redhat_00001.1.el7ssoCVE-2022-3916
Red Hat:red_hat_single_sign_on:7.6::el7rh-sso7-keycloak0:18.0.3-1.redhat_00002.1.el7ssoRHSA-2022:8961 (über RHSA-2022:8961)
Red Hat:red_hat_single_sign_on:7.6::el7rh-sso7-keycloak0:18.0.6-1.redhat_00001.1.el7ssoRHSA-2023:1043 (über RHSA-2023:1043)
Red Hat:red_hat_single_sign_on:7.6::el7rh-sso7-keycloak-server0:18.0.3-1.redhat_00002.1.el7ssoRHSA-2022:8961 (über RHSA-2022:8961)
Red Hat:red_hat_single_sign_on:7.6::el7rh-sso7-keycloak-server0:18.0.6-1.redhat_00001.1.el7ssoRHSA-2023:1043 (über RHSA-2023:1043)
Red Hat:red_hat_single_sign_on:7.6::el8rh-sso7-keycloak0:18.0.6-1.redhat_00001.1.el8ssoCVE-2022-3916
Red Hat:red_hat_single_sign_on:7.6::el8rh-sso7-keycloak0:18.0.3-1.redhat_00002.1.el8ssoCVE-2022-3916
Red Hat:red_hat_single_sign_on:7.6::el8rh-sso7-keycloak0:18.0.3-1.redhat_00002.1.el8ssoRHSA-2022:8962 (über RHSA-2022:8962)
Red Hat:red_hat_single_sign_on:7.6::el8rh-sso7-keycloak0:18.0.6-1.redhat_00001.1.el8ssoRHSA-2023:1044 (über RHSA-2023:1044)
Red Hat:red_hat_single_sign_on:7.6::el8rh-sso7-keycloak-server0:18.0.3-1.redhat_00002.1.el8ssoRHSA-2022:8962 (über RHSA-2022:8962)
Red Hat:red_hat_single_sign_on:7.6::el8rh-sso7-keycloak-server0:18.0.6-1.redhat_00001.1.el8ssoRHSA-2023:1044 (über RHSA-2023:1044)
Red Hat:red_hat_single_sign_on:7.6::el9rh-sso7-keycloak0:18.0.6-1.redhat_00001.1.el9ssoCVE-2022-3916
Red Hat:red_hat_single_sign_on:7.6::el9rh-sso7-keycloak0:18.0.3-1.redhat_00002.1.el9ssoCVE-2022-3916
Red Hat:red_hat_single_sign_on:7.6::el9rh-sso7-keycloak0:18.0.3-1.redhat_00002.1.el9ssoRHSA-2022:8963 (über RHSA-2022:8963)
Red Hat:red_hat_single_sign_on:7.6::el9rh-sso7-keycloak0:18.0.6-1.redhat_00001.1.el9ssoRHSA-2023:1045 (über RHSA-2023:1045)
Red Hat:red_hat_single_sign_on:7.6::el9rh-sso7-keycloak-server0:18.0.3-1.redhat_00002.1.el9ssoRHSA-2022:8963 (über RHSA-2022:8963)
Red Hat:red_hat_single_sign_on:7.6::el9rh-sso7-keycloak-server0:18.0.6-1.redhat_00001.1.el9ssoRHSA-2023:1045 (über RHSA-2023:1045)

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · mit Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.