User login page doesn't implement any form of rate limiting
The login page did not implement rate limiting, allowing an attacker to send unlimited login attempts. This could enable brute-force attacks to guess passwords and potentially take over accounts.
- Triaged in 40 hours
- Fixed in 4 months
- Paid in 4 days
- Disclosed after 4 months
Hi Team,
Summary: As a best practice a login page should have a rate limitting just like hackerone.com
Vulnerable Request
POST /auth/post_login HTTP/1.1
Host: ctf.hacker101.com
User-Agent: <redacted>
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: https://ctf.hacker101.com/
Content-Type: application/x-www-form-urlencoded
Content-Length: 73
Cookie:<some cookie>
DNT: 1
Connection: close
Upgrade-Insecure-Requests: 1
csrf=<csrf token>&username=<target username>&password=<vulnerable parameter>
Steps To Reproduce
- Tamper login page and send the request to Burp Intruder
- Configure the payloads
- Start the Burp Intruder
Proof Of Concept ██████
Notice the Content Length as highlited on my screenshot
Impact
An attacker can freely bruteforce any username and can takeover any account
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 can freely bruteforce any username and can takeover any account
What the attacker needed
None
How it was found
- Tamper login page and send the request to Burp Intruder
- Configure the payloads
- Start the Burp Intruder
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 login page should limit how many times someone can try to log in, to stop automated guessing of passwords. Without this limit, an attacker can try thousands of passwords quickly. This is called a brute-force attack.
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.