Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-c8fj-4pm8-mp2c

Опубликовано: 30 авг. 2022
Источник: github
Github: Прошло ревью
CVSS3: 8.7

Описание

Broken Authorization in ZITADEL Actions

Impact

Actions, introduced in ZITADEL 1.42.0 on the API and 1.56.0 for Console, is a feature, where users with role ORG_OWNER are able to create Javascript Code, which is invoked by the system at certain points during the login. Actions, for example, allow creating authorizations (user grants) on newly created users programmatically. Due to a missing authorization check, Actions were able to grant authorizations for projects that belong to other organisations inside the same Instance. Granting authorizations via API and Console is not affected by this vulnerability.

Patches

2.x versions are fixed on >= 2.2.0 1.x versions are fixed on >= 1.87.1

ZITADEL recommends upgrading to the latest versions available in due course.

Workarounds

There is no workaround since a patch is already available.

Who did disclose this

During our recurring white box penetration test our external security consultant found this issue. The full report will be made public after the complete review.

References

https://docs.zitadel.com/docs/guides/manage/customize/behavior https://docs.zitadel.com/docs/apis/actions https://zitadel.com/blog/pentest-results-h1-2021

Questions

If you have any questions or comments about this advisory:

Пакеты

Наименование

github.com/zitadel/zitadel

go
Затронутые версииВерсия исправления

>= 2.0.0, < 2.2.0

2.2.0

Наименование

github.com/zitadel/zitadel

go
Затронутые версииВерсия исправления

>= 1.42.0, < 1.87.1

1.87.1

EPSS

Процентиль: 51%
0.00285
Низкий

8.7 High

CVSS3

Дефекты

CWE-436
CWE-863

Связанные уязвимости

CVSS3: 8.7
nvd
больше 3 лет назад

ZITADEL combines the ease of Auth0 and the versatility of Keycloak.**Actions**, introduced in ZITADEL **1.42.0** on the API and **1.56.0** for Console, is a feature, where users with role.`ORG_OWNER` are able to create Javascript Code, which is invoked by the system at certain points during the login. **Actions**, for example, allow creating authorizations (user grants) on newly created users programmatically. Due to a missing authorization check, **Actions** were able to grant authorizations for projects that belong to other organizations inside the same Instance. Granting authorizations via API and Console is not affected by this vulnerability. There is currently no known workaround, users should update.

EPSS

Процентиль: 51%
0.00285
Низкий

8.7 High

CVSS3

Дефекты

CWE-436
CWE-863