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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
casdoor casdoor
Default version status: unaffected
0 to ≤ 4.4.0affected
pkg:github/casdoor/casdoorReferences
- https://github.com/geo-chen/oss/blob/main/casdoor.md#finding-2-application-credential-authorization-bypass-in-apimcp-enables-unrestricted-cross-organization-user-administration ↗
- https://github.com/casdoor/casdoor/blob/v4.4.0/authz/authz.go#L174-L176 ↗
- https://github.com/casdoor/casdoor/blob/v4.4.0/routers/base.go#L122-L154 ↗
- https://github.com/casdoor/casdoor/blob/v4.4.0/mcpself/user.go ↗
- https://github.com/casdoor/casdoor ↗
- https://www.vulncheck.com/advisories/casdoor-through-4.4.0-cross-organization-user-administration-via-api-mcp ↗