Vulnerability · Published Oct 9, 2024 · Assigned by redhat
CVE-2024-3656Keycloak: unguarded admin rest api endpoints allows low privilege users to use administrative functionalities
High 8.1
In plain English
A high-severity information exposure in keycloak. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.3% (higher than 89% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in Keycloak. Certain endpoints in Keycloak's admin REST API allow low-privilege users to access administrative functionalities. This flaw allows users to perform actions reserved for administrators, potentially leading to data breaches or system compromise.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | 24.0.5 | GHSA-2cww-fgmg-4jqc |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| keycloak | 0 – before 24.0.5 | |
| Red Hat | Red Hat Build of Keycloak | see references |
| Red Hat | Red Hat Single Sign-On 7 | see references |
| Red Hat | Red Hat Build of Keycloak | see references |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | see references |
| Red Hat | Red Hat Single Sign-On 7 | see references |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- RHSA-2024:3572 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3575 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-3656 vdb-entry, x_refsource_REDHAT
- RHBZ#2274403 issue-tracking, x_refsource_REDHAT
- https://github.com/advisories/GHSA-2cww-fgmg-4jqc
- https://security.humanativaspa.it/an-analysis-of-the-keycloak-authentication-system/
- https://news.ycombinator.com/item?id=42136000
- https://github.com/hnsecurity/vulns/blob/main/HNS-2024-08-Keycloak.md