Skip to content
Business logic Disclosed report Beginner

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.

haxta4ok00 Follow

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:

  1. As the user we want to ban, submit a test report
  2. As a manager of the program, go to the report and click report abuse => click ban reporter
  3. 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

disabled_button.png
disabled_button.png From the original on HackerOne
  1. Re-issue the request multiple times
  2. 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

The original report as published on HackerOne, by haxta4ok00. 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 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

  1. As the user to be banned, submit a test report.
  2. As a program manager, go to the report, click 'report abuse', then click 'ban reporter'.
  3. Intercept the ban request.
  4. After banning, observe the button becomes inactive.
  5. Re-issue the request multiple times.
  6. 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.

More by haxta4ok00

View all

32 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.