Summary
frab has a privilege-escalation vulnerability that can let an authenticated crew user assign themselves an orga role through unchecked nested conference-user attributes. If the affected user-management actions are reachable, this may grant broad management access to conferences and their events.
Affected context
The issue is in frab's user creation and update flows. The described risk applies when an authenticated crew user can submit nested conference_users_attributes to UsersController#create or UsersController#update, and those actions do not apply the conference-user filtering used to restrict role changes. A successful role change may give the user orga permissions on conferences.
Exploit preconditions
- Attack surface: frab user creation or update functionality
- Required access: An authenticated crew account able to reach the relevant action
- Trigger point: Processing of submitted nested
conference_users_attributes - Why exploitation is possible: The affected actions skip
filter_conference_users, allowing role attributes to be accepted without the intended restriction
Why this happens
The underlying issue is insufficient authorization around changes to user roles and conference membership. Nested attributes are processed without consistently enforcing the rules that constrain which conference roles a crew user may assign. This is an improper privilege management weakness (CWE-269): an authenticated user can cause the application to grant authority beyond their intended permissions.
Potential impact
- A crew user may gain orga privileges on a conference
- An attacker could manage conference events and schedules
- An attacker may gain control over reviewer and crew administration
- Unauthorized changes could affect conference operations and data
General mitigation guidance
Defensive patterns include applying authorization checks consistently to every user creation and update path, including nested attributes. Derive permitted role changes from the authenticated user's authorized scope rather than trusting submitted values, and reject or ignore fields the user is not allowed to modify. Prefer secure-by-default role assignment, centralize authorization policy, and grant accounts only the minimum privileges required.
How teams detect issues like this
- Review all user creation and update paths for nested attributes that affect roles, memberships, or permissions.
- Use static analysis or code review checks to identify actions that bypass shared authorization filters or accept sensitive fields without explicit authorization.
- Add policy tests verifying that crew users cannot assign orga roles or modify memberships outside their permitted scope.
- Monitor audit logs for unexpected role changes, especially crew-to-orga transitions and changes spanning multiple conferences.

