Mismatch between frontend and backend validation via `ban_researcher` leads to H1 support and hackers email spam
The frontend disables the ban button after a researcher is banned, but the backend still accepts repeated ban requests. An attacker with a program manager role could resend the request many times, causing multiple emails to be sent to the banned user and to HackerOne support.
Originally disclosed on HackerOne
- Triaged in 28 hours
- Fixed in 14 days
- Disclosed after 2 months
Summary:
We found a mismatch between the frontend and backend validation when using the ban researcher feature, available for program customer.
Description:
When a program customer issues a ban, an automatic email will be send both to the banned user and H1 support. The problem is that fronted will not allow us to make the request again as the button will be inactive. However the backend allows us to repeat the request many times. Thus, we can send a lot of messages to the banned user and to the H1 platform (moderators), although this should only be allowed once . This report is similar #156948 and #159512 where @andrewone says : it does demonstrate a disconnect between our frontend and backend validation, which should not happen in the first place.
Steps To Reproduce:
- As the user we want to ban, submit a test report
- As a manager of the program, go to the report and click
report abuse=> clickban reporter - Intercept the request
https://hackerone.com/reports/808343/ban_researcher
POST: X-CSRF-Token: you_token_:)`
message_to_hackerone=test"><h1>asd&message_to_researcher=test"><h1>asd
3.1) After ban report , We will see an inactive button

- Re-issue the request multiple times
- As the banned user, check your inbox - you should have received multiple emails, as the support did.
Thanks, @haxta4ok00
Impact
Spam banned users and H1
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 backend lacked a check to prevent duplicate ban actions, while the frontend only disabled the button.
Impact
Could spam banned users and HackerOne support with repeated emails.
What the attacker needed
Program manager role; a report to ban
How it was found
- As the user to be banned, submit a test report.
- As a program manager, go to the report, click 'report abuse', then click 'ban reporter'.
- Intercept the ban request.
- After banning, observe the button becomes inactive.
- Re-issue the request multiple times.
- As the banned user, check the inbox and see multiple emails, as did support.
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 you ban someone on a website, the page usually greys out the button so you cannot click it again. But the server behind the page did not check whether the ban was already done, so someone could send the same request over and over. Each time, the system sent another email, which is annoying spam.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.