OpenZiti - Privilege Escalation to Admin via Unauthorized Enrollment Creation
Description
OpenZiti through 2.0.0, fixed in commit 3027fdf, contains a privilege escalation vulnerability that allows authenticated non-admin identities with fine-grained enrollment management permissions to create enrollments for any identity, including the default administrator, because the ApplyCreate function in controller/model/enrollment_manager.go verifies only that the target identity exists without performing authorization checks binding the caller to the target identity. Attackers can redeem the resulting one-time token through the unauthenticated client API enrollment endpoint to obtain a client certificate authenticating as the targeted admin identity, yielding full administrative control of the controller and the zero-trust overlay it manages.
Affected products
1Patches
Vulnerability mechanics
References
4- github.com/openziti/ziti/commit/3027fdffd3e57884487b7c46e5e669cfbc8becdfmitrepatch
- github.com/openziti/ziti/issues/4010mitretechnical-descriptionexploit
- www.vulncheck.com/advisories/openziti-privilege-escalation-to-admin-via-unauthorized-enrollment-creationmitrethird-party-advisory
- github.com/openziti/ziti/pull/4013mitreissue-tracking
News mentions
0No linked articles in our index yet.