No Data Validation, No Captcha, No Filters...
The community creation form on Liberapay accepted unlimited submissions without a captcha or any rate limit, and the name field was not validated. An attacker could automate the creation of endless communities, flooding the server and degrading its performance.
- Disclosed after 33 hours
POST /for/new HTTP/1.1
Host: liberapay.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: https://liberapay.com/for/new
Cookie: __cfduid=dec7fa01079ce07bb54844ee12fafb51c1528593599; csrf_token=Y1wbnOu1ykM7eNq0DuCNs5fDoGInaDa5; session="647226:1:GER3tosCuKW0BtbQP2zgtOxn_VHaGn6-"
Connection: close
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
Content-Length: 138
csrf_token=Y1wbnOu1ykM7eNq0DuCNs5fDoGInaDa5&name=§%26%2347%26%2347%26%2347%26%2347%26%2347%26%2347%26%2347%26%2347%26%2347%26%2347§&lang=mul
No captcha, no communities limit. Create communities with a bot forever. (just changing the name...)
Impact
Can create infinites communities, flooding the server. Impacts integrity. Lags the webserver.
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
Impact
An attacker could create an unlimited number of communities, flooding the server and causing it to lag.
What the attacker needed
A valid account and session; ability to script repeated requests
How it was found
- Send a POST request to the community creation endpoint with a valid session and CSRF token.
- Repeat the request automatically, changing only the community name each time.
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 website form that lets anyone create a new community should have some guard, such as a captcha (a puzzle that is hard for bots) or a limit on how often you can submit. Here there was no guard at all, so a script could keep submitting the form and fill the site with junk communities until it slowed down.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.