Vulnerability · Published Aug 31, 2022 · Assigned by GitHub_M
CVE-2022-36051Broken Authorization in ZITADEL Actions
High 8.7
In plain English
A high-severity security flaw in zitadel from zitadel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/zitadel/zitadel | 2.2.0 | GHSA-c8fj-4pm8-mp2c |
| Go | github.com/zitadel/zitadel | 1.87.1 | GHSA-c8fj-4pm8-mp2c |
Affected products (as reported)
Weakness: CWE-436 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
References
- https://github.com/zitadel/zitadel/security/advisories/GHSA-c8fj-4pm8-mp2c x_refsource_CONFIRM
- https://github.com/zitadel/zitadel/releases/tag/v1.87.1 x_refsource_MISC
- https://github.com/zitadel/zitadel/releases/tag/v2.2.0 x_refsource_MISC