Summary
FreeScout allows a non-administrator agent to remove the administrator-imposed restriction that limits them to assigned tickets. After saving their profile, the agent may be able to read and modify conversations assigned to other agents in mailboxes they already belong to.
Affected context
The issue affects FreeScout installations where a restricted agent can access the profile form and save profile changes. The form exposes the only_assigned_tickets permission, and the profile-save handler can add or remove that permission without verifying that the editor is an administrator.
Exploit preconditions
- Attack surface: The user profile form and profile-save endpoint
- Required access: An authenticated agent account subject to the only-assigned-tickets restriction
- Trigger point: Saving a profile after unchecking the restriction or submitting a save that omits it
- Why exploitation is possible: The handler changes the permission without checking whether the editor has administrative authority
Why this happens
The profile-save logic allows a user to modify a security-sensitive permission without enforcing an authorization check for that change. This is an improper privilege management issue (CWE-269) and an access-control weakness (CWE-284): a non-administrator can alter an administrator-controlled restriction on their own account.
Potential impact
- An affected agent may be able to view conversations assigned to other agents in mailboxes they belong to.
- The agent may be able to modify conversations beyond their intended assignment scope.
- Unauthorized access to conversation contents could expose sensitive information.
General mitigation guidance
Security-sensitive permissions are best managed through trusted administrative workflows rather than ordinary self-service profile updates. Common defensive patterns include:
- Enforcing server-side authorization checks for every permission change.
- Rejecting or ignoring unauthorized changes to administrator-controlled fields, including fields omitted from a submitted profile.
- Keeping access-control decisions independent of client-visible form controls.
- Applying least privilege to agent roles and limiting mailbox membership to what users need.
How teams detect issues like this
Review profile-save handlers and similar endpoints for changes to role, permission, or access-scope fields without explicit authorization checks. Static analysis and code review can flag sensitive fields that are bound directly from user-submitted data. Policy tests can verify that non-administrators cannot alter administrator-controlled permissions, whether fields are changed, unchecked, or omitted.

