Bypass Brute-Force Protection
An admin login page showed a CAPTCHA after three failed attempts, but the check was tied to a cookie rather than the client. By deleting the cookie, an attacker could keep submitting guesses without ever seeing the CAPTCHA, allowing unlimited brute force.
medium.com
Published on medium.com
Pertama tama, sebenarnya ini kurang worth it sih untuk di tulis, tapi ya semoga bermanfaat untuk kalian, kali aja ada yang lebih noob dari saya, wkwkwk.
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-attempt counter was stored client-side in a cookie instead of being tracked server-side per account or IP.
Impact
An attacker could perform unlimited password guessing against the admin login, which could lead to admin account takeover if a weak password is found.
What the attacker needed
Reachable admin login page; no rate limit beyond the CAPTCHA
How it was found
- Find the admin login endpoint.
- Submit wrong credentials until the CAPTCHA appears.
- Delete the cookie and refresh the page.
- Confirm the CAPTCHA no longer appears.
- Send the login request to an automation tool and brute force freely.
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 tried to slow down guessing by asking for a CAPTCHA (a small puzzle) after a few wrong passwords. The site remembered the visitor only through a cookie, which is a small piece of data stored in the browser. Deleting that cookie made the site forget the failed attempts, so the attacker could keep guessing passwords forever.
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.