Skip to content
Access control Disclosed report Beginner

read and message other user's messages

The chat page trusted a client-supplied session parameter, so changing it let one account view and send messages in another account's chat. An attacker with their own account could read and post as other users.

beksem35 Follow

Originally disclosed on HackerOne

Critical View original
  • Disclosed after 7 months

go to your account's chat page, stop the request and change the reddit session parameter, now leave the request and you will be able to access the test account's chat screen

send the request to the repeater change the reddit session parameter and send it then you will see the return result is 200

show reply in browser and copy and paste the address into your browser you will access the chat page of your test account

Impact

other users' chat screen can be accessed and message can be sent

The original report as published on HackerOne, by beksem35. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

How it worked

Root cause

Likely the chat endpoint trusted a session identifier supplied in the request instead of deriving the user from the server-side session.

Impact

An attacker could access other users' chat screens and send messages as them.

What the attacker needed

Knowledge of another user's session value

How it was found

  1. Open the chat page on your own account and intercept the request.
  2. Change the session parameter to another account's value and forward the request.
  3. Send the modified request in the repeater and observe a 200 response.
  4. Show the response in the browser to reach the other account's chat page.

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 report has not been written yet. The Original tab links to the source.

The chat page accepted a session value sent in the request, so changing it let someone open another account's chat and send messages.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Reddit

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.