GHSA-w8gr-xwp4-r9f7
Keycloak has Vulnerable Redirect URI Validation Results in Open Redirect
At a glance
- Published
- Updated
- CVE
- CVE-2024-8883
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Description
A misconfiguration flaw was found in Keycloak. This issue can allow an attacker to redirect users to an arbitrary URL if a 'Valid Redirect URI' is set to http://localhost/ or http://127.0.0.1/, enabling sensitive information such as authorization codes to be exposed to the attacker, potentially leading to session hijacking.
Affected packages
| Package | Versions |
|---|---|
| Maven · org.keycloak:keycloak-services | introduced 0, fixed 22.0.13 |
| Maven · org.keycloak:keycloak-services | introduced 23.0.0, fixed 24.0.8 |
| Maven · org.keycloak:keycloak-services | introduced 25.0.0, fixed 25.0.6 |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-w8gr-xwp4-r9f7 WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-8883 ADVISORY
- https://github.com/keycloak/keycloak/releases/tag/25.0.6 WEB
- https://github.com/keycloak/keycloak/blob/main/services/src/main/java/org/keycloak/protocol/oidc/utils/RedirectUtils.java WEB
- https://github.com/keycloak/keycloak PACKAGE
- https://bugzilla.redhat.com/show_bug.cgi?id=2312511 WEB
- https://access.redhat.com/security/cve/CVE-2024-8883 WEB
- https://access.redhat.com/errata/RHSA-2024:8826 WEB
- https://access.redhat.com/errata/RHSA-2024:8824 WEB
- https://access.redhat.com/errata/RHSA-2024:8823 WEB
- https://access.redhat.com/errata/RHSA-2024:6890 WEB
- https://access.redhat.com/errata/RHSA-2024:6889 WEB
- https://access.redhat.com/errata/RHSA-2024:6888 WEB
- https://access.redhat.com/errata/RHSA-2024:6887 WEB
- https://access.redhat.com/errata/RHSA-2024:6886 WEB
- https://access.redhat.com/errata/RHSA-2024:6882 WEB
- https://access.redhat.com/errata/RHSA-2024:6880 WEB
- https://access.redhat.com/errata/RHSA-2024:6879 WEB
- https://access.redhat.com/errata/RHSA-2024:6878 WEB
- https://access.redhat.com/errata/RHSA-2024:10386 WEB
- https://access.redhat.com/errata/RHSA-2024:10385 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |