← CVE Intelligence

CVE-2023-6787

Keycloak: session hijacking via re-authentication PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Not supplied / Not suppliedaffected 0 before 22.0.10; affected 0 before 24.0.3
Red Hat / Red Hat build of Keycloak 22unaffected 22.0.10-1 before *
Red Hat / Red Hat build of Keycloak 22unaffected 22-13 before *
Red Hat / Red Hat build of Keycloak 22unaffected 22-16 before *
Red Hat / Red Hat build of Keycloak 22.0.10unaffected
Red Hat / Red Hat Single Sign-On 7affected

CWE

CWE-287

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.