Summary
Multiple critical authentication and authorization vulnerabilities were identified through source code review.
Critical Severity
- Unauthenticated Ticket Status Manipulation - Ticket close/open/resolve endpoints accessible via GET without auth
- Unauthenticated Ticket Reply Injection - Reply endpoints lack authentication
- Unauthenticated Rating Manipulation - Rating endpoints accessible without auth
High Severity
- Agent-to-Admin Privilege Escalation - Role change allows agents to escalate to admin
- Agent Password Change IDOR - Agents can change other users' passwords
- Bulk Delete Any Ticket - Any auth user can bulk-delete any tickets
- Unauthenticated Cron Email Spam - Cron/email endpoints lack auth
Medium Severity
- Cross-Ticket Attachment IDOR - Users access attachments from other tickets
- Agent Cross-Department IDOR - 1-of-N: agents access other departments' resources
Low Severity
- Unauthenticated Ticket Enumeration - Ticket metadata enumerable without auth
- Unauthenticated DB Migration - Migration endpoint lacks auth
Recommended Fix
- Add authentication middleware to all unauthenticated endpoints
- Validate ownership/permissions before status changes, deletions, password changes
- Scope department queries to agent's assigned departments
Found via automated source code review by Lighthouse
Summary
Multiple critical authentication and authorization vulnerabilities were identified through source code review.
Critical Severity
High Severity
Medium Severity
Low Severity
Recommended Fix
Found via automated source code review by Lighthouse