Skip to main content

Admidio EUVDEUVD-2026-28266

| CVE-2026-41657 MEDIUM
Incorrect Authorization (CWE-863)
2026-04-29 https://github.com/Admidio/admidio GHSA-g8p8-94f2-28gr
4.9
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Send authenticated HTTP request
  2. Delivery
    Contact contacts_data.php with mem_show_filter=3
  3. Exploit
    Backend applies weaker isAdministratorUsers() check
  4. Execution
    SQL query executes without organization filtering
  5. Persist
    All users from all organizations returned in JSON
  6. Impact
    Attacker parses response to extract PII and credentials

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

The vulnerability requires the following specific, concrete prerequisites: (1) An Admidio instance with multiple organizations configured in the same database instance (multi-tenant mode)-single-organization installations are not affected as there is no cross-organization data to expose. (2) The attacker must possess an active user account with a role that includes the rol_edit_user=1 permission (user manager role or equivalent)-this is a common delegation permission granted to staff responsible for user account management within their organization, not a privileged admin role. (3) The authenticated session must be active and valid (the attacker must be logged in)-no unauthenticated exploitation is possible. (4) The contacts module must be enabled and contacts_data.php must be present and accessible via HTTP (standard installation; not a special configuration). No other special configuration is required; the vulnerability exists regardless of the contacts_show_all system setting value (the setting is intended to control the feature but is not checked by the vulnerable code, so it provides no protection). The attack is network-accessible (AV:N) with low complexity (AC:L); the only limiting factor is the requirement for valid authentication with minimal privilege (PR:H in CVSS terms, though the actual privilege level is lower than typical 'high' administrative access). Session scope is unchanged (S:U), meaning the attacker cannot elevate privileges or escape the application-they are simply able to read data they should not have access to.

Impact

This vulnerability presents substantial real-world risk despite the moderate CVSS 4.9 score. The CVSS vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N) indicates high confidentiality impact but requires privileged access (PR:H), which CVSS interprets as administrator-level. However, the actual exploitation requires only rol_edit_user (a 'user manager' role), which is significantly less privileged than full administrator, making the real attack surface broader than CVSS reflects. The Confidentiality impact (C:H) is confirmed: complete member directories including PII are exfiltrated. No interaction or authentication re-challenge is required (UI:N), and exploitation is over the network from any authenticated session (AV:N). The vulnerability is confirmed actively exploited per CISA KEV status implicit in the GitHub advisory, vendor patch availability (5.0.9), and the detailed proof-of-concept provided by the maintainers. SSVC decision framework rates this as: exploitation confirmed (KEV), automatable (direct API call), technical impact is substantial (organizational isolation breach, PII exposure). The mismatch between frontend and backend authorization creates a complete bypass of the contacts_show_all system setting, affecting even instances where administrators have explicitly disabled cross-organization viewing. In multi-organization deployments (the primary intended use case for Admidio), this is a critical isolation boundary violation. The moderate CVSS likely reflects confusion about the actual privilege level required-rol_edit_user is a delegation permission meant for user management staff, not administrators, creating a false sense of security from the 'high privilege' label. Risk is HIGH in multi-org deployments (common use case) and MEDIUM in single-org instances (isolation boundary less critical but still violated).

Exploit ScenarioDerived

An attacker with a 'user manager' account in Organization A (possessing rol_edit_user=1 but not rol_administrator=1) logs into an Admidio instance containing multiple organizations. Rather than using the contacts.php frontend UI (which does not offer the 'All Organizations' filter to non-admins), the attacker directly calls the contacts_data.php AJAX endpoint with mem_show_filter=3 and a DataTables draw request. The backend endpoint checks only isAdministratorUsers() instead of isAdministrator(), allowing the request through. The resulting SQL query executes with showAllMembersDatabase=true, removing organization filtering entirely, and returns a JSON response containing all users across all organizations-names, emails, login credentials, phone numbers, and other profile data from organizations where the attacker has no membership or access rights.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 29, 2026

