Description
The endpoint POST /api/staff/get-new-tickets concatenates the user-controlled parameter departmentId directly into the SQL WHERE clause without parameter binding. As a result, an authenticated staff user (level ≥ 1) can inject SQL to alter the filter logic, effectively bypassing department scoping and disclosing tickets beyond their intended access.This issue affects OpenSupports: 4.11.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenSupports | OpenSupports | 4.11.0 | — |
References
- https://fluidattacks.com/advisories/tito third-party-advisory
- https://github.com/opensupports/opensupports product