Skip to content
DoS Disclosed report Beginner

Improper Data Validation / Unvalidated Input

The statement editing endpoint lacked input size validation, allowing an attacker to submit a very large payload. This could cause server lag and potentially affect availability.

g0dz Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 25 days

Steps to reproduce:

1 - Be logged in a account 2 - Go to: https://liberapay.com/{user}/edit/statement 3 - Click on Visualize 4 - Submit (and edit POST parameters to fuzz infinitely) 5 - Wait the server proccess the request.

I send only 2.813.054 characters.

Improper input size validation...

I'm sorry. The server gets a bit lagged. My account in website is cardangi, if u guys want to check the characters that I got stored in DB...

POST /cardangi/edit/statement 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/cardangi/edit/statement
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: 2813138

csrf_token=Y1wbnOu1ykM7eNq0DuCNs5fDoGInaDa5&lang=pt&summary=&statement={VULNERABLE}&preview=true

Impact

An attacker can send UNLIMITATED data to the server. He can do a unlimited fuzzing too. Affects totally availability, server response...

Maybe null terminators? Who knows.

Basically, no captcha to register, real attack scenario:

1 - Create with a bot 100+ accounts 2 - Send packets of GB's and GB's of strings to the field 3 - Wait for the CHAOS! :]

The original report as published on HackerOne, by g0dz. 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 server did not enforce a maximum length on the statement field.

Impact

An attacker could send unlimited data, causing server lag and affecting availability; the report notes the server 'gets a bit lagged'.

What the attacker needed

A free account

How it was found

  1. Log in to an account.
  2. Go to the statement edit page.
  3. Click 'Visualize'.
  4. Submit the form, optionally modifying POST parameters to send large data.
  5. Wait for the server to process the request.

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 accepted an extremely long text input without checking its size. An attacker could send huge amounts of data, which might slow down or crash 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.

More by g0dz

View all

1 more disclosed report, best first.

More from Liberapay

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.