Plane
Plane: InstanceAdminSignUpEndpoint TOCTOU race allows two concurrent unauthenticated callers to both bootstrap as Plane instance admins
Plane is an open-source project management tool. From 0.13 until 1.4.0, InstanceAdminSignUpEndpoint in apps/api/plane/license/api/views/admin.py:89-117, 173-229 uses InstanceAdmin.objects.first() for the first-admin check and performs account creation without an atomic transaction, row lock, uniqueness guard, or advisory lock. Two concurrent unauthenticated requests with different email addresses can both observe that no instance administrator exists, create separate User and InstanceAdmin rows, and receive sessions with instance-admin authority. This allows an attacker to share unrestricted instance administration with the legitimate operator. This issue is fixed in 1.4.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.4.0
Fixed in 1.4.0
Mitigation
Upgrade plane to 1.4.0 or later.
References
- Vendor advisory github.com/makeplane/plane/security/advisories…
- Patch github.com/makeplane/plane/pull/9332
- Patch github.com/makeplane/plane/commit/7fbf14a6cb49…
1 more
- Release notes github.com/makeplane/plane/releases/tag/v1.4.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.