github.com/zitadel/zitadel/v2
Affected
- introduced
2.62.0, fixed2.62.1(semver)
Fixed versions
2.62.1
Fix
- Fixed version
2.62.1go get github.com/zitadel/zitadel/[email protected]
Advisory
Also known as: CVE-2024-47060, GO-2024-3138
ZITADEL Allows Unauthorized Access After Organization or Project Deactivation
Summary
In Zitadel, even after an organization is deactivated, associated projects, respectively their applications remain active. Users across other organizations can still log in and access through these applications, leading to unauthorized access.
Additionally, if a project was deactivated access to applications was also still possible.
Details
The issue stems from the fact that when an organization is deactivated in Zitadel, the applications associated with it do not automatically deactivate. The application lifecycle is not tightly coupled with the organization's lifecycle, leading to a situation where the organization or project is marked as inactive, but its resources remain accessible.
PoC
Impact
This vulnerability allows for unauthorized access to projects and their resources, which should have been restricted post-organization deactivation.
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
Workaround
Unpatched versions can explicitly disable the application to make sure the client is not allowed anymore.
Questions
If you have any questions or comments about this advisory, please email us at [[email protected]](mailto:[email protected])
Credits
Thanks to @prdp1137 for reporting this!
High Basis: The source's own band: HIGH
2.62.0, fixed 2.62.1 (semver)2.62.1
2.62.1go get github.com/zitadel/zitadel/[email protected]2.61.0, fixed 2.61.1 (semver)2.61.1
2.61.1go get github.com/zitadel/zitadel/[email protected]2.60.0, fixed 2.60.2 (semver)2.60.2
2.60.2go get github.com/zitadel/zitadel/[email protected]2.59.0, fixed 2.59.3 (semver)2.59.3
2.59.3go get github.com/zitadel/zitadel/[email protected]2.58.0, fixed 2.58.5 (semver)2.58.5
2.58.5go get github.com/zitadel/zitadel/[email protected]2.57.0, fixed 2.57.5 (semver)2.57.5
2.57.5go get github.com/zitadel/zitadel/[email protected]2.56.0, fixed 2.56.6 (semver)2.56.6
2.56.6go get github.com/zitadel/zitadel/[email protected]2.55.0, fixed 2.55.8 (semver)2.55.8
2.55.8go get github.com/zitadel/zitadel/[email protected]0, fixed 2.54.10 (semver)2.54.10
2.54.10go get github.com/zitadel/zitadel/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0