You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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.
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
[{"defaultStatus":"unaffected","collectionURL":"https://github.com/keycloak/keycloak","packageName":"keycloak","versions":[{"version":"0","lessThan":"24.0.7","versionType":"semver","status":"affected"}]},{"vendor":"Red Hat","product":"Red Hat Build of Keycloak","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"keycloak-core","cpes":["cpe:/a:redhat:build_keycloak:24"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","defaultStatus":"affected","collectionURL":"https://catalog.redhat.com/software/containers/","packageName":"rhbk/keycloak-operator-bundle","cpes":["cpe:/a:redhat:build_keycloak:24::el9"],"versions":[{"version":"24.0.7-4","lessThan":"*","versionType":"rpm","status":"unaffected"}]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","defaultStatus":"affected","collectionURL":"https://catalog.redhat.com/software/containers/","packageName":"rhbk/keycloak-rhel9","cpes":["cpe:/a:redhat:build_keycloak:24::el9"],"versions":[{"version":"24-16","lessThan":"*","versionType":"rpm","status":"unaffected"}]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","defaultStatus":"affected","collectionURL":"https://catalog.redhat.com/software/containers/","packageName":"rhbk/keycloak-rhel9-operator","cpes":["cpe:/a:redhat:build_keycloak:24::el9"],"versions":[{"version":"24-16","lessThan":"*","versionType":"rpm","status":"unaffected"}]}]
CVE Modified by Red Hat, Inc.10/01/2024 10:15:06 AM
Action
Type
Old Value
New Value
Added
CVSS V3.1
Red Hat, Inc. AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Removed
CVSS V3.1
Red Hat, Inc. AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Initial Analysis by NIST9/26/2024 11:01:07 AM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Added
CPE Configuration
OR
*cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* versions up to (excluding) 24.0.7
*cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* versions up to (excluding) 24.0.7
Changed
Reference Type
https://access.redhat.com/errata/RHSA-2024:6502 No Types Assigned
New CVE Received from Red Hat, Inc.9/09/2024 3:15:14 PM
Action
Type
Old Value
New Value
Added
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.
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.
Added
CVSS V3.1
Red Hat, Inc. AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Added
CWE
Red Hat, Inc. CWE-601
Added
Reference
Red Hat, Inc. https://access.redhat.com/errata/RHSA-2024:6502 [No types assigned]
Added
Reference
Red Hat, Inc. https://access.redhat.com/errata/RHSA-2024:6503 [No types assigned]
Added
Reference
Red Hat, Inc. https://access.redhat.com/security/cve/CVE-2024-7260 [No types assigned]
Added
Reference
Red Hat, Inc. https://bugzilla.redhat.com/show_bug.cgi?id=2301875 [No types assigned]
Quick Info
CVE Dictionary Entry: CVE-2024-7260 NVD
Published Date: 09/09/2024 NVD
Last Modified: 06/17/2026
Source: Red Hat, Inc.