Abuse of Api that causes spamming users and possible DOS due to missing rate limit on contact form
The contact form endpoint on a Weblate demo subdomain lacks rate limiting, allowing an attacker to send many requests and flood users with emails. This could also lead to a denial of service.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in 3 days
- Disclosed after 23 days
##Summary: In your sub-domain: https://demo.weblate.org/ , there's an endpoint that doesn't have any rate limit on it to prevent spamming you by filling the contact you form multiple times to bomb you with tons of emails.
##Description: Spamming and Possible DOS is being possible due to missing rate limit on this endpoint.
Request POST /contact/ HTTP/1.1 Host: demo.weblate.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.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 Referer: https://demo.weblate.org/ Cookie:XXX Connection: close Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded Content-Length: 334
csrfmiddlewaretoken=XXX&subject=&name=&email=asd%40yahoo.com&message=&content=
Suggested Fix Implement additional checking per API request such as a unique token or identifier that changes per request to prevent mass spamming, additional Rate limiting measures can be implemented such as IP blacklisting, or account banning if a certain amount of requests are made.
##Steps To Reproduce: 1- Visit https://demo.weblate.org/contact/?t=reg 2- Fill the form, send it and intercept the request 3- Using burp intruder mass replay the request.
Thank you.
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 contact form endpoint lacks rate limiting or anti-automation controls, allowing repeated submissions.
What the attacker needed
Access to the contact form; ability to intercept and replay requests
The fix
Implement rate limiting and anti-automation measures such as unique tokens, IP blacklisting, or account banning.
How it was found
- Visit the contact page on the demo site.
- Fill in the form and submit it while intercepting the request.
- Use a tool like Burp Intruder to replay the request many times.
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 contact form on a website lets people send messages. This form had no limit on how many times you could submit it, so someone could send it many times, flooding the site with emails and possibly causing a denial of service.
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.