Keycloak: vulnerable redirect uri validation results in open redirec
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 22.0.12, 24.0.7, 25.0.5, 22.0.13, 24.0.8, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 1 Nuclei template
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- keycloak-services
fixed in 22.0.12; From 23.0.0 · fixed in 24.0.7; From 25.0.0 · fixed in 25.0.5
- keycloak-services
Version range not reported
- keycloak-services
Version range not reported
- rhbk/keycloak-operator-bundle
Version range not reported
- rhbk/keycloak-rhel9
Version range not reported
- rhbk/keycloak-rhel9-operator
Version range not reported
- rhbk/keycloak-operator-bundle
Version range not reported
- rhbk/keycloak-rhel9
Version range not reported
- rhbk/keycloak-rhel9-operator
Version range not reported
- Red Hat Red Hat JBoss Enterprise Application Platform 8
Version range not reported
- Red Hat Red Hat JBoss Enterprise Application Platform 8
Version range not reported
- eap8-eap-product-conf-parent
Version range not reported
- eap8-wildfly
Version range not reported
- eap8-activemq-artemis
Version range not reported
- eap8-activemq-artemis-native
Version range not reported
- eap8-aesh-extensions
Version range not reported
- eap8-aesh-readline
Version range not reported
- eap8-apache-commons-codec
Version range not reported
- eap8-apache-commons-collections
Version range not reported
- eap8-apache-commons-io
Version range not reported
- eap8-apache-commons-lang
Version range not reported
- eap8-apache-cxf
Version range not reported
- eap8-artemis-native
Version range not reported
- eap8-artemis-wildfly-integration
Version range not reported
- eap8-asyncutil
Version range not reported
- eap8-aws-java-sdk
Version range not reported
- eap8-cryptacular
Version range not reported
- eap8-eap-product-conf-parent
Version range not reported
- eap8-fastinfoset
Version range not reported
- eap8-hibernate
Version range not reported
- eap8-hibernate-validator
Version range not reported
- eap8-hppc
Version range not reported
- eap8-insights-java-client
Version range not reported
- eap8-jakarta-servlet-jsp-jstl-api
Version range not reported
- eap8-jboss-cert-helper
Version range not reported
- eap8-jboss-logging
Version range not reported
- eap8-jctools
Version range not reported
- eap8-jgroups
Version range not reported
- eap8-log4j
Version range not reported
- eap8-narayana
Version range not reported
- eap8-nimbus-jose-jwt
Version range not reported
- eap8-objectweb-asm
Version range not reported
- eap8-pem-keystore
Version range not reported
- eap8-resteasy-extensions
Version range not reported
- eap8-resteasy-spring
Version range not reported
- eap8-saaj-impl
Version range not reported
- eap8-shibboleth-java-support
Version range not reported
- eap8-slf4j
Version range not reported
- eap8-snakeyaml
Version range not reported
- eap8-wildfly
Version range not reported
- eap8-eap-product-conf-parent
Version range not reported
- eap8-wildfly
Version range not reported
- eap8-activemq-artemis
Version range not reported
- eap8-activemq-artemis-native
Version range not reported
- eap8-aesh-extensions
Version range not reported
- eap8-aesh-readline
Version range not reported
- eap8-apache-commons-codec
Version range not reported
- eap8-apache-commons-collections
Version range not reported
- eap8-apache-commons-io
Version range not reported
- eap8-apache-commons-lang
Version range not reported
- eap8-apache-cxf
Version range not reported
- eap8-artemis-native
Version range not reported
- eap8-artemis-wildfly-integration
Version range not reported
- eap8-asyncutil
Version range not reported
- eap8-aws-java-sdk
Version range not reported
- eap8-cryptacular
Version range not reported
- eap8-eap-product-conf-parent
Version range not reported
- eap8-fastinfoset
Version range not reported
- eap8-hibernate
Version range not reported
- eap8-hibernate-validator
Version range not reported
- eap8-hppc
Version range not reported
- eap8-insights-java-client
Version range not reported
- eap8-jakarta-servlet-jsp-jstl-api
Version range not reported
- eap8-jboss-cert-helper
Version range not reported
- eap8-jboss-logging
Version range not reported
- eap8-jctools
Version range not reported
- eap8-jgroups
Version range not reported
- eap8-log4j
Version range not reported
- eap8-narayana
Version range not reported
- eap8-nimbus-jose-jwt
Version range not reported
- eap8-objectweb-asm
Version range not reported
- eap8-pem-keystore
Version range not reported
- eap8-resteasy-extensions
Version range not reported
- eap8-resteasy-spring
Version range not reported
- eap8-saaj-impl
Version range not reported
- eap8-shibboleth-java-support
Version range not reported
- eap8-slf4j
Version range not reported
- eap8-snakeyaml
Version range not reported
- eap8-wildfly
Version range not reported
- keycloak-services
Version range not reported
- rh-sso7-keycloak
Version range not reported
- rh-sso7-keycloak
Version range not reported
- rh-sso7-keycloak
Version range not reported
- rh-sso-7/sso76-openshift-rhel8
Version range not reported
- org.keycloak:keycloak-servicesMaven
fixed in 22.0.13
- org.keycloak:keycloak-servicesMaven
From 23.0.0 · fixed in 24.0.8
- org.keycloak:keycloak-servicesMaven
From 25.0.0 · fixed in 25.0.6
References 18
access.redhat.com
- errata/RHSA-2024:10385
- errata/RHSA-2024:10386
- errata/RHSA-2024:6878
- errata/RHSA-2024:6879
- errata/RHSA-2024:6880
- errata/RHSA-2024:6882
- errata/RHSA-2024:6886
- errata/RHSA-2024:6887
- errata/RHSA-2024:6888
- errata/RHSA-2024:6889
- errata/RHSA-2024:6890
- errata/RHSA-2024:8823
- errata/RHSA-2024:8824
- errata/RHSA-2024:8826
- security/cve/CVE-2024-8883