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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| growchief | growchief | ≤ 0.3.0 | — |
References
- https://hackmd.io/@hieuPenguinnn/growchief-all-users-missing-authz-cross-tenant-disclosure technical-description exploit
- https://github.com/growchief/growchief/blob/abb1e37a6f5595d8d105aef5871a2eeb0c22a1dc/apps/backend/src/controllers/users.controller.ts#L98-L101 technical-description
- https://github.com/growchief/growchief product
- VulnCheck Advisory: GrowChief through 0.3.0 Missing Authorization via /users/all-users Endpoint third-party-advisory