Weblate · Report #229825
Rate Limit Issue on hosted.weblate.org
Validstatus
lowseverity
10upvotes
2 Jul 2017disclosed
How it was found
Hi,
Rate limit issue exist in hosted.weblate.org. An attacker can able to send as many email as he want to the victim mail. The attacker can successfully bruteforce on any users mail account even when the rate limiting is enabled.
Step to reproduce :
- sign up and login to a hosted.weblate.org
- Go to Password reset option
- Enter an email address.
- Set up a proxy server (i used burp)
- Configure your browser(firefox in my case) to work with the proxy server
- Click on "Reset my password" button
- Intercept the request
- Send to Intruder
- set position as your given email
- set payload as many time you want to send mail
- click on start attack
The victim will get mail as the number of payload you added. In my case i added upto 300 time and it hit into my mail box upto 300 time.
Request
POST /accounts/reset/ HTTP/1.1
Host: hosted.weblate.org
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Content-Type: application/x-www-form-urlencoded
Content-Length: 135
Referer: https://hosted.weblate.org/
Cookie: csrftoken=csrftoken_here
Connection: keep-alive
Upgrade-Insecure-Requests: 1
csrfmiddlewaretoken=csrfmiddlewaretoken_here&[email protected]&content=&captcha=captcha_here
{F186001}
{F186002}
Thanks