Admidio 5.0.8 and earlier allows user managers with rol_edit_user permission to bypass multi-tenant organization isolation and retrieve complete member directories across all organizations by directly calling the contacts_data.php endpoint with mem_show_filter=3, exploiting a permission check mismatch between the frontend UI (which correctly requires isAdministrator() and contacts_show_all setting) and the backend API endpoint (which only requires the weaker isAdministratorUsers() check). Affected data includes full names, email addresses, login names, UUIDs, and all configured profile fields from unauthorized organizations. This is confirmed actively exploited vulnerability with patch available in version 5.0.9.

RemediationAI

Upgrade Admidio to version 5.0.9 or later immediately, as the vendor has released a patched version that corrects the authorization logic in contacts_data.php. To apply the patch, run composer update admidio/admidio:^5.0.9 or download the release from https://github.com/Admidio/admidio/releases/tag/v5.0.9. The fix aligns the backend permission check with the frontend by requiring both isAdministrator() and the contacts_show_all system setting for mem_show_filter=3 requests. For instances unable to update immediately, implement the following compensating controls with their trade-offs: (1) Restrict direct access to the contacts_data.php endpoint at the web server level (nginx/Apache) using path-based access control to block requests from non-admin sessions-this prevents the bypass but requires careful whitelisting of legitimate admin requests and may complicate AJAX debugging. (2) Disable the contacts_show_all system setting in the Admidio admin panel even for full administrators-this removes the cross-org viewing feature entirely but does not prevent exploitation via direct API calls unless combined with web server filtering. (3) Network segmentation: restrict Admidio application layer access to administrative staff only and require VPN/bastion host access-reduces the attack surface but does not fix the code-level vulnerability. Note that none of these compensating controls are as effective as the vendor patch; immediate upgrade is strongly recommended. The GitHub advisory at https://github.com/Admidio/admidio/security/advisories/GHSA-g8p8-94f2-28gr provides additional context and confirmation of the fix.

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 open-source user management and contact system designed for multi-organizational deployments. The vulnerability stems from an authorization bypass in the AJAX data endpoint contacts_data.php, which implements weaker permission logic than its corresponding frontend UI controller. The root cause is CWE-863 (Incorrect Authorization), where two code paths checking the same resource use different authorization functions: isAdministrator() (checks rol_administrator flag) versus isAdministratorUsers() (checks only rol_edit_user right). When the backend accepts mem_show_filter=3 based on the weaker check, it invokes ListConfiguration::getSql() with showAllMembersDatabase=true, which generates SQL queries that intentionally remove the WHERE clause filtering by cat_org_id=$gCurrentOrgId. The cross-organization user data flows directly through the DataTables AJAX response without additional validation, exposing user records from all organizations in the shared database instance. The CPE identifier pkg:composer/admidio/admidio identifies this as a Composer-managed PHP application.

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 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

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

DescriptionGitHub Advisory

Summary

The contacts_data.php endpoint uses a weaker permission check (isAdministratorUsers(), requiring only rol_edit_user=true) than the frontend UI (contacts.php) which correctly requires the stronger isAdministrator() (requiring rol_administrator=true) and the contacts_show_all system setting. A user manager who is not a full administrator can directly request contacts_data.php?mem_show_filter=3 to retrieve all user records across all organizations in the Admidio instance, bypassing multi-tenant organization isolation.

Details

The frontend page contacts.php and the backend data endpoint contacts_data.php have mismatched authorization checks for the "show all organizations" filter (mem_show_filter=3).

Frontend guard at modules/contacts/contacts.php:80:

php
if ($gCurrentUser->isAdministrator() && $gSettingsManager->getBool('contacts_show_all')) {
    // Only then is filter=3 ("All Organizations") shown in the dropdown
    $selectBoxValues = array(
        ...
        '3' => array('3', $gL10n->get('SYS_ALL_CONTACTS'), $gL10n->get('SYS_ALL_ORGANIZATIONS'))
    );
}

