Skip to content

Broken access control in profile_function.php leaks future memberships

Moderate
Fasse published GHSA-4p3x-3rxj-v7c4 Aug 16, 2026

Package

composer admidio/admidio (Composer)

Affected versions

<= 5.0.11

Patched versions

>= 5.0.12

Description

Summary

Authenticated low-privilege users can read another user's future role memberships through profile_function.php, bypassing the profile-level authorization check.

Details

This issue is configuration-dependent. It becomes exploitable when the target role is visible to the attacker (for example, rol_view_memberships = Role members / Logged in users, or the attacker is a leader) and the victim has a future membership (mem_begin > DATE_NOW).

profile.php correctly enforces profile-level authorization via hasRightViewProfile(), but profile_function.php?mode=reload_future_memberships bypasses that check and directly returns the future-membership fragment. The endpoint calls getFutureRolesFromDatabase() and getRoleMemberships(), which only check role-view rights / self-access, not profile authorization or a time-window access check.

Relevant code paths:

  • modules/profile/profile.php: profile access check
  • modules/profile/profile_function.php: reload_future_memberships
  • modules/profile/roles_functions.php: getFutureRolesFromDatabase() / getRoleMemberships()
  • src/Users/Entity/User.php: hasRightViewProfile()

PoC

1.Login as USER1.
2.Open profile.php?user_uuid=<victim_uuid> -> access denied.
example url: http://127.0.0.1/admidio_v5.0.9/modules/profile/profile.php?user_uuid=d1da0df1-7c6d-4c54-97fd-de62611ccd93
image

3.Open profile_function.php?mode=reload_future_memberships&user_uuid=<victim_uuid> -> future membership is returned.
example url: http://127.0.0.1/admidio_v5.0.9/modules/profile/profile_function.php?mode=reload_future_memberships&user_uuid=d1da0df1-7c6d-4c54-97fd-de62611ccd93
image

Impact

Disclosure of sensitive future memberships to authenticated low-privilege users.

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

CVE ID

CVE-2026-82658

Weaknesses

Improper Authorization

The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. Learn more on MITRE.

Credits