Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as group leader
-
DeliveryIdentify admin user UUID
-
ExploitPOST /two_factor_authentication.php with target UUID
-
InstallServer validates hasRightEditProfile()
-
C2Inverted check passes for other-user reset
-
ExecuteAdmin TOTP removed
-
ImpactCredential stuffing against admin login
-
Step 8Admin access gained
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) authenticated Admidio account with non-administrator role AND (2) 'hasRightEditProfile()' permission on a target user account-specifically an administrator account for high-impact attacks. This permission is delegated via Admidio's role-based access control, typically granted to group leaders for managing member profiles within their organizational units. Default Admidio installations do NOT grant profile edit rights on admin accounts to non-admins; organizations must explicitly configure this delegation. Exploitation does NOT require: user interaction (UI:N), special network position beyond HTTP access (AV:N), or non-default Admidio configuration settings. The vulnerability exists in default code but requires organization-specific permission delegation to exploit against high-value targets. Self-exploitation (resetting own 2FA) is ironically blocked by the same inverted logic. Limiting factor: the attacker must already hold trust-delegated permissions within the target organization's Admidio instance, substantially narrowing the threat model to insider or supply-chain scenarios rather than opportunistic internet-wide scanning. |
| Impact | CVSS 7.1 (High) reflects network vector (AV:N), low complexity (AC:L), low privileges required (PR:L), no user interaction (UI:N), high integrity impact (I:H), and low availability impact (A:L). The attack is trivially exploitable-a single authenticated HTTP POST request with a target UUID-making attack complexity genuinely low. However, real-world exploitability requires the attacker to hold two preconditions: (1) authenticated non-admin account AND (2) 'hasRightEditProfile()' permission on a target administrator account. This permission delegation is organization-specific and not default in fresh installs, substantially reducing the attack surface compared to the network-accessible CVSS vector. EPSS data not provided, but the public proof-of-concept in the GitHub advisory (GHSA-rh3w-4ccx-prf9) lowers the barrier to exploitation. Not listed in CISA KEV, suggesting no confirmed widespread exploitation. SSVC assessment: exploitation status is POC-available, automatable (single HTTP request), technical impact is partial (degrades admin security posture but does not grant immediate admin access). The integrity impact is high because stripping 2FA from admins enables follow-on credential-based attacks, but requires the attacker to separately compromise admin passwords. Priority: Medium-High for organizations using Admidio with delegated profile management; Low-Medium for default configurations without group leader permissions on admin accounts. |
| Exploit ScenarioDerived | A group leader 'alice' holds profile editing rights on the admin account 'bob' in an Admidio-managed organization. Alice authenticates to the Admidio web interface and crafts a POST request to /adm_program/modules/profile/two_factor_authentication.php with mode=reset and user_uuid set to Bob's UUID. The inverted authorization check passes because Alice's user ID does not equal Bob's ID. The server removes Bob's TOTP configuration. Bob's account is now protected only by password. Alice (or a separate attacker who compromised Alice's credentials) can now brute-force or credential-stuff Bob's password without encountering a 2FA challenge, gaining full administrator access. Public proof-of-concept exists in GitHub advisory GHSA-rh3w-4ccx-prf9. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Inverted authorization logic in Admidio's two-factor authentication reset module allows non-admin users with profile edit permissions to strip TOTP protection from administrator accounts while paradoxically blocking users from resetting their own 2FA. A group leader holding 'hasRightEditProfile()' rights on an admin account can send a single POST request to /adm_program/modules/profile/two_factor_authentication.php with the admin's UUID, disabling the admin's 2FA and reducing account security to password-only. This vulnerability affects Admidio versions ≤5.0.8; patched version 5.0.9 corrects the inverted comparison operator. Public exploit code exists via the GitHub advisory's proof-of-concept. No confirmed active exploitation (not in CISA KEV).
RemediationAI
Upgrade to Admidio version 5.0.9 immediately via Composer ('composer update admidio/admidio') or by deploying the patched release from the official GitHub repository (https://github.com/Admidio/admidio). The fix changes the comparison operator on line 84 of modules/profile/two_factor_authentication.php from '!' to '=' to correctly block non-admins from resetting other users' 2FA. If immediate upgrade is not feasible, implement compensating controls: (1) audit and revoke 'hasRightEditProfile()' permissions on administrator accounts from all group leaders and non-admin roles via Admidio's role management interface-this breaks the attack prerequisite but may disrupt organizational workflows requiring delegated profile management; (2) enable PHP opcode caching with immutable files to prevent runtime patching of the vulnerable script; (3) deploy web application firewall rules to monitor and alert on POST requests to /adm_program/modules/profile/two_factor_authentication.php where the authenticated user's ID does not match the user_uuid parameter. Trade-offs: revoking profile edit rights may require admins to handle routine profile updates, increasing admin workload; WAF rules generate false positives if legitimate admin-assisted 2FA resets occur. Full remediation requires the vendor-supplied patch.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Admidio is a PHP-based membership management system for organizations. The vulnerability resides in the authorization check at line 84 of modules/profile/two_factor_authentication.php. The conditional statement '!($gCurrentUser->isAdministrator() || $gCurrentUserId ! $userId)' incorrectly uses a strict inequality operator (!) instead of strict equality (=). Applying De Morgan's law, this evaluates to 'NOT isAdministrator() AND $gCurrentUserId = $userId', which blocks non-admins from resetting their own 2FA but permits them to reset OTHER users' 2FA. This is a textbook CWE-863 (Incorrect Authorization) violation where the access control logic implements the exact inverse of the intended security policy. The flaw exists in the application's PHP codebase (pkg:composer/admidio/admidio) and affects all deployments where group leaders have been delegated profile editing rights-a common configuration in organizational membership systems.
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:N/S:U/C:N/I:H/A:L
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
Summary
A logic error in Admidio's two-factor authentication reset inverts the authorization check. Non-admin users cannot remove their own TOTP configuration, but they can remove other users' TOTP, including administrators. A group leader with profile edit rights on an admin account can strip that admin's 2FA.
Details
In modules/profile/two_factor_authentication.php at line 84, the authorization check uses an inverted condition:
// modules/profile/two_factor_authentication.php line 84
if (!($gCurrentUser->isAdministrator() || $gCurrentUserId !== $userId))
{
throw new AdmException('SYS_NO_RIGHTS');
}By De Morgan's law, this condition evaluates as:
- Blocks when:
NOT isAdministrator() AND $gCurrentUserId === $userId - In practice: blocks non-admins from resetting their OWN 2FA
- Passes: non-admins resetting OTHER users' 2FA (the opposite of the intended behavior)
The intended logic should block non-admins from resetting other users' 2FA. The ! operator on line 84 should be =.
A group leader who holds hasRightEditProfile() permission on an admin user (checked earlier in the flow) can exploit this to strip 2FA from administrator accounts, reducing their security to password-only authentication.
Proof of Concept
- As
testuser(a non-admin group leader with edit rights on admin profiles), send:
POST /adm_program/modules/profile/two_factor_authentication.php HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Cookie: ADMIDIO_..._SESSION_ID=<testuser_session>
mode=reset&user_uuid=<admin_user_uuid>Result: the server removes 2FA from the admin account.
- As
testuser, attempt to reset their own 2FA:
POST /adm_program/modules/profile/two_factor_authentication.php HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Cookie: ADMIDIO_..._SESSION_ID=<testuser_session>
mode=reset&user_uuid=<testuser_user_uuid>Result: SYS_NO_RIGHTS error. The user cannot reset their own 2FA.
This confirms the authorization logic is inverted.
Impact
A group leader (or any user with profile edit rights on an admin) can disable two-factor authentication on administrator accounts. This degrades admin account security to password-only, opening the door to credential stuffing or brute force attacks without a 2FA barrier.
Recommended Fix
Change ! to = on line 84 of modules/profile/two_factor_authentication.php:
// Fixed condition: block non-admins from resetting OTHER users' 2FA
if (!($gCurrentUser->isAdministrator() || $gCurrentUserId === $userId))
{
throw new AdmException('SYS_NO_RIGHTS');
}--- *Found by aisafe.io*
Executive ViewAI
Admidio versions 5.0.8 and earlier contain an authorization bypass in the two-factor authentication reset module that allows non-administrator users with profile editing permissions to disable 2FA on administrator accounts, reducing those accounts to password-only protection. Organizations running Admidio for member or volunteer management face immediate risk of admin account compromise without requiring the attacker to know or reset the admin's password.
Vendor-released patch: Admidio 5.0.9. No compensating technical controls can prevent this authorization bypass without patching; operational mitigation: immediately restrict profile editing permissions on administrator accounts to admins only, and monitor POST requests to the two_factor_authentication.php endpoint for anomalies.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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
EUVD-2026-28272
GHSA-rh3w-4ccx-prf9
NVD
CVE.org
EPSS
Exploit-DB