GHSA-j628-q885-8gr5
Keycloak vulnerable to log Injection during WebAuthn authentication or registration
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | < 22.0.9 | 22.0.9 |
| Maven | org.keycloak:keycloak-services | >= 23.0.0, < 23.0.5 | 23.0.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
A flaw was found in keycloak 22.0.5. Errors in browser client during setup/auth with "Security Key login" (WebAuthn) are written into the form, send to Keycloak and logged without escaping allowing log injection.
Acknowledgements:
Special thanks toTheresa Henze for reporting this issue and helping us improve our security.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/keycloak/keycloak/security/advisories/GHSA-j628-q885-8gr5
- https://nvd.nist.gov/vuln/detail/CVE-2023-6484
- https://github.com/keycloak/keycloak/issues/25078
- https://github.com/keycloak/keycloak/commit/f9049565a9a228faa08138b9269d66d3de6c7e9a
- https://github.com/keycloak/keycloak/commit/110f64a8146d0817252f90cf4b5e6a62aa897aff
- https://github.com/keycloak/keycloak
- https://github.com/advisories/GHSA-j628-q885-8gr5
- https://bugzilla.redhat.com/show_bug.cgi?id=2248423
- https://access.redhat.com/security/cve/CVE-2023-6484
- https://access.redhat.com/errata/RHSA-2024:1868
- https://access.redhat.com/errata/RHSA-2024:1867
- https://access.redhat.com/errata/RHSA-2024:1866
- https://access.redhat.com/errata/RHSA-2024:1865
- https://access.redhat.com/errata/RHSA-2024:1864
- https://access.redhat.com/errata/RHSA-2024:1862
- https://access.redhat.com/errata/RHSA-2024:1861
- https://access.redhat.com/errata/RHSA-2024:1860
- https://access.redhat.com/errata/RHSA-2024:0804
- https://access.redhat.com/errata/RHSA-2024:0801
- https://access.redhat.com/errata/RHSA-2024:0800
- https://access.redhat.com/errata/RHSA-2024:0799
- https://access.redhat.com/errata/RHSA-2024:0798