Skip to content
Business logic Disclosed report Beginner

No Rate Limit On dashboard.myndr.net/auth

The registration endpoint for validating a switch serial number lacks rate limiting, allowing an attacker to brute-force the seven-digit serial. An attacker could determine a victim's switch serial and proceed to the next registration step.

azimuthub Follow

Originally disclosed on HackerOne

Informational View original
  • Triaged in 7 days
  • Fixed in 17 days
  • Disclosed after 9 months

Summary:

hello team,

I tested a little bit the website and went to registration page where you will give 7 digits to complete your switch serial, i didn't want to go further with brute forcing because it's forbidden how ever i gave a try with a small range of tries and have no message for limitting the number of requests.

Steps To Reproduce:

To reproduce this you have to follow these steps:

  1. Send requests with POST and change the 7 digits of the param #switch-serial and wait for http statut 200 instead of 404

POST /auth/validate-switch-serial HTTP/1.1 Host: dashboard.myndr.net User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0 Accept: / Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded; charset=UTF-8 X-Requested-With: XMLHttpRequest Content-Length: 33 Origin: https://dashboard.myndr.net DNT: 1 Connection: close Referer: https://dashboard.myndr.net/auth/register?id=-1

switch-serial=MSA3/8878-XXXXXXX

#Solution

A limit to requests mechanism must be deployed.

Impact

An attacker could send a large number of requests to determine the victim switch serial and went to the next step of registration.

Attachments

x.jpg
x.jpg From the original on HackerOne

The original report as published on HackerOne, by azimuthub. 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 endpoint does not implement any rate limiting or account lockout on the number of validation attempts.

Impact

An attacker could send a large number of requests to determine the victim switch serial and went to the next step of registration.

What the attacker needed

Access to the registration page; ability to send HTTP requests

The fix

A limit to requests mechanism must be deployed.

How it was found

  1. Send a POST request to the validate-switch-serial endpoint with a switch-serial parameter.
  2. Change the seven digits of the switch-serial parameter and observe the HTTP status code.
  3. Wait for a 200 status instead of 404 to identify a valid serial.

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.

A website lets you check a secret code (the switch serial) by sending it to a server. The server does not limit how many times you can try, so someone could guess many codes quickly until they find the right one. This is called a brute-force attack.

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 from Myndr

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.