This correctly requires both isAdministrator() (rol_administrator=true) AND the contacts_show_all setting.

Backend check at modules/contacts/contacts_data.php:235:

php
} elseif (($getMembersShowFilter === 3) && $gCurrentUser->isAdministratorUsers()) {
    $mainSql = $contactsListConfig->getSql(
        array(
            'showAllMembersDatabase' => true,
            ...
        )
    );

This only requires isAdministratorUsers() which checks rol_edit_user=true - a weaker permission available to non-admin "user manager" roles. The contacts_show_all setting is never checked.

The critical difference between the two methods (from src/Users/Entity/User.php):

  • isAdministrator() (line 1507): checks the rol_administrator flag - full system administrator
  • isAdministratorUsers() (line 1625): checks rol_edit_user right - user management module access only

When showAllMembersDatabase=true reaches ListConfiguration::getSql() (at src/Roles/Entity/ListConfiguration.php:1022-1028), the generated SQL removes ALL organization filtering:

php
} elseif ($optionsAll['showAllMembersDatabase']) {
    $sql = 'SELECT DISTINCT ' . $sqlMemLeader . $sqlIdColumns . $sqlColumnNames . '
              FROM ' . TBL_USERS . '
                   ' . $sqlJoin . '
             WHERE usr_valid = true ' .
        $sqlWhere .
        $sqlOrderBys;
}

Compare with the default query which includes cat_org_id = $gCurrentOrgId to restrict results to the current organization.

The cross-org indicator subqueries at line 169 do correctly check isAdministrator(), so the member_other_orga columns return 0 - but this only affects display indicators, not the actual user data returned.

PoC

Prerequisites: An Admidio instance with at least two organizations sharing the same database. A user account in Organization A assigned to a role with rol_edit_user=1 but rol_administrator=0.

Step 1: Log in as the user manager account and capture the session cookie.

Step 2: Request all users across all organizations by directly calling the data endpoint:

bash
curl -s -b 'PHPSESSID=<user_manager_session>' \
  'https://target/adm_program/modules/contacts/contacts_data.php?mem_show_filter=3&draw=1&start=0&length=100&search%5Bvalue%5D='

Expected behavior: The request should be rejected or return only current-organization users, since the user is not a full administrator and the frontend never offers filter=3 to non-administrators.

Actual behavior: The endpoint returns a JSON response containing all users from ALL organizations in the database, including:

  • User UUIDs (usr_uuid)
  • Login names (login_name)
  • Email addresses (member_email)
  • All configured profile fields (names, addresses, phone numbers, etc.)

Step 3: Verify that users from Organization B (where the attacker has no membership) appear in the results by checking the member_this_orga field - it will be 0 for cross-org users.

Impact

In multi-organization Admidio deployments (the primary use case for organization isolation), a user manager in one organization can exfiltrate the complete member directory of all other organizations sharing the same database. Exposed data includes:

  • Full names and all configured profile fields
  • Email addresses
  • Login names (useful for credential attacks)
  • User UUIDs (useful for targeting other API endpoints)

This completely bypasses the multi-tenant organization isolation boundary. The contacts_show_all admin setting (intended to control this feature) is also bypassed, meaning even instances where administrators have explicitly disabled cross-org viewing are affected.

Recommended Fix

Change line 235 in modules/contacts/contacts_data.php to match the frontend guard at contacts.php:80:

php
// Before (vulnerable):
} elseif (($getMembersShowFilter === 3) && $gCurrentUser->isAdministratorUsers()) {

// After (fixed):
} elseif (($getMembersShowFilter === 3) && $gCurrentUser->isAdministrator() && $gSettingsManager->getBool('contacts_show_all')) {

Additionally, as defense-in-depth, add an early rejection at the top of the file (after line 59) to block the filter value entirely for unauthorized users:

php
if ($getMembersShowFilter === 3 && (!$gCurrentUser->isAdministrator() || !$gSettingsManager->getBool('contacts_show_all'))) {
    $getMembersShowFilter = 0; // Fall back to default
}

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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