CVE-2024-7260

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. 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.

Category

6.1
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.10%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com
Affected: Red Hat Red Hat Build of Keycloak
Affected: Red Hat Red Hat build of Keycloak 24
Affected: Red Hat Red Hat build of Keycloak 24
Affected: Red Hat Red Hat build of Keycloak 24
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-7260?
CVE-2024-7260 has been scored as a medium severity vulnerability.
How to fix CVE-2024-7260?
To fix CVE-2024-7260, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-7260 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-7260 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-7260?
CVE-2024-7260 affects Red Hat Red Hat Build of Keycloak, Red Hat Red Hat build of Keycloak 24, Red Hat Red Hat build of Keycloak 24, Red Hat Red Hat build of Keycloak 24.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.