An authenticated staff user with the Reports module flag can read arbitrary data from the application database. This occurs when the `Criteria` parameter matches /branchcode/ in the 'reports/catalogue out.pl' endpoint. The issue stems from the `calculate()` function, which concatenates the unmodified `Filter` request parameter directly into a LIKE clause of a SQL statement and executes it via DBI without using bound parameters. This allows for error-based SQL injection, enabling full read access to sensitive tables such as borrowers (containing password hashes, 2FA secrets, and personally identifiable information), borrower password recovery, api keys, and sessions.