Description
GrowChief through 0.3.0 contains a missing authorization vulnerability in the getAllUsers handler that allows any authenticated user to list users across all organizations because the IsSuperAdmin guard is absent. Attackers with a self-registered low-privilege account can send an empty or short search value to GET /users/all-users to enumerate user ids, emails, names and organization IDs of every tenant.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
growchief growchief
Default version status: unaffected
0 to ≤ 0.3.0affected
References
- https://hackmd.io/@hieuPenguinnn/growchief-all-users-missing-authz-cross-tenant-disclosure ↗
- https://github.com/growchief/growchief/blob/abb1e37a6f5595d8d105aef5871a2eeb0c22a1dc/apps/backend/src/controllers/users.controller.ts#L98-L101 ↗
- https://github.com/growchief/growchief ↗
- https://www.vulncheck.com/advisories/growchief-through-0.3.0-missing-authorization-via-users-all-users-endpoint ↗