Brute Force Attack: Cracking Buggy Buy’s Logins
The login page of Buggy Buy lacked rate limiting, CAPTCHA, and IP blacklisting, and allowed weak administrator passwords. An attacker could use a wordlist to guess valid credentials and log in as an administrator.
medium.com
Published on medium.com
Have you ever wondered how hackers can guess your application’s passwords one at a time? In this post, I’ll show how to use Buggy Buy and Burp Suite to launch a brute force attack against a weak login site.
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
Impact
An attacker could gain unauthorised access to administrator accounts by guessing credentials, as demonstrated by the successful login.
What the attacker needed
Access to the login page; a wordlist of emails and passwords; Burp Suite
The fix
The application should limit login attempts per IP and user, enforce strong password policies, add CAPTCHA, and use multi-factor authentication.
How it was found
- Start Burp Suite and turn on Intercept in the Proxy tab.
- Open the Buggy Buy login page and submit random credentials.
- Send the intercepted login request to Intruder.
- Select Cluster Bomb attack and mark the email and password fields as payload positions.
- Load a list of emails for the first position and a list of passwords for the second position.
- Start the attack and look for a 200 status code to identify a successful 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 brute force attack is when someone tries many username and password combinations until one works, like trying every key on a keyring. This site did not stop repeated attempts, so an attacker could keep guessing without being blocked. The site also allowed very simple passwords, making guessing easier.
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.