PHP
CVE-2026-32755
MEDIUM
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents moderate real-world risk despite the 5.7 CVSS score. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N) correctly reflects that exploitation requires low attack complexity, network accessibility, low privilege (role leader, not administrator), and user interaction (victim must visit attacker's page). The integrity impact is high because membership dates directly control access to features (events, document folders, mailing lists), allowing effective account lockout or unauthorized access extension. The attack surface is broad because UUIDs are discoverable from HTML source visible to any authenticated member, and role leaders are common unprivileged users (team captains, committee chairs). While no EPSS score or active KEV listing is indicated in the source data, the availability of a functional proof-of-concept substantially increases exploit likelihood. The absence of administrative approval or confirmation dialogs means impact occurs silently. Exploitation probability is high among targeted role leaders, and automation is feasible, making this a practical priority for organizations using Admidio with role-based access control. |
| Exploit ScenarioDerived | A role leader (e.g., sports team captain) logs into their Admidio organization to manage team membership. An attacker, who is also a member of the organization, discovers the membership UUIDs by viewing profile pages in HTML source. The attacker creates a malicious webpage containing a hidden form that targets the save_membership endpoint with end_date set to a past date (e.g., 2000-01-02). The attacker sends a message to the team captain with a link (disguised as a document or announcement), and when the captain clicks it while still logged into Admidio, the form auto-submits via JavaScript. The membership dates are silently overwritten, immediately revoking the target member's access to team events and shared documents. The captain receives no notification of this change, and the target member discovers their access is gone when they next attempt to view role-restricted content. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 17, 2026
Admidio's profile membership management function fails to validate CSRF tokens on the save_membership action, allowing an attacker to forge requests that modify membership start and end dates for any member of roles led by the victim. While other membership-related actions (stop_membership, remove_former_membership) include CSRF protection, save_membership was omitted from validation, enabling silent privilege escalation or access revocation through cross-site request forgery. A proof-of-concept exists demonstrating immediate exploitation by embedding a form on an external page.
RemediationAI
Upgrade Admidio to the patched version released by the vendor (refer to https://github.com/Admidio/Admidio/security/advisories/GHSA-h8gr-qwr6-m9gx for the exact version number). The primary fix is straightforward: add 'save_membership' to the CSRF validation check array in modules/profile/profile_function.php line 40, ensuring SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']) is called before processing membership date changes. Until patching is possible, apply defense-in-depth controls: enforce SameSite=Strict cookie policy on the session cookie to mitigate cross-site request forgery, restrict profile_function.php access via IP allowlist if the Admidio instance is internal-only, and implement Content Security Policy headers to limit form submissions to same-origin destinations. Additionally, audit membership changes via database logs to detect silent modifications and configure email notifications for role leaders on membership updates.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in Admidio (pkg:composer/admidio_admidio), a PHP-based group and event management platform, specifically in modules/profile/profile_function.php. The root cause is an incomplete CSRF token validation check (CWE-352: Cross-Site Request Forgery). While the codebase implements SecurityUtils::validateCsrfToken() for mutative operations, the save_membership mode was excluded from the if-statement array that triggers validation. The handler processes POST parameters (adm_membership_start_date, adm_membership_end_date) and updates the database via Role::setMembership() without confirming the request originated from an authenticated session form. The FormPresenter does generate and inject an adm_csrf_token hidden field into the membership form HTML, but this token is never retrieved or validated server-side for save_membership requests, making the client-side token generation ineffective.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
Summary
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.
Details
CSRF Check Is Absent for save_membership
File: D:/bugcrowd/admidio/repo/modules/profile/profile_function.php, lines 40-42
The CSRF guard covers only two of the three mutative modes:
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:
} 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
The Form Does Generate a CSRF Token (Not Validated)
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.
Who Can Be Exploited as the CSRF Victim
File: D:/bugcrowd/admidio/repo/src/Roles/Entity/Role.php, lines 98-121
The allowedToAssignMembers() check grants write access to:
- Any user who is
isAdministratorRoles()(role administrators), or - Any user who is a leader of the target role when the role has
rol_leader_rightsset toROLE_LEADER_MEMBERS_ASSIGNorROLE_LEADER_MEMBERS_ASSIGN_EDIT
Role 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.
UUIDs Are Discoverable from HTML Source
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.
PoC
The attacker hosts the following HTML page and tricks a role leader into visiting it while logged in to Admidio:
<!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.
Impact
- Unauthorized membership date manipulation: A role leader's session can be silently exploited to change start and end dates for any member of roles they lead. Setting the end date to a past date immediately terminates the member's active participation.
- Effective access revocation: Membership in roles controls access to role-restricted features (events visible only to role members, document folders with upload rights, and mailing list memberships). Revoking membership via CSRF removes these access rights.
- Covert escalation: An attacker could also extend a restricted membership period beyond its authorized end date, maintaining access for a user who should have been deactivated.
- No administrative approval required: The impact occurs silently on the victim's session with no confirmation dialog or notification email.
Recommended Fix
Fix 1: Add save_membership to the existing CSRF validation check
// File: modules/profile/profile_function.php, lines 40-42
if (in_array($getMode, array('stop_membership', 'remove_former_membership', 'save_membership'))) {
// check the CSRF token of the form against the session token
SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);
}Fix 2: Use the form-object validation pattern (consistent with other write endpoints)
} elseif ($getMode === 'save_membership') {
// Validate CSRF via form object (consistent pattern used by DocumentsService, etc.)
$membershipForm = $gCurrentSession->getFormObject($_POST['adm_csrf_token']);
$formValues = $membershipForm->validate($_POST);
$postMembershipStart = $formValues['adm_membership_start_date'];
$postMembershipEnd = $formValues['adm_membership_end_date'];
// ... rest of save logic unchanged
}Executive ViewAI
CVE-2026-32755 presents moderate security risk, a cross-site request forgery vulnerability rated CVSS 5.7. Users could be tricked into performing unintended actions. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: implement SameSite cookie attributes and anti-CSRF tokens.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Affected Products (CPE)GitHub Advisory
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
GHSA-h8gr-qwr6-m9gx
NVD
CVE.org
EPSS
VulDB
Exploit-DB