Improper Authentication Affecting keycloak-fips package, versions <24.0.3-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.74% (50th 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-CHAINGUARDLATEST-KEYCLOAKFIPS-6663395
  • published19 Apr 2024
  • disclosed25 Apr 2024

Introduced: 19 Apr 2024

CVE-2023-6787  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade Chainguard keycloak-fips to version 24.0.3-r0 or higher.

NVD Description

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

A flaw was found in Keycloak that occurs from an error in the re-authentication mechanism within org.keycloak.authentication. This flaw allows hijacking an active Keycloak session by triggering a new authentication process with the query parameter "prompt=login," prompting the user to re-enter their credentials. If the user cancels this re-authentication by selecting "Restart login," an account takeover may occur, as the new session, with a different SUB, will possess the same SID as the previous session.

CVSS Base Scores

version 3.1