A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. This issue could allow an attacker to construct a malicious request to bypass validation and access other URLs and sensitive information within the domain or conduct further attacks. This flaw affects any client that utilizes a wildcard in the Valid Redirect URIs field, and requires user interaction within the malicious URL.
Workaround:
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://access.redhat.com/errata/RHSA-2024:1860 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:1861 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:1862 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:1864 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:1866 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:1867 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:1868 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:2945 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:3752 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:3762 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:3919 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:3989 | vendor advisory |
https://access.redhat.com/security/cve/CVE-2024-1132 | vdb entry |
https://bugzilla.redhat.com/show_bug.cgi?id=2262117 | issue tracking |