{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-7260","id":"CVE-2024-7260","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 destina","descriptionLong":"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.","published":"2024-09-09T18:49:59.437Z","updated":"2026-11-17T07:01:56.227777607Z","reserved":"2024-07-30T02:24:02.197Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"redhat"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"redhat"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"redhat.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["keycloak","Red Hat Build of Keycloak","Red Hat build of Keycloak 24"],"affectedProducts":[{"vendor":"","product":"keycloak","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThan":"24.0.7","versionType":"semver"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Build of Keycloak","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","defaultStatus":"affected","versions":[{"version":"24.0.7-4","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","defaultStatus":"affected","versions":[{"version":"24-16","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 24","defaultStatus":"affected","versions":[{"version":"24-16","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-core","purl":"pkg:maven/org.keycloak/keycloak-core","ranges":["<24.0.7"],"fixed":["24.0.7"],"advisory":"GHSA-g4gc-rh26-m3p5"}],"cwes":["CWE-601"],"aliases":["BIT-keycloak-2024-7260","GHSA-g4gc-rh26-m3p5"],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:6502","tags":["vendor-advisory","x_refsource_REDHAT","Issue Tracking","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6503","tags":["vendor-advisory","x_refsource_REDHAT","Issue Tracking","advisory","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-7260","tags":["vdb-entry","x_refsource_REDHAT","Vendor Advisory","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2301875","tags":["issue-tracking","x_refsource_REDHAT","Issue Tracking","Vendor Advisory","report","web"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://catalog.redhat.com/software/containers/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7260.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7260","tags":["advisory"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00579,"epssPercentile":0.48427,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-7260","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7260","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-7260","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g4gc-rh26-m3p5","ok":true,"note":"GHSA-g4gc-rh26-m3p5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-7260","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}