Skip to content
DoS Disclosed report Intermediate

Bypass of #1047119: Missing Rate Limit while creating Plug-Ins at https://my.stripo.email/cabinet/plugins/

The rate limit added to stop mass plug-in creation could be bypassed by inserting null bytes into requests and replaying them rapidly with an intruder tool. An attacker could create many plug-ins in a short time, consuming disk space and costing the company.

Savir Suda Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in under an hour
  • Disclosed after 2 days

Summary by the researcher

I had found a way to bypass the rate limit protection that was applied to #1047119 by adding some null bytes and making use of Burp Intruder. The Team was very quick to launch a fix for this bug and kudos to them for that!

Read the full report below.

The report

Summary:

I have found a bypass for the report https://hackerone.com/reports/1047119 It seems that a proper fix was not issued therefore the issue still remains.

Steps To Reproduce:

  1. Create a Plug-In and capture the request.
  2. Send this to Intruder
  3. Follow the rest in the Video POC.

POC

Video POC In this section, I have shown clear and concise steps to reproduce the vulnerability.

From the above video POC, as you could see, I was able to send 100 requests to create plug-ins at a very fast speed occupying disk space and costing the company. Request To Send

Python
POST /cabinet/stripeapi/v1/plugin/357981/plugins HTTP/1.1
Host: my.stripo.email
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0
Accept: application/json, text/plain, */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/json;charset=UTF-8
Cache-Control: no-cache
Pragma: no-cache
Expires: Sat, 01 Jan 2000 00:00:00 GMT
X-XSRF-TOKEN: 867d2a4a-9d3f-407e-9527-83cf47c3d8cc
Content-Length: 108
Origin: https://my.stripo.email
Connection: close
Referer: https://my.stripo.email/cabinet/
Cookie: _ga=GA1.2.820184997.1610358469; _gid=GA1.2.285492738.1610361098; _pin_unauth=dWlkPVptSmlOR1EyTWpjdFlURmpNUzAwWmpCakxXRXlOR0V0TWpWbVltSm1NVGcwWW1ZeQ; amplitude_id_246810a6e954a53a140e3232aac8f1a9stripo.email=eyJkZXZpY2VJZCI6ImJmOGY2ZTlmLWZlOWMtNDY2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rZW5cIjpcIjg2N2QyYTRhLTlkM2YtNDA3ZS05NTI3LTgzY2Y0N2MzZDhjY1wiLFwicm9sZVwiOlwiQ0FCSU5FVF9VU0VSXCIsXCJhdXRob3JpdGllc1wiOltdfSIsImV4cCI6MTYxMDQ0NzU0MH0.Uf9QUHgo9TYJte2-hFDDFDcW80OVpmHXZMUf2thntSYYthCA07Fu94XVs7RFRiZMOTnjqyLhJK3p7CwAf61xNAD8WbTtoAlIcia82nNYQ4ueIItzExfQJWQHXD8GSIBRBp-VCbXBOJaXt5KQntnPCCwzvpmrE_LTKwX9MkxkmKkLmU3oCxxfpd8MKo3s-bTvNJsnT91_K3eJwdMGl78KjI3Jnk5JQe3fj4NFHk7P-snsGInO8jlY9ikY6ndInrEZ23WLfNu1Qh86DC2aLVdaTnSJg6F_w5jtFxIKpdtoRTDEpSJbEdyu3UMoOJZl8MPtx8WaMMJA-iuyqD2BUGGL89ULjkCCVb2BSCHx5HzAO8pWPvFUZNRami5sLvuBbfjr_sNKYTVXb9XY_Z4cuPNQ1AGjAMeotmsn0qlv41u-BWQnLjRV7YGVhP3SeboK79MnG0YCRCwmytt8UBqbcA8VEGOKmWxGMbIAYYC7OKApOHwtr419UtGvva261ObGfXlKsENyap0PrszXRPYpB_Oi9U_AR9ZrB100QrNNVJywsTTaD7Mi6q0B22958NnmHvn5QzjYiZmULxngLyM7s2pAMxGDQ8OOFE6JV7bpsFrOCRpLdNsK3EENNc5jsRAxUsYWUjZAHzgueW789g9QGmjq-wFL77dlR_aUNrCVbhh87pc; _ga=GA1.3.820184997.1610358469; _gid=GA1.3.285492738.1610361098; JSESSIONID=5269D92EB21DAB4CF3F411313361E107; intercom-session-b1m243ec=OXJKNnkvYnA4aUhMUE9TakVEVlBzT3BKS3JVYW0vNEZJQlR0ZCtIdVU2K3NHa29QcGswb2RtQmFyUDBYdWlQZS0tRmJFalMwdkI2VUJnZHpHZUFRdUkzZz09--295709016df61f9c47f9ff869f4f1b26a8169ae2

{"email":"<YOUR-EMAIL>","name":"test","webUrl":"pxqx0kafueopargwjcp9bmtiv91zpo.burpcollaborator.net"}

##Description I also noticed that If I choose 100 threads instead of 50, after a few requests with 200 OK responses, I got a 503 Service Temporarily Unavailable. You may want to investigate this as well. I also wanted to add that after about 20-30 seconds, I was able to send the same amount of requests again which would charge the application by creating Plug-Ins massively.

Supporting Material/References:

Impact

  • Bypass of #1047119
  • An attacker can create a lot of Plug-Ins which would occupy memory and charge the application.

Mitigation

As a hacker who is on the good side, I wanted to suggest some mitigations which would help protect against this issue and would prevent any further bypasses :)

  • Add a Google Recaptcha Verification here when a user requests to create more than 1 plugin in a small period of time.
  • Allow only 10 Plug-Ins per day, per user.
  • Add Rate limiting

~Thanks :) @savxiety

The original report as published on HackerOne, by savxiety. 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 rate limit keyed on the exact request content, so adding null bytes made each request look new and avoided the counter.

Impact

An attacker could create many plug-ins rapidly, occupying memory and charging the application; at higher concurrency the server also returned temporary unavailability errors.

The fix

The team launched a fix, but the reporter said a proper fix was not issued and suggested CAPTCHA, a daily plug-in cap and rate limiting.

How it was found

  1. Create a plug-in and capture the request.
  2. Send the captured request to an intruder tool.
  3. Replay the request many times with null bytes added to bypass the limit.

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 rate limit is a cap on how often someone can do an action, such as creating a plug-in. The site added one after an earlier report, but the reporter found that slightly altered requests slipped past it, so many plug-ins could still be made quickly. Each plug-in takes up storage, so flooding the service wastes resources and money.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Savir Suda

View all

1 more disclosed report, best first.

More from Stripo Inc

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.