Skip to main content
Menu
Advisories

User API authorization bypass allows cross-user access and administrator scope violations

GHSA-H4FQ-8PFF-CQ4VPublished Updated GitHub

Description

Inconsistent ownership and target validation in the eduMFA user API can allow authenticated self-service users to access another account and restricted administrators to operate outside their permitted users, resolvers, or realms.

Impact and prerequisites

  • Self-service users: Unauthorized profile/password changes require updateuser and backend write access. Custom-attribute setting and deletion require the corresponding set_custom_user_attributes or delete_custom_user_attributes grant. Attribute reads and user listing can disclose another account's data; listing is governed by userlist. Several resolver-selection cases require identical usernames in different resolvers. Other cases target records through a user ID or URL.
  • Restricted administrators: Existing user-management permissions can be applied to unchecked account names, record IDs, or realm/resolver combinations, allowing unauthorized account creation, modification, deletion, or access to custom attributes. Password changes can enable account takeover.
  • Identity lookup failures: If resolving the signed-in user fails, a supplied token serial can substitute the token owner's identity instead of rejecting the request.

Custom attributes are stored in eduMFA, so their exposure or modification also affects read-only resolvers. The configured Editable flag alone does not protect user-store writes.

Workaround

Until the fix is deployed, restrict affected /user routes. Disabling individual self-service write permissions mitigates only the corresponding write paths; it does not cover the read or administrator-scope bypasses. Keep restrictive user-scope policies active: removing all such policies restores default allowances, including updateuser.

Remediation

Update to eduMFA v2.9.6 which contains the fixes.

Affected versions

References

GitHub · eduMFA/eduMFA