GitHub Advisoryadvisory · Maven

GHSA-v436-q368-hvgg Keycloak has lack of validation of access token on client registrations endpoint

MEDIUM Published 2023-01-12 Modified 2023-01-23 Official page ↗
Aliases
CVE-2023-0091
Ecosystem
Maven
Packages
org.keycloak:keycloak-core
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weaknesses
CWE-284, CWE-863
Reviewed
2023-01-12

Affected packages

• Maven org.keycloak:keycloak-core: < 20.0.3 → fixed in 20.0.3

Description

When a service account with the create-client or manage-clients role can use the client-registration endpoints to create/manage clients with an access token. If the access token is leaked, there is an option to revoke the specific token. However, the check is not performed in client-registration endpoints.

Related

Alias · CVE (1)

  • CVE-2023-0091 A flaw was found in Keycloak, where it did not properly check client tokens for possible revocation in its client credential flow. vulnerability

Weakness · CWE (2)

  • CWE-284 Improper Access Control weakness
  • CWE-863 Incorrect Authorization weakness

References