Skip to content
Account takeover Disclosed report Beginner

No rate limit in otp code sending

The OTP sending endpoint lacked a rate limit, so an attacker could send many SMS messages to a victim's phone in a short time. This could flood the victim's mobile inbox and cost the company SMS fees.

aliyugombe Follow

Originally disclosed on HackerOne

  • Triaged in 4 months
  • Fixed in 7 months
  • Disclosed after 8 months

Summary:

There is no rate limit in sendind otp code. Thus, attacker can use this vulnerability to bomb out the mobile inbox of the victim.

Steps To Reproduce:

##Step 1. Open burp suite, and click on "Intercept is on " button from Proxy tab.

##Step 2. Launch browser and visit https://mtnonline.com/nim, and fill all the required fields, then submit.

##Step 3. Open burp suite window, and click on "HTTP history" under "Proxy" Tab, scroll on the history list and navigate on the history with https://mtnonline.com host and /nim/otp URL, and right click to "Send to Intruder".

##Step 4. Click on "Intruder" tab -> click "Position" -> click "Clear" button, and click on "Payloads", under payload type -> Select "Null payloads", In generate input, enter 10 .

##Step 5. Click on "Attack" button, and click ok on the pop-up screen.

##NOTE : I only limit the sms as 10 for testing, but attacker can send unlimited sms in short time.

Supporting Material/References:

  • [attachment / reference]

Impact

Attacker can bomb victim mobile inbox and cause MTN to loose the charges of sms in vein.

Attachments

Screenshot_20201216-234013.png
Screenshot_20201216-234013.png From the original on HackerOne
Screenshot_at_2020-12-16_22-56-21.png
Screenshot_at_2020-12-16_22-56-21.png

The original report as published on HackerOne, by aliyugombe. 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 OTP request endpoint did not enforce any rate limit or throttling per phone number or session.

Impact

An attacker could flood a victim's mobile inbox with SMS messages and cause the company to incur SMS charges for no useful purpose.

What the attacker needed

Victim's phone number known; proxy tool available

How it was found

  1. Turn on interception in a proxy tool.
  2. Visit the site, fill the required fields, and submit.
  3. Find the OTP request in the proxy history and send it to the intruder tool.
  4. Clear the payload positions and set a null payload type with 10 repetitions.
  5. Start the attack and confirm the pop-up.

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 request a one-time password (OTP) by SMS, the server should limit how often you can ask. Here it did not, so someone could trigger many texts to the same number. That annoys the victim and costs the company money for each message.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by aliyugombe

View all

13 more disclosed reports, best first.

More from MTN Group

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.