{"id":"CVE-2024-7260","published":"2024-09-09T18:49:59Z","modified":"2026-01-23T17:00:35Z","title":"Keycloak-core: open redirect on account page","vendor":"Red Hat","product":"Red Hat Build of Keycloak","tier":"tail","description":{"text":"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.\r\n\r\nOnce 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00579,"percentile":0.48553,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:6502","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6503","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-7260","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2301875","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":9.71},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["< 24.0.7"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-09T19:13:21.486531Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-core","vulnerableRanges":["<24.0.7"],"patched":["24.0.7"],"from":["GHSA-g4gc-rh26-m3p5"],"provenance":"source"}],"summary":{"text":"The Keycloak-core component of Red Hat Build of Keycloak contains an open redirect flaw in its account page, where the referrer and referrer_uri parameters can be abused to send users to an attacker-controlled site. An unauthenticated remote attacker can craft a URL and deliver it to a victim, such as by email, requiring the victim to visit the page and click the link, after which the victim is redirected to a malicious webpage that can enable phishing or further attacks.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:21Z"},"euvd":{"id":"EUVD-2024-2787","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-4918","published":"2023-09-12","fixed":"22.0.3","kev":false},{"cve":"CVE-2023-6927","published":"2023-12-18","fixed":"23.0.4","kev":false},{"cve":"CVE-2023-6841","published":"2024-09-10","fixed":"24.0.0","kev":false,"link":{"from":"CVE-2023-6841","to":"CVE-2024-7260","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-core","fromFixed":"24.0.0","toFixed":"24.0.7","daysApart":-1}]}},{"cve":"CVE-2024-7260","published":"2024-09-09","fixed":"24.0.7","kev":false},{"cve":"CVE-2024-7318","published":"2024-09-09","fixed":"25.0.4","kev":false}],"package":"Maven:org.keycloak:keycloak-core"}}