CVE-2022-36051
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account. High risk of data exposure, data tampering.
- Exploit odds
- 1.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.0% in the next 30 days (EPSS).
- Severity: 8.7 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.0% · EPSS, next 30 days
- Weakness
- CWE-436
- Record status
- Modified
Affected
- Zitadel < 1.87.1
- Zitadel < 2.2.0
Attack profile CVSS 3.1 · 8.7
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-36051.md and follow it. Check whether this project is affected by CVE-2022-36051. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/zitadel/zitadel/releases/tag/v1.87.1
- https://github.com/zitadel/zitadel/releases/tag/v2.2.0
- https://github.com/zitadel/zitadel/security/advisories/GHSA-c8fj-4pm8-mp2c
- https://github.com/zitadel/zitadel/releases/tag/v1.87.1
- https://github.com/zitadel/zitadel/releases/tag/v2.2.0
- https://github.com/zitadel/zitadel/security/advisories/GHSA-c8fj-4pm8-mp2c
References
- https://github.com/zitadel/zitadel/releases/tag/v1.87.1
- https://github.com/zitadel/zitadel/releases/tag/v2.2.0
- https://github.com/zitadel/zitadel/security/advisories/GHSA-c8fj-4pm8-mp2c
- https://github.com/zitadel/zitadel/releases/tag/v1.87.1
- https://github.com/zitadel/zitadel/releases/tag/v2.2.0
- https://github.com/zitadel/zitadel/security/advisories/GHSA-c8fj-4pm8-mp2c