CVE-2022-1466 Improper authorization in Keycloak

Medium 6.5 Published Updated

Attackers can add users to the master realm without permission, leading to unauthorized privilege escalation and data modification in Red Hat Single Sign-On.

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-2022-1466?

CVE-2022-1466 is a medium-severity missing authorization vulnerability in Redhat Keycloak, published on 26 Apr 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Due to improper authorization, Red Hat Single Sign-On is vulnerable to users performing actions that they should not be allowed to perform. It was possible to add users to the master realm even though no respective permission was granted.

Weakness: CWE-863

Which versions are affected by CVE-2022-1466?

2 open source packages ship an affected version, including org.keycloak:keycloak-core. It affects 2 products.

PackageAffectedFixed in
org.keycloak:keycloak-core MavenAll versions17.0.1
org.keycloak:keycloak-core MavenAll versions17.0.1

Products include Redhat Keycloak, Redhat Single Sign-On.

How do I fix CVE-2022-1466?

Upgrade org.keycloak:keycloak-core to 17.0.1 or later.

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

Is CVE-2022-1466 being exploited?

There is no known exploitation of CVE-2022-1466 in the wild and no public exploit code.

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-f32v-vf79-p29q.

Is CVE-2022-1466 in your software?

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

Check your SBOMs for free