Skip to content
IDOR Write-up Beginner

Security Report: IDOR Vulnerability in Syfe Bug Bounty Program

The Zendesk chat message endpoint accepted a request where the conversation identifier and author identifier were swapped for another user's values, so a message could be placed into a different user's support chat. The author claims this allowed unauthorised writing into another person's chat, and speculates it could be used to trick support agents.

medium.com

Published on medium.com

Vulnerability Details Title: Insecure Direct Object Reference (IDOR) in Zendesk Chat Messages Target URL: https://uat-bugbounty.nonprod.syfe.com API Endpoint: POST /sc/sdk/v2/apps/6226a9d5074ad800efb2759b/conversations/[CONVERSATIONID]/messages Host: syfe.zendesk.com Vulnerability Type: IDOR (Insecure Direct Object…

Eng_mohaned Ashraf, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the chat backend authorised requests using the conversation and author identifiers supplied by the client rather than binding them to the authenticated session.

Impact

An attacker could write messages into another user's support chat, which the author suggests could be used to trick support agents into actions such as a password reset, though no account takeover is demonstrated.

What the attacker needed

Two accounts on the platform; ability to intercept and edit requests; knowledge of the victim's identifiers

The fix

The chat backend should check server-side that the authenticated user owns the conversation and author identity in each request, rather than trusting client-supplied identifiers.

How it was found

  1. Create an attacker account and a victim account.
  2. Capture the chat message request sent from the victim's account.
  3. Send a message from the attacker's own chat and capture that request too.
  4. Replace the conversation identifier, the author identifier and the authorisation header with the victim's values.
  5. Send the modified request and observe the attacker's message appearing in the victim's chat.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Every chat message belongs to a conversation, and the server should check that the person sending the message actually owns that conversation. Here the server apparently trusted the conversation and user identifiers sent in the request body without checking who was logged in, so changing those numbers let one account post into another account's chat. This kind of flaw is called an insecure direct object reference: the app uses an identifier from the user as if it were proof of permission.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.