Open Redirect in Red Hat Build Of Keycloak
CVE-2024-7260
An open redirect vulnerability was found in Keycloak. A specially crafted URL can be constructed where the referrer and referrer_uri parameters are made to trick a user to visit a malicious webpage. A trusted URL can trick users and automation into believing that the URL is safe, when, in fact, it redirects to a malicious server. This issue can result in a victim inadvertently trusting the destination of the redirect, potentially leading to a successful phishing attack or other types of attacks. Once a crafted URL is made, it can be sent to a Keycloak admin via email for example. This will trigger this vulnerability when the user visits the page and clicks the link. A malicious actor can use this to target users they know are Keycloak admins for further attacks. It may also be possible to bypass other domain-related security checks, such as supplying this as a OAuth redirect uri. The malicious actor can further obfuscate the redirect_uri using URL encoding, to hide the text of the actual malicious website domain.
Vulnerability class: Open Redirect
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.006 (45.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 46th percentile — 45.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Red Hat Build Of Keycloak
- Red Hat Build Of Keycloak 24 — versions 24.0.7-4, 24-16
- Red Hat Build Of Keycloak
- Red Hat Keycloak
Weakness classification (CWE)
Public proof-of-concept exploits
References
- access.redhat.com/errata/RHSA-2024:6502 (vendor-advisory, Issue Tracking)
- access.redhat.com/errata/RHSA-2024:6503 (vendor-advisory, Issue Tracking)
- access.redhat.com/security/cve/CVE-2024-7260 (vdb-entry, Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2024-7260?
- CVE-2024-7260 is a medium-severity vulnerability in Red Hat Build Of Keycloak, classified under URL Redirection to Untrusted Site (Open Redirect). CVSS score: 6.1/10. Published 2024-09-09.
- How severe is CVE-2024-7260?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2024-7260 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.