Skip to content
Business logic Disclosed report Beginner

Bypassing the SMS sending limit for download app link.

The SMS sending endpoint for app download links accepted a list of mobile numbers in a single request, bypassing the 15 SMS rate limit. An attacker could send spam SMS to any number of people without limit.

bihari_web Follow

Originally disclosed on HackerOne

  • Disclosed after 19 days

Summary by the program

We've been receiving similar issues, disclosing it publicly so that everyone reading this report can know that this is out of scope and hence going forward will be closed as N/A.

The report

Summary: Here an attacker can send the download link sms to any number of people bypassing the sms rate limit imposed by zomato.

Description: zomato provides an easy way for the users to download their app when they are at the home page of zomato's website. A user can send upto 15 sms ( to themself or others) and after that the rate limit is imposed (Preventing them to abuse it). But however it can be bypassed.

Platform(s) Affected: website

Steps To Reproduce:

  1. visit to the website https://www.zomato.com/
  2. Now at the bottom there is a TEXT LINK BUTTON (Click it and intercept the request)
  3. It has an endpoints which have two type paramete rwhich handles the same sms functionality.

a) /php/restaurantSmsHandler.php?type=app-download-sms&mobile_no=<NUMBER>&csrf_token=<TOKEN>

b) /php/restaurantSmsHandler.php?type=order-app-download-sms&mobile_no=<NUMBER>&csrf_token=<TOKEN>

  1. Now if we give the list of mobile number's to mobile_no parameter then all the numbers in this list are going to receive the sms.

/php/restaurantSmsHandler.php?type=app-download-sms&mobile_no=[8127410000,8317030000,...]&csrf_token=<TOKEN>

Here there is no limit on number of MOBILE NUMBERs that can we putted in the list.

Supporting Material/References:

F453703: Screenshot from 2019-03-28 16-45-54.png

Impact

The attacker can send the spam download app sms to any number of people without any limit

Attachments

Screenshot_from_2019-03-28_16-45-54.png
Screenshot_from_2019-03-28_16-45-54.png From the original on HackerOne

The original report as published on HackerOne, by bihari_web. 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 server did not validate that the mobile number parameter contained only a single number, so it processed a list of numbers as one request and the rate limit was applied per request rather than per recipient.

Impact

The attacker could send spam download app SMS to any number of people without any limit.

What the attacker needed

Access to the website; ability to intercept HTTP requests

How it was found

  1. Visit the Zomato website.
  2. Click the text link button at the bottom and intercept the request.
  3. Observe the endpoint with two type parameters that handle SMS sending.
  4. Provide a list of mobile numbers to the mobile_no parameter.
  5. All numbers in the list receive the SMS.

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.

The website lets you send a download link to a phone number by SMS, but it limits you to 15 messages. The researcher found that by putting many phone numbers into one request, the limit could be bypassed, allowing unlimited spam texts.

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 bihari_web

View all

1 more disclosed report, best first.

More from Eternal

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.