Moderators can send messages to users from banned subreddits via `oauth.reddit.com/api/mod/conversations`
Moderators of a banned subreddit could still send messages to users through the mod conversation API endpoint, even though the normal message compose page silently drops such messages. An attacker could use this to keep communicating officially with users after a ban and organise a migration to a new subreddit.
Originally disclosed on HackerOne
- Triaged in 44 hours
- Fixed in 58 days
- Paid in 17 days
- Disclosed after 3 months
Summary:
It is possible for moderators to send messages to users from a banned subreddit.
I assume this is not intended considering that when trying to send a message as a banned subreddit via reddit.com/message/compose (from field) you get a 200 response but the message is never delivered to the recipient.
Steps To Reproduce:
- While in mod.reddit.com/mail/create, select a banned subreddit from the dropdown menu.
- Fill in all other fields and send the message.
Impact
Moderators can "officially" communicate with users even after the subreddit gets banned. This can be used to organize a new subreddit to migrate to in order to circumvent the ban.
What the report shows
The target is Reddit's moderator messaging feature, reached through oauth.reddit.com/api/mod/conversations and the web interface at mod.reddit.com/mail/create. The researcher, bautistareynolds, found that a moderator can send a message to a user from a subreddit that has been banned. The report was filed on HackerOne under the Reddit program, rated low severity with the weakness Improper Input Validation, paid a bounty of 100.00 USD, and disclosed on 2022-07-04.
The researcher treats this as unintended behaviour, and gives a comparison to support that view. When a moderator tries to send a message as a banned subreddit through the ordinary compose page at reddit.com/message/compose, using the from field, the server answers with a 200 response, but the message is never delivered to the recipient. The moderator mail creation page, by contrast, does deliver it.
The reproduction is short:
- Open
mod.reddit.com/mail/create. - Select a banned subreddit from the dropdown menu.
- Fill in the remaining fields and send the message.
The message reaches the recipient even though the subreddit is banned. The report does not describe the request body, the response, or any server-side detail of the delivery, and it does not state whether or how the issue was fixed.
Root cause
The report does not analyse the code. The behaviour suggests the ban state is not enforced on the moderator mail path, while the compose page silently drops the message. The compose page at reddit.com/message/compose appears to validate the from subreddit and silently drop the message when that subreddit is banned, while the moderator mail path accepts the same kind of sender without applying the same check. In other words, the ban state is enforced in one code path and not in the other, which is a classic case of a rule being applied at the UI or one entry point rather than at the shared data layer. The 200 response on the compose page is itself a hint that the rejection there is a quiet drop rather than an explicit error, so a client cannot easily tell the difference between delivered and discarded.
Impact
As the researcher puts it, moderators can "officially" communicate with users even after the subreddit gets banned. The stated abuse case is coordination: a banned community can use these messages to organise a new subreddit to migrate to, in order to circumvent the ban. The impact is therefore about the integrity of moderation decisions rather than about confidentiality or direct compromise of accounts. The report keeps the claim narrow: it is a channel for banned moderators to keep reaching their users, not a general messaging bypass for arbitrary senders.
How this kind of bug works
Many applications enforce a state rule, such as "this account or group is suspended", in the layer closest to the user: a form hides an option, a page refuses to submit, a controller checks a flag. When the same operation is exposed through a second interface, an API endpoint, a mobile client, an internal tool or a newer front end, the check is often reimplemented or forgotten. The result is a business logic flaw rather than a memory or injection bug: every individual request is well formed and the caller is authenticated, but the action should not be permitted given the state of the object involved.
These bugs are hard to catch with scanners because there is no malformed input to detect. They surface when you compare behaviour across entry points that perform the same action, or when you take an object into a restricted state and then retry operations that were allowed before. Defences are architectural: enforce the rule in the service or data layer that every entry point shares, return an explicit error instead of a silent success when the rule blocks an action, and keep the set of state transitions small and centrally defined so a new endpoint cannot skip one.
How to test for it
A practical method for this class:
- Map every entry point that performs the same action. For messaging, that means the public compose form, any API endpoint behind it, moderator tools, mobile-specific endpoints and any legacy paths. Proxy traffic while using each one and note the method, path and body shape.
- Establish the baseline. Perform the action in the normal state and confirm it succeeds, recording the exact request.
- Change the state of the sender or the object: ban, suspend, archive, lock, remove or downgrade it, depending on what the feature supports. Use a second account or a second group you control so you can observe delivery.
- Replay the recorded request from step 2 against each entry point, and also try the action through the UI of each entry point, selecting the now-restricted object where the interface still offers it.
- Check the outcome on the receiving side, not just the status code. A
200may mean the message was dropped, as the compose page in this report shows. Look for the message in the recipient's inbox or via an API read.
A positive result is a delivered message, or any other completed side effect, from an object that the application presents as restricted. Common false positives: the message is queued but never delivered, the recipient is the tester's own account and the UI merely displays a cached copy, the restricted state had already been lifted, or the endpoint returns success while a background job discards the item. Always confirm with an independent read of the recipient's state.
How it is fixed
Hunting notes
This class tends to hide wherever a product has more than one front door: public web UI versus OAuth API, old and new moderator tools, mobile app endpoints, and internal or beta interfaces that share a backend with the public one. Recon signals include duplicated functionality across hosts and paths, endpoints whose names suggest moderator or admin variants of a public action, and features where the UI hides an option based on state rather than the server refusing it. When you find one, show impact by demonstrating the side effect end to end: the restricted object as the sender, a second controlled account as the recipient, and proof of delivery. Explain the abuse case in the product's own terms, as this report does with ban circumvention, and keep the claim to what you actually observed.
What happened, in plain words
Reddit is a site where people gather in communities called subreddits. Each subreddit has moderators, volunteers who keep the community in order. Reddit can also ban a whole subreddit, which means the community is shut down and is no longer supposed to operate.
Moderators have a tool for sending messages to users on behalf of their subreddit. The researcher, bautistareynolds, found that this tool still lets a moderator send a message from a subreddit that has been banned. The message arrives in the recipient's inbox as normal.
The researcher argues this is not intended, and gives a comparison. Reddit has an ordinary message compose page at reddit.com/message/compose, where you can choose which subreddit the message comes from using a from field. If you try to send from a banned subreddit there, the server answers with a 200 response, but the message never reaches the recipient. The moderator mail page behaves differently: there the message is delivered.
A 200 response is the standard web code for "OK, the request was handled". It is what a browser receives when a page loads fine. The point here is that a 200 does not always mean the action really happened: on the compose page the server says OK and then quietly throws the message away.
The report was filed on HackerOne under the Reddit program. It was rated low severity, classified as Improper Input Validation, paid a bounty of 100.00 USD, and was disclosed on 2022-07-04.
The steps to reproduce
- Open
mod.reddit.com/mail/create, the page where moderators compose mail. - Select a banned subreddit from the dropdown menu.
- Fill in the remaining fields and send the message.
The message reaches the recipient even though the subreddit is banned. The report does not describe the request body, the response, or any server-side detail of the delivery, and it does not say whether or how the issue was fixed.
Why it matters
As the researcher puts it, moderators can "officially" communicate with users even after the subreddit gets banned. The abuse case given is coordination: a banned community can use these messages to organise a new subreddit to migrate to, in order to circumvent the ban. The impact is about the integrity of moderation decisions, not about stolen data or compromised accounts. The claim stays narrow: it is a channel for banned moderators to keep reaching their users, not a general way for anyone to send messages.
Why the bug exists
The report does not analyse the code. The behaviour suggests the ban rule is not applied on the moderator mail path, while the ordinary compose page silently drops the message. The ordinary compose page seems to check whether the from subreddit is banned and silently drop the message when it is, while the moderator mail path accepts the same kind of sender without applying that check. The ban rule is enforced in one place and not in the other. The quiet 200 on the compose page is itself a hint: the rejection there is a silent drop rather than an explicit error, so a client cannot easily tell delivered from discarded.
In general, how this kind of bug works
Many applications enforce a state rule, such as "this account or group is suspended", in the layer closest to the user: a form hides an option, a page refuses to submit, a piece of server code checks a flag. When the same operation is exposed through a second interface, an API endpoint, a mobile client, an internal tool or a newer front end, the check is often reimplemented or forgotten. Think of a building where the front door has a lock but a side entrance added later was never fitted with one.
The result is a business logic flaw rather than a memory or injection bug: every individual request is well formed and the caller is logged in, but the action should not be permitted given the state of the object involved. These bugs are hard to catch with scanners because there is no malformed input to detect. They surface when you compare behaviour across entry points that perform the same action, or when you take an object into a restricted state and then retry operations that were allowed before.
Defences are architectural: enforce the rule in the service or data layer that every entry point shares, return an explicit error instead of a silent success when the rule blocks an action, and keep the set of state transitions small and centrally defined so a new endpoint cannot skip one.
How to test for it
- Map every entry point that performs the same action. For messaging, that means the public compose form, any API endpoint behind it, moderator tools, mobile-specific endpoints and any legacy paths. Record traffic while using each one and note the method, path and body shape.
- Establish the baseline. Perform the action in the normal state and confirm it succeeds, recording the exact request.
- Change the state of the sender or the object: ban, suspend, archive, lock, remove or downgrade it, depending on what the feature supports. Use a second account or a second group you control so you can observe delivery.
- Replay the recorded request from step 2 against each entry point, and also try the action through the interface of each entry point, selecting the now-restricted object where the interface still offers it.
- Check the outcome on the receiving side, not just the status code. A
200may mean the message was dropped, as the compose page in this report shows. Look for the message in the recipient's inbox or via an API read.
A positive result is a delivered message, or any other completed side effect, from an object that the application presents as restricted. Common false positives: the message is queued but never delivered, the recipient is the tester's own account and the interface merely displays a cached copy, the restricted state had already been lifted, or the endpoint returns success while a background job discards the item. Always confirm with an independent read of the recipient's state.
How it is fixed
Where to look
This class tends to hide wherever a product has more than one front door: public web interface versus OAuth API, old and new moderator tools, mobile app endpoints, and internal or beta interfaces that share a backend with the public one. Signals to watch for include duplicated functionality across hosts and paths, endpoints whose names suggest moderator or admin variants of a public action, and features where the interface hides an option based on state rather than the server refusing it. When you find one, show impact by demonstrating the side effect end to end: the restricted object as the sender, a second controlled account as the recipient, and proof of delivery. Explain the abuse case in the product's own terms, as this report does with ban circumvention, and keep the claim to what you actually observed.
Glossary
- Subreddit: a community on Reddit, with its own posts, comments and moderators.
- Moderator: a volunteer who manages a subreddit and its users.
- Ban (of a subreddit): Reddit shutting down a whole community so it is no longer supposed to operate.
- Endpoint: a specific address on a server that accepts a particular kind of request, such as
oauth.reddit.com/api/mod/conversations. - Request: a message a browser or app sends to a server asking it to do something or return something.
- Response: what the server sends back, including a status code and usually some content.
- Status code: a number in the response saying how the request went;
200means OK. fromfield: the part of the compose form that says which subreddit a message is sent on behalf of.- Dropdown menu: a list of choices that opens when you click a control, used here to pick the sending subreddit.
- OAuth: a standard way for an app to act on a site with a user's permission, using a token instead of a password.
- Token: a string that proves who you are or what you may do, sent with requests instead of logging in each time.
- Cookie: a small piece of data a site stores in your browser so it can recognise your session on later requests.
- Session: the period during which a site remembers you as logged in.
- Improper Input Validation: a weakness where the server fails to check that what it receives is acceptable, here the state of the sender.
- Business logic flaw: a bug where every request is technically valid but the application allows something its own rules forbid.
- Authorisation check: a check that the caller is allowed to perform the action, not just that they are logged in.
- State: the current condition of an object, such as active, suspended or banned.
- Silent drop: accepting a request with a success response but discarding the action without telling the caller.
- False positive: a finding that looks like a bug but is not, for example because the effect never actually happened.
- Bounty: a payment a company makes to a researcher who reports a valid security issue.
- Severity: a rating of how serious an issue is, here low.
- Disclosure: the date a report is made public.