SARA / Free Tools / CVE / CVE-2023-6787

CVE-2023-6787 — A flaw was found in Keycloak that occurs from an error in the re-authentication

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," prompt

CVSS
6.5 MEDIUM
EPSS
0.39% (top 40.60%)
CWE
CWE-287
Published
2024-04-25T16:02:32.916Z
Last modified
2025-11-11T15:57:32.291Z
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

01What is this vulnerability?

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…

02Affected products

VendorProductVersions
??0, 0
Red HatRed Hat build of Keycloak 2222.0.10-1
Red HatRed Hat build of Keycloak 2222-13
Red HatRed Hat build of Keycloak 2222-16
Red HatRed Hat build of Keycloak 22.0.10unspecified
Red HatRed Hat Single SignOn 7 — unspecified

03Active exploitation status

Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.

04Recommended remediation

05Technical details

For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.

06Detection signatures

Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.

07Related CVEs

No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.

08Timeline

09References

Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →