Skip to content
Race condition Disclosed report Intermediate

Race condition on my.stripo.email at /cabinet/stripeapi/v1/projects/298427/emails/folders uri

The report claims a race condition on an endpoint that creates email folders, allowing an attacker to send many concurrent requests. The attacker could make the API unavailable to other users by repeating the request heavily.

zeroc00i Follow

Originally disclosed on HackerOne

  • Triaged in 21 hours
  • Fixed in 31 days
  • Disclosed after 41 days

Summary:

Hi! I hope you all are pretty good =) We have discovered a race condition endpoint

Steps To Reproduce:

POST /cabinet/stripeapi/v1/projects/298427/emails/folders HTTP/1.1
Host: my.stripo.email
Connection: close
Content-Length: 23
Accept: application/json, text/plain, */*
Pragma: no-cache
Expires: Sat, 01 Jan 2000 00:00:00 GMT
Cache-Control: no-cache
X-XSRF-TOKEN: 704b458b-c5bd-4ff1-9610-da193b987cb7
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36
Content-Type: application/json;charset=UTF-8
Origin: https://my.stripo.email
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://my.stripo.email/cabinet/
Accept-Encoding: gzip, deflate
Accept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7,pl;q=0.6
Cookie: G_AUTHUSER_H=1; _ga=GA1.2.1350209788.1601383605; _gid=GA1.2.1199907309.1601383605; G_ENABLED_IDPS=google; __stripe_mid=5c31e871-7c0e-48a1-809a-e499e39a3dcaa15e57; __stripe_sid=0bcd042d-752e-43c8-877d-83f63b1fa64ddb3e7e; _ga=GA1.3.1350209788.1601383605; _gid=GA1.3.1199907309.1601383605; JSESSIONID=81E11E33CF9ABA02A4AB3D68A29BC4F8; token=eyJhbGciOiJSUzUxMiJ9.eyJhdXRoX3Rva2VuIjoie1widXNlckluZm9cIjp7XCJpZFwiOjI5NDA3NyxcImVtYWlsXCI6XCJqYWFhaGJvdW50eUBnbWFpbC5jb21cIixcImxvY2FsZUtleVwiOlwicHRcIixcIm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QUrNwManvWlLLS4OGaKX5XIC5WvT0N-iwaeDcCw-2OCS5sElK1hN0CbhJ4u7i8k_6tK6rFFRWP2OVqayC55dhCeaCmdgwYqAnfc7cJ44kmeYhP-9Jg2h8tHEYnV172llmGQE2UrYlMy3x1FT3yKyU-knWMFrUSI6kXG-oc_ScPJV9JDaSOsBjdXoHfG8MyuH6R6JxEC7qAo4fm6UV25MQIzMXLNZmhbR-RvKIRK-o9l9wDsT4-PxpTmUB8_LVU8Mji9qm5NXQ; amplitude_id_246810a6e954a53a140e3232aac8f1a9stripo.email=eyJkZXZpY2VJZCI6ImRkMjI1YzcwLTEzMTktNDU5NC04ZGZjLTdmODhkYTNhZGJlMVIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTYwMTM4MzYwNTA0NiwibGFzdEV2ZW50VGltZSI6MTYwMTM4NDE0NzIzNSwiZXZlbnRJZCI6MCwiaWRlbnRpZnlJZCI6MCwic2VxdWVuY2VOdW1iZXIiOjB9; intercom-session-b1m243ec=REUyV2F2UnAveGI2blZHVjRpeTFDKy9KZ1J5SHNBcXBIcjlOdjdybW9kODVQdFpESDZ5NUt1Y0twTjdxNHJMcS0tc0x0SkEwNWp4UHdMaWpCSFE5bkZSQT09--c213f9f6b9e06e876f19bb76bdef398b2e5f7787

{"name":"Nova Pasta 2"}
  1. Create a new email
  2. Create a new folder
  3. There isnt any x-rate-limit header to prevent repeatedly requests

Screenshots

Please check the attachments

Impact

An atacker could make use of this atack vector to make API unavailable to another users if this request was strongly repeated.

Attachments

photo_2020-09-29_10-14-14.jpg
photo_2020-09-29_10-14-14.jpg From the original on HackerOne
photo_2020-09-29_10-14-33.jpg
photo_2020-09-29_10-14-33.jpg

The original report as published on HackerOne, by zeroc00i. 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 lacks rate limiting and does not handle concurrent folder-creation requests safely.

Impact

An attacker could make the API unavailable to other users if the request is strongly repeated.

What the attacker needed

An authenticated account; ability to send many requests

How it was found

  1. Create a new email
  2. Create a new folder
  3. Send the folder-creation request repeatedly

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 race condition happens when a system handles many requests at the same time and gets confused, sometimes creating duplicate items or crashing. Here, the researcher says that sending the same folder-creation request many times quickly could overload the service. The report does not show any actual harm, only that the request can be repeated without a rate limit.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More from Stripo Inc

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.