Summary
Probo could allow an organization ADMIN to create a membership with OWNER privileges through the createUser function, bypassing the owner-only authorization gate.
An attacker with organization ADMIN access may be able to gain elevated control over that organization.
Affected context
The issue affects Probo versions before 0.224.0 when an organization ADMIN can use createUser to mint an OWNER membership. The function's authorization behavior does not enforce the owner-only restriction applied by the set-owner operation.
Exploit preconditions
- Attack surface: Probo organization user and membership creation
- Required access: An account with organization ADMIN privileges
- Trigger point: Creating a user membership with OWNER privileges through
createUser - Why exploitation is possible: The creation path allows an ADMIN to bypass the owner-only authorization gate
Why this happens
The user-creation path does not consistently enforce the authorization policy for assigning OWNER privileges. This is an authorization bypass mapped to CWE-863: Incorrect Authorization; it also reflects improper privilege management (CWE-269) because a lower-privileged role can grant a higher-privileged membership.
Potential impact
- An organization ADMIN may gain OWNER-level control
- Organization settings or membership may be changed without the intended authorization
- Sensitive organization resources may be exposed or modified
- Governance and audit controls may be undermined
General mitigation guidance
Mitigations generally focus on applying a single, consistent authorization policy to every path that creates or changes privileged memberships.
Common defensive patterns include:
- Enforcing owner-only checks server-side wherever OWNER privileges can be granted
- Centralizing role-assignment authorization rather than relying on checks in individual operations
- Restricting role changes to the minimum privileges needed
- Validating requested roles against the actor's permissions before creating or updating memberships
- Auditing privileged membership grants and reviewing unexpected role changes
How teams detect issues like this
Detection can include:
- Static analysis and code review for role assignment paths that lack centralized authorization checks
- Reviewing whether user creation and role-update operations enforce equivalent privilege rules
- Monitoring audit logs for OWNER memberships created by organization ADMIN accounts
- Applying policy checks that prevent lower-privileged roles from granting higher-privileged roles
- Using automated review tools to flag authorization checks that differ across related operations

