Web Security Series #3 — Discovering Credentials Using Cluster
The login page allowed only five attempts but lacked rate limiting or lockout, so an attacker could test a small set of username and password combinations. Using Burp Intruder or ffuf in cluster bomb mode, the valid credentials admin/letmein were discovered.
Published on medium.com
Authentication mechanisms are a critical component of web application security. However, weak credential management and insufficient protections against login attempts can expose systems to targeted credential attacks.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application did not enforce rate limiting or account lockout, allowing repeated login attempts.
Impact
An attacker could gain unauthorised access to an account, potentially leading to privilege escalation and data exposure.
What the attacker needed
Access to the login page; a small list of usernames and passwords; tools like Burp Suite or ffuf
The fix
The application should enforce account lockouts, rate limiting, CAPTCHA, multi-factor authentication, and monitoring of suspicious login behaviour.
How it was found
- Submit any credentials on the login page to generate a request.
- Send the captured POST request to Burp Intruder.
- Mark the username and password parameters as payload positions and select Cluster Bomb attack type.
- Load a username wordlist and a small password list into the payload slots.
- Start the attack and analyze responses for differences.
- Identify the successful credential pair and confirm login.
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 write-up has not been written yet. The Original tab links to the source.
A login page should stop people from guessing passwords many times. Here, the page said only five tries were allowed, but it did not actually enforce that limit. So someone could try a few common usernames and passwords together and find the right pair.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.