CVE-2024-7260
Keycloak-core: open redirect on account page
CVE-2024-7260 is an open redirect in Red Hat Build of Keycloak (CVSS 6.1, Medium).
No known exploitation. EPSS puts it in the 57th percentile. Fixed versions are out.
No public exploit knownFix4 products2 fixed builds listed below
e.g. OID 1.3.6.1.4.1.25623.1.0.153913
What to do
Find your product and version, then upgrade to the build on the right.
- Red Hat build of Keycloak 24Fixed builds24.0.7-4Stated by: CVE record
- Maven org.keycloak:keycloak-coreAffected: < 24.0.7Upgrade to: 24.0.7Stated by: GitHub advisory
- Redhat Build Of KeycloakAffected: < 24.0.7Upgrade to: 24.0.7Stated by: NVD
- Redhat KeycloakAffected: < 24.0.7Upgrade to: 24.0.7Stated by: NVD
Versions as the sources state them. Full version matrix after sign-in
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
0.9% chance of exploitation activity in the next 30 days, which ranks it in the 57th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
6 events over 654 days, from the signal feeds we watch.
- OpenVAS check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Scored 6.1 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction RequiredA user must click a link, open a file, or perform some action
Scope
- Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)
Impact if exploited
- Confidentiality LowSome restricted information is disclosed, but limited in scope
- Integrity LowData modification is possible but limited in scope or consequence
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Initial AccessT1566Phishingmedium confidence
Sources
References in the record
- access.redhat.com/errata/RHSA-2024:6502
- access.redhat.com/errata/RHSA-2024:6503
- access.redhat.com/security/cve/CVE-2024-7260
And 3 more references. See all after sign-in
Questions about CVE-2024-7260
- Is CVE-2024-7260 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 0.9%.
- Which versions are affected by CVE-2024-7260?
- Org.keycloak:keycloak-core: < 24.0.7. Build of Keycloak: < 24.0.7. 2 more products are listed in the record.
- How do I fix or mitigate CVE-2024-7260?
- Upgrade to a fixed build for your product branch: 24.0.7-4, 24.0.7. The advisory is on access.redhat.com.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Build Of Keycloak, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI