CVE-2024-3656 Keycloak: unguarded admin rest api endpoints allows low privilege users to use administrative functionalities

High 8.1 Published Updated

Low-privilege users can access administrative endpoints in Keycloak, enabling unauthorized actions and potential data breaches.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-3656?

CVE-2024-3656 is a high-severity missing authorization vulnerability in Red Hat Build of Keycloak, published on 9 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim.

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.

Weakness: CWE-200

Which versions are affected by CVE-2024-3656?

2 open source packages ship an affected version, including org.keycloak:keycloak-services.

PackageAffectedFixed in
org.keycloak:keycloak-services MavenAll versions24.0.5
org.keycloak:keycloak-services MavenAll versions24.0.5

How do I fix CVE-2024-3656?

Upgrade org.keycloak:keycloak-services to 24.0.5 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-3656 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-3656 exists.

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-2cww-fgmg-4jqc.

Is CVE-2024-3656 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free