How I bypassed an IP block… without changing my IP?
The lab's brute-force protection blocked an IP after a few failed logins, but a successful login reset the counter. An attacker could alternate failed guesses for a target user with successful logins to their own account, allowing unlimited password guessing without changing IP.
infosecwriteups.com
Published on infosecwriteups.com
They had defenses in place —or so they thought. The kind that locks you out after a few failed login attempts.
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 failed-login counter was reset on any successful login, regardless of which account was used, allowing an attacker to clear the block with their own credentials.
Impact
An attacker could brute-force a user's password without being blocked by the IP-based protection, potentially leading to account takeover.
What the attacker needed
A valid account on the target site; ability to send HTTP requests (e.g., Burp Suite); a wordlist of passwords
How it was found
- Log in with your own valid account to observe the login process.
- Send a login request to Burp Intruder and set the username as the payload position.
- Use a password wordlist and start the attack to see how many attempts are allowed before a block.
- Notice that after two failed attempts a block message appears, but a successful login resets the counter.
- Create two payload lists: for every two failed attempts for the target user, insert one successful login for your own account.
- Run a Pitchfork attack with these lists, watch for a 302 redirect indicating a successful login for the target, and stop the attack.
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 website tried to stop password guessing by blocking an IP address after a few wrong tries. But the block was reset whenever someone logged in successfully. The attacker used their own valid account to reset the block repeatedly, so they could keep guessing the victim's password.
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.