Keycloak JARM form_post.jwt Wildcard Exploit Leaks Auth Tokens
CVE-2023-6927 Published on December 18, 2023
Keycloak: open redirect via "form_post.jwt" jarm response mode
A flaw was found in Keycloak. This issue may allow an attacker to steal authorization codes or tokens from clients using a wildcard in the JARM response mode "form_post.jwt" which could be used to bypass the security patch implemented to address CVE-2023-6134.
Vulnerability Analysis
CVE-2023-6927 can be exploited with network access, requires user interaction and a small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality and integrity, and no impact on availability.
Timeline
Reported to Red Hat.
Made public.
Weakness Type
What is an Open Redirect Vulnerability?
A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks. An http parameter may contain a URL value and could cause the web application to redirect the request to the specified URL. By modifying the URL value to a malicious site, an attacker may successfully launch a phishing scam and steal user credentials. Because the server name in the modified link is identical to the original site, phishing attempts have a more trustworthy appearance.
CVE-2023-6927 has been classified to as an Open Redirect vulnerability or weakness.
Products Associated with CVE-2023-6927
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-6927 are published in these products:
Affected Versions
Red Hat build of Keycloak 22:- Version 22-7 and below * is unaffected.
- Version 0:18.0.11-3.redhat_00001.1.el7sso and below * is unaffected.
- Version 0:18.0.12-1.redhat_00001.1.el7sso and below * is unaffected.
- Version 0:18.0.11-3.redhat_00001.1.el8sso and below * is unaffected.
- Version 0:18.0.12-1.redhat_00001.1.el8sso and below * is unaffected.
- Version 0:18.0.11-3.redhat_00001.1.el9sso and below * is unaffected.
- Version 0:18.0.12-1.redhat_00001.1.el9sso and below * is unaffected.
- Version 7.6-39 and below * is unaffected.
- Version 7.6-41 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.