Submit #556201: Casbin Casdoor v1.430.0-v1.812.0 Authorization Bypassinfo

TitleCasbin Casdoor v1.430.0-v1.812.0 Authorization Bypass
DescriptionAll versions of this IAM product released between Oct 2023 and Jan 2025 are vulnerable to a remote attacker creating an admin account without authenticating. The endpoint to create SCIM users is simply lacking authentication middleware, creating a SCIM user will associate a corresponding local user. To use the exploit, issue a POST request to `/scim/Users`: ``` {"active":true,"displayName":"Admin","emails":[{"value":"[email protected]"}],"password":"cool-password"} ``` The developers silently issued a fix: https://github.com/casdoor/casdoor/commit/3d12ac8dc2282369296c3386815c00a06c6a92fe Developers have not responded to email, on Discord they responded by kicking me. This is being actively exploited in the wild.
User
 krav (UID 84007)
Submission04/11/2025 00:13 (1 Year ago)
Moderation05/02/2025 12:45 (22 days later)
StatusAccepted
VulDB entry307180 [Casdoor up to 1.811.0 SCIM User Creation Endpoint controllers/scim.go HandleScim authorization]
Points17

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!