High severityNVD Advisory· Published Sep 25, 2023· Updated Aug 3, 2024
Keycloak: reflected xss attack
CVE-2022-4137
Description
A reflected cross-site scripting (XSS) vulnerability was found in the 'oob' OAuth endpoint due to incorrect null-byte handling. This issue allows a malicious link to insert an arbitrary URI into a Keycloak error page. This flaw requires a user or administrator to interact with a link in order to be vulnerable. This may compromise user details, allowing it to be changed or collected by an attacker.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.keycloak:keycloak-parentMaven | < 20.0.5 | 20.0.5 |
Affected products
5cpe:/a:redhat:red_hat_single_sign_on:7.6+ 3 more
- cpe:/a:redhat:red_hat_single_sign_on:7.6
- cpe:/a:redhat:red_hat_single_sign_on:7.6::el7range: 0:18.0.6-1.redhat_00001.1.el7sso
- cpe:/a:redhat:red_hat_single_sign_on:7.6::el8range: 0:18.0.6-1.redhat_00001.1.el8sso
- cpe:/a:redhat:red_hat_single_sign_on:7.6::el9range: 0:18.0.6-1.redhat_00001.1.el9sso
Patches
Vulnerability mechanics
References
11- access.redhat.com/errata/RHSA-2023:1043ghsavendor-advisoryx_refsource_REDHATWEB
- access.redhat.com/errata/RHSA-2023:1044ghsavendor-advisoryx_refsource_REDHATWEB
- access.redhat.com/errata/RHSA-2023:1045ghsavendor-advisoryx_refsource_REDHATWEB
- access.redhat.com/errata/RHSA-2023:1049ghsavendor-advisoryx_refsource_REDHATWEB
- github.com/advisories/GHSA-9hhc-pj4w-w5rvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-4137ghsaADVISORY
- access.redhat.com/security/cve/CVE-2022-4137ghsavdb-entryx_refsource_REDHATWEB
- bugzilla.redhat.com/show_bug.cgighsaissue-trackingx_refsource_REDHATWEB
- github.com/keycloak/keycloak/commit/30d0e9d22dae51392e5a3748a1c68c116667359aghsaWEB
- github.com/keycloak/keycloak/pull/16774ghsaWEB
- github.com/keycloak/keycloak/security/advisories/GHSA-9hhc-pj4w-w5rvghsaWEB
News mentions
0No linked articles in our index yet.