Description
Casdoor through 4.4.0 contains an authorization bypass vulnerability in the /api/mcp endpoint that allows attackers with any application's clientId and clientSecret to gain unrestricted access to user administration across all organizations. Attackers can enumerate user records including password salts and email addresses, create administrator accounts, modify existing users, and delete them in any organization by supplying legitimate credentials from a single application.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| casdoor | casdoor | ≤ 4.4.0 | — |
References
- Researcher write-up, Finding 2 third-party-advisory exploit
- authz/authz.go unconditional app allow at v4.4.0 technical-description
- getUsernameByClientIdSecret at v4.4.0 technical-description
- mcpself/user.go unscoped user tools at v4.4.0 technical-description
- https://github.com/casdoor/casdoor product
- VulnCheck Advisory: Casdoor through 4.4.0 Cross-Organization User Administration via /api/mcp third-party-advisory