CVE-2023-6134
MEDIUM4.6EPSS 2.5%Keycloak vulnerable to reflected XSS via wildcard in OIDC redirect_uri
Published: 12/18/2023Modified: 2/16/2024
Description
Keycloak prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This could permit an attacker to submit a specially crafted request leading to XSS or possibly further attacks.
Affected packages (1)
- Maven/org.keycloak:keycloak-servicesfrom 0, < 23.0.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
References (13)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-6134
- PATCHhttps://github.com/keycloak/keycloak
- WEBhttps://access.redhat.com/errata/RHSA-2023:7854
- WEBhttps://access.redhat.com/errata/RHSA-2023:7855
- WEBhttps://access.redhat.com/errata/RHSA-2023:7856
- WEBhttps://access.redhat.com/errata/RHSA-2023:7857
- WEBhttps://access.redhat.com/errata/RHSA-2023:7858
- WEBhttps://access.redhat.com/errata/RHSA-2023:7860
- WEBhttps://access.redhat.com/errata/RHSA-2023:7861
- WEBhttps://access.redhat.com/security/cve/CVE-2023-6134
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2249673
- WEBhttps://github.com/keycloak/keycloak/commit/15a21bf8e4fb71f006ba9caf25b9c9d1d152cd20
- WEBhttps://github.com/keycloak/keycloak/security/advisories/GHSA-cvg2-7c3j-g36j