CVE-2024-47000
JSON

8.1high

Service Users Deactivation not Working in Zitadel

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.41% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-qr2h-7pwm-h393GO-2024-3139

Description

Zitadel is an open source identity management platform. ZITADEL's user account deactivation mechanism did not work correctly with service accounts. Deactivated service accounts retained the ability to request tokens, which could lead to unauthorized access to applications and resources. Versions 2.62.1, 2.61.1, 2.60.2, 2.59.3, 2.58.5, 2.57.5, 2.56.6, 2.55.8, and 2.54.10 have been released which address this issue. Users are advised t upgrade. Users unable to upgrade may instead of deactivating the service account, consider creating new credentials and replacing the old ones wherever they are used. This effectively prevents the deactivated service account from being utilized. Be sure to revoke all existing authentication keys associated with the service account and to rotate the service account's password.

Affected

Product or packageVersionsReported by
zitadel zitadel>= 2.62.0, < 2.62.1, >= 2.61.0, < 2.61.1, >= 2.60.0, < 2.60.2, >= 2.59.0, < 2.59.3, >= 2.58.0, < 2.58.5, >= 2.57.0, < 2.57.5, >= 2.56.0, < 2.56.6, >= 2.55.0, < 2.55.8 and 12 moreCVE List, NVD
github.com/zitadel/zitadel/v2 (Go)from 2.62.0 before 2.62.1, from 2.61.0 before 2.61.1, from 2.60.0 before 2.60.2, from 2.59.0 before 2.59.3, from 2.58.0 before 2.58.5, from 2.57.0 before 2.57.5, from 2.56.0 before 2.56.6, from 2.55.0 before 2.55.8 and 1 moreGitHub Advisory Database
github.com/zitadel/zitadel (Go)all versionsGo Vulnerability Database

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-269CWE-672

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

Zitadel is an open source identity management platform. ZITADEL's user account deactivation mechanism did not work correctly with service accounts. Deactivated service accounts retained the ability to request tokens, which could lead to unauthorized access to applications and resources. Versions 2.62.1, 2.61.1, 2.60.2, 2.59.3, 2.58.5, 2.57.5, 2.56.6, 2.55.8, and 2.54.10 have been released which address this issue. Users are advised t upgrade. Users unable to upgrade may instead of deactivating the service account, consider creating new credentials and replacing the old ones wherever they are used. This effectively prevents the deactivated service account from being utilized. Be sure to revoke all existing authentication keys associated with the service account and to rotate the service account's password.

GitHub Advisory Database
Impact

ZITADEL's user account deactivation mechanism did not work correctly with service accounts. Deactivated service accounts retained the ability to request tokens, which could lead to unauthorized access to applications and resources.

Patches

2.x versions are fixed on >= 2.62.1 2.61.x versions are fixed on >= 2.61.1 2.60.x versions are fixed on >= 2.60.2 2.59.x versions are fixed on >= 2.59.3 2.58.x versions are fixed on >= 2.58.5 2.57.x versions are fixed on >= 2.57.5 2.56.x versions are fixed on >= 2.56.6 2.55.x versions are fixed on >= 2.55.8 2.54.x versions are fixed on >= 2.54.10

Workarounds

Instead of deactivating the service account, consider creating new credentials and replacing the old ones wherever they are used. This effectively prevents the deactivated service account from being utilized.

  • Revoke all existing authentication keys associated with the service account
  • Rotate the service account's password
Questions

If you have any questions or comments about this advisory, please email us at

security@zitadel.com

Go Vulnerability Database

ZITADEL's Service Users Deactivation not Working in github.com/zitadel/zitadel.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/zitadel/zitadel before v2.54.10, from v2.55.0 before v2.55.8, from v2.56.0 before v2.56.6, from v2.57.0 before v2.57.5, from v2.58.0 before v2.58.5, from v2.59.0 before v2.59.3, from v2.60.0 before v2.60.2, from v2.61.0 before v2.61.1, from v2.62.0 before v2.62.1.

NVD (es)

Zitadel es una plataforma de gestión de identidad de código abierto. El mecanismo de desactivación de cuentas de usuario de ZITADEL no funcionaba correctamente con las cuentas de servicio. Las cuentas de servicio desactivadas conservaban la capacidad de solicitar tokens, lo que podía provocar un acceso no autorizado a aplicaciones y recursos. Se han publicado las versiones 2.62.1, 2.61.1, 2.60.2, 2.59.3, 2.58.5, 2.57.5, 2.56.6, 2.55.8 y 2.54.10 que solucionan este problema. Se recomienda a los usuarios que actualicen la versión. Los usuarios que no puedan actualizar la versión pueden, en lugar de desactivar la cuenta de servicio, considerar la posibilidad de crear nuevas credenciales y reemplazar las antiguas dondequiera que se utilicen. Esto evita de forma eficaz que se utilice la cuenta de servicio desactivada. Asegúrese de revocar todas las claves de autenticación existentes asociadas con la cuenta de servicio y de rotar la contraseña de la cuenta de servicio.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-47000 changed 2024-09-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-qr2h-7pwm-h393 changed 2024-09-26CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3139 changed 2024-09-26CC-BY-4.0
NVDCVE-2024-47000 changed 2026-06-17Public domain