Description
Trudesk through 1.2.11 contains an authorization bypass vulnerability that allows any authenticated user to read private conversations by supplying another conversation's id. Attackers can request GET /api/v1/messages/conversation/:id, which lacks participant checks, to obtain full message history plus participants' usernames, full names and email addresses.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
polonel trudesk
Default version status: unaffected
0 to ≤ 1.2.11affected
pkg:github/polonel/trudeskReferences
- https://hackmd.io/@hieuPenguinnn/trudesk-conversation-messages-idor ↗
- https://github.com/polonel/trudesk/blob/v1.2.11/src/controllers/api/v1/messages.js#L255-L308 ↗
- https://github.com/polonel/trudesk/blob/v1.2.11/src/models/chat/message.js#L70-L101 ↗
- https://github.com/polonel/trudesk ↗
- https://www.vulncheck.com/advisories/trudesk-through-1.2.11-authorization-bypass-via-get-api-v1-messages-conversation-id ↗