Description (CNA)
WhaTicket Community through commit cf04795 contains an insecure direct object reference vulnerability that allows authenticated agents to access other agents' tickets because ShowTicketService performs no ownership or queue checks. Attackers can supply another agent's ticket id to GET /tickets/:ticketId and /messages/:ticketId to read full message history and POST WhatsApp replies.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| canove / whaticket-community | affected 0 through cf047955a6f0d07002ed89c67d765c28d06f8d52 |
CWE
CWE-639
References
- https://hackmd.io/@hieuPenguinnn/whaticket-community-signup-eop-ticket-idor
- https://github.com/canove/whaticket-community/blob/cf047955a6f0d07002ed89c67d765c28d06f8d52/backend/src/services/TicketServices/ShowTicketService.ts
- https://github.com/canove/whaticket-community/blob/cf047955a6f0d07002ed89c67d765c28d06f8d52/backend/src/controllers/MessageController.ts#L24-L58
- https://github.com/canove/whaticket-community
- https://www.vulncheck.com/advisories/whaticket-community-through-commit-cf04795-idor-via-tickets-ticketid-and-messages-ticketid
ADP enrichment
No English description supplied.