Admidio: Missing CSRF Protection on Registration Approval Actions
admidio
admidio
| Product | Affected | Fixed in |
|---|---|---|
| admidio/admidio Packagist |
|
|
Admidio is an open-source user management solution. Prior to version 5.0.8, the create_user, assign_member, and assign_user action modes in modules/registration.php approve pending user registrations via GET request without validating a CSRF token. Unlike the delete_user mode in the same file (which correctly validates the token), these three approval actions read their parameters from $_GET and perform irreversible state changes without any protection. An attacker who has submitted a pending registration can extract their own user UUID from the registration confirmation email URL, then trick any user with the rol_approve_users right into visiting a crafted URL that automatically approves the registration. This bypasses the manual registration approval workflow entirely. This issue has been patched in version 5.0.8.
From the CVE record · GitHub_M
Before version 5.0.8, Admidio's registration module approves pending users through GET requests without validating a CSRF token. An attacker with a pending registration can trick a user with the rol_approve_users right into visiting a crafted URL, approving the registration without the intended manual review.
Anyone running the Packagist package admidio/admidio before version 5.0.8 should check their installation.