Abuse of Api that causes spamming users and possible DOS due to missing rate limit
An endpoint on the demo server accepted repeated email-related POST requests without any rate limiting. An attacker could use this to spam users or potentially cause a denial of service by flooding the endpoint.
Originally disclosed on HackerOne
- Triaged in 2 hours
- Fixed in 3 days
- Disclosed after 23 days
##Summary: In your sub-domain: http://demo.weblate.org , another endpoint doesn't have any rate limit on it to prevent spamming you by posting a lot of questions.
##Description: Spamming and Possible DOS is being possible due to missing rate limit on this endpoint.
Request POST /accounts/email/ 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: 126
csrfmiddlewaretoken=&email=victim_email&content=
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 email endpoint had no rate limiting or throttling applied to repeated requests.
Impact
An attacker could spam users and possibly cause a denial of service, though the report only claims this is possible rather than demonstrating it.
What the attacker needed
Access to the demo host; ability to send repeated requests
The fix
Adding rate limiting or throttling would address the missing rate 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 many requests a server will accept from one person in a set time. Without one, someone can send the same request over and over very quickly. Here that meant an attacker could flood an email endpoint, annoying users with spam or overwhelming the server.
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.