Reddit talk promotion offers don't expire, allowing users to accept them after being demoted
Reddit Talk promotion offers (offerIds) do not expire after being accepted, so a demoted user can replay the acceptance request to regain speaker or host privileges. This allows a user to re-promote themselves at any time, potentially disrupting the talk.
- Triaged in 8 days
- Fixed in 36 days
- Paid in 18 days
- Disclosed after 2 months
Description:
When promoting a user to a speaker/host, an offerId is created which can be accepted by the user. However, after accepting them the offerIds don't expire. This means that after the user is demoted back to a listener, they can still use the offerIds to go back to their previous promoted role.
Steps To Reproduce:
- Have 2 accounts ready UserAVictim and UserBAttacker.
- Create a new reddit talk as UserAVictim.
- As UserB join the talk.
- As UserA promote UserB to the speaker (works as well with host). This can be done by clicking their avatar and choosing invite to speak (to promote to speaker) or add as host (to promote to host).
- As UserB notice that a pop up appears saying "USER has invited you to speak". Monitor and save the request used when clicking accept.
The request should be to https://gql.reddit.com The body should be similar to {"variables":{"platformUserId":"PLATFORM_USER_ID","offerId":"UUID_OFFER_ID"},"id":"475c91dd4480"} 6. As UserA demote UserB to listener. (Click UserB's avatar and click Move to Audience) 7. As UserB repeat/re-send the request used in step 5. Notice that you will be promoted back to speaker/host.
This works even after you are demoted again.
Impact
This allows speakers/hosts of a talk to re-become a speaker/host at any time after being demoted. This could lead to interruptions to the reddit talk.
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 server does not invalidate or expire the offerId after it has been used or after the user's role is revoked.
Impact
A demoted speaker or host can regain their role at any time, which could lead to interruptions to the Reddit Talk.
What the attacker needed
Two Reddit accounts; One account hosts a Reddit Talk; The other account joins the talk
How it was found
- Create two accounts: one as the talk host (UserA) and one as a participant (UserB).
- UserA creates a new Reddit Talk.
- UserB joins the talk.
- UserA promotes UserB to speaker or host.
- UserB accepts the invitation and saves the network request.
- UserA demotes UserB to listener, then UserB replays the saved request to become speaker/host again.
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.
When a host invites someone to speak in a Reddit Talk, the system creates a special one-time code (an offerId) that the invitee uses to accept. The problem is that this code never stops working, so even after the host removes the person from speaking, they can reuse the old code to become a speaker again without permission.
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.