Skip to main content

Admidio CVE-2026-41660

| EUVDEUVD-2026-28272 HIGH
Incorrect Authorization (CWE-863)
2026-04-29 https://github.com/Admidio/admidio GHSA-rh3w-4ccx-prf9
7.1
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate as group leader
  2. Delivery
    Identify admin user UUID
  3. Exploit
    POST /two_factor_authentication.php with target UUID
  4. Install
    Server validates hasRightEditProfile()
  5. C2
    Inverted check passes for other-user reset
  6. Execute
    Admin TOTP removed
  7. Impact
    Credential stuffing against admin login
  8. Step 8
    Admin 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

admidio < 5.0.9

Affected Packages

composer admidio/admidio fix: 5.0.9
euvd admidio fix: 5.0.9

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

GitHub Advisory PRIMARY 7.1 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low

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:

php
// 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

  1. As testuser (a non-admin group leader with edit rights on admin profiles), send:
http
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.

  1. As testuser, attempt to reset their own 2FA:
http
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:

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 82% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy