{"id":"CVE-2024-7260","state":"PUBLISHED","title":"Keycloak-core: open redirect on account page","description":"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.","publishedAt":"2024-09-09T18:49:59.437Z","updatedAt":"2026-01-23T17:00:35.528Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"redhat"},"assigner":"redhat","products":["keycloak","Red Hat Red Hat Build of Keycloak","Red Hat Red Hat build of Keycloak 24"],"affected":[{"packageName":"keycloak","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"24.0.7","versionType":"semver"}],"collectionURL":"https://github.com/keycloak/keycloak"},{"vendor":"Red Hat","product":"Red Hat Build of Keycloak","packageName":"keycloak-core","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:build_keycloak:24"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","packageName":"rhbk/keycloak-operator-bundle","defaultStatus":"affected","versions":[{"version":"24.0.7-4","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:build_keycloak:24::el9"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","packageName":"rhbk/keycloak-rhel9","defaultStatus":"affected","versions":[{"version":"24-16","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:build_keycloak:24::el9"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","packageName":"rhbk/keycloak-rhel9-operator","defaultStatus":"affected","versions":[{"version":"24-16","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:build_keycloak:24::el9"]}],"references":["https://access.redhat.com/errata/RHSA-2024:6502","https://access.redhat.com/errata/RHSA-2024:6503","https://access.redhat.com/security/cve/CVE-2024-7260","https://bugzilla.redhat.com/show_bug.cgi?id=2301875"],"weaknesses":["CWE-601"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/7xxx/CVE-2024-7260.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-7260","state":"PUBLISHED","datePublished":"2024-09-09T18:49:59.437Z","dateUpdated":"2026-01-23T17:00:35.528Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2024-07-30T02:24:02.197Z"},"containers":{"cna":{"title":"Keycloak-core: open redirect on account page","descriptions":[{"lang":"en","value":"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."}],"affected":[{"packageName":"keycloak","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"24.0.7","versionType":"semver"}],"collectionURL":"https://github.com/keycloak/keycloak"},{"vendor":"Red Hat","product":"Red Hat Build of Keycloak","packageName":"keycloak-core","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:build_keycloak:24"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","packageName":"rhbk/keycloak-operator-bundle","defaultStatus":"affected","versions":[{"version":"24.0.7-4","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:build_keycloak:24::el9"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","packageName":"rhbk/keycloak-rhel9","defaultStatus":"affected","versions":[{"version":"24-16","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:build_keycloak:24::el9"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","packageName":"rhbk/keycloak-rhel9-operator","defaultStatus":"affected","versions":[{"version":"24-16","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:build_keycloak:24::el9"]}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:6502","name":"RHSA-2024:6502","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6503","name":"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","name":"RHBZ#2301875","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Moderate","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-601","description":"URL Redirection to Untrusted Site ('Open Redirect')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2026-01-23T17:00:35.528Z"},"datePublic":"2024-09-09T13:55:00.000Z","x_redhatCweChain":"CWE-601: URL Redirection to Untrusted Site ('Open Redirect')","timeline":[{"lang":"en","time":"2024-07-31T02:53:42.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2024-09-09T13:55:00.000Z","value":"Made public."}],"credits":[{"lang":"en","value":"This issue was discovered by Todd Cullum (Red Hat)."}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-09T19:13:21.486531Z","id":"CVE-2024-7260","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-09T19:13:53.628Z"}}]}}}