We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-8883

Keycloak: vulnerable redirect uri validation results in open redirec



Assignerredhat
Reserved2024-09-16
Published2024-09-19
Updated2024-10-30

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.



MEDIUM: 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Product status

Default status
unaffected

Default status
unaffected

Default status
affected

22.0.13-1 before *
unaffected

Default status
affected

22-18 before *
unaffected

Default status
affected

22-21 before *
unaffected

Default status
affected

24.0.8-1 before *
unaffected

Default status
affected

24-17 before *
unaffected

Default status
affected

24-17 before *
unaffected

Default status
unaffected

Default status
affected

0:18.0.18-1.redhat_00001.1.el7sso before *
unaffected

Default status
affected

0:18.0.18-1.redhat_00001.1.el8sso before *
unaffected

Default status
affected

0:18.0.18-1.redhat_00001.1.el9sso before *
unaffected

Default status
affected

7.6-54 before *
unaffected

Default status
affected

Timeline

2024-09-16:Reported to Red Hat.
2024-09-19:Made public.

Credits

Red Hat would like to thank Karsten Meyer zu Selhausen and Niklas Conrad for reporting this issue.

References

https://access.redhat.com/errata/RHSA-2024:6878 (RHSA-2024:6878) vendor-advisory

https://access.redhat.com/errata/RHSA-2024:6879 (RHSA-2024:6879) vendor-advisory

https://access.redhat.com/errata/RHSA-2024:6880 (RHSA-2024:6880) vendor-advisory

https://access.redhat.com/errata/RHSA-2024:6882 (RHSA-2024:6882) vendor-advisory

https://access.redhat.com/errata/RHSA-2024:6886 (RHSA-2024:6886) vendor-advisory

https://access.redhat.com/errata/RHSA-2024:6887 (RHSA-2024:6887) vendor-advisory

https://access.redhat.com/errata/RHSA-2024:6888 (RHSA-2024:6888) vendor-advisory

https://access.redhat.com/errata/RHSA-2024:6889 (RHSA-2024:6889) vendor-advisory

https://access.redhat.com/errata/RHSA-2024:6890 (RHSA-2024:6890) vendor-advisory

https://access.redhat.com/security/cve/CVE-2024-8883 vdb-entry

https://bugzilla.redhat.com/show_bug.cgi?id=2312511 (RHBZ#2312511) issue-tracking

https://github.com/keycloak/keycloak/blob/main/services/src/main/java/org/keycloak/protocol/oidc/utils/RedirectUtils.java

cve.org CVE-2024-8883

nvd.nist.gov CVE-2024-8883

Download JSON

Share this page
https://cve.threatint.com
Subscribe to our newsletter to learn more about our work.