Skip to content
Business logic Write-up Beginner

How a Simple Trick Can Bypass Login Restrictions — Exploiti

The application locked accounts based only on the source IP address after repeated failed logins, so an attacker could switch networks and keep guessing passwords. This allowed unlimited brute-force attempts while legitimate users stayed locked out.

Suresh S Follow

Published on medium.com

Let me introduce myself! 😊 I’m Suresh 👋, a penetration tester 🕵️‍♂️ and ethical hacker 💀 with a passion for securing web applications. Over time, I have reported multiple security vulnerabilities across various platforms and have successfully earned €800 💰, 15 Hall of Fame mentions, and swag for my findings.

Suresh S, on medium.com

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 lockout counter was keyed to the client IP address rather than the targeted user account.

Impact

Attackers could run unlimited brute-force and credential-stuffing attempts and could lock out legitimate users, potentially leading to account takeover or denial of service.

What the attacker needed

A target account; ability to change network or IP; no CAPTCHA on login

The fix

Lockouts should be applied to the targeted account, with CAPTCHA, progressive delays and monitoring of failures across multiple IPs.

How it was found

  1. Enter a wrong password repeatedly until the application shows a lockout.
  2. Confirm the same credentials are still blocked from the same network.
  3. Switch to a different internet connection such as mobile data or a VPN.
  4. Try the same credentials again and see that the lockout no longer applies.

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 lockout is meant to stop someone guessing passwords by blocking the account after too many wrong tries. Here the block was tied to the visitor's network address instead of the account, so moving to another network (mobile data or a VPN) gave a fresh set of attempts. That means the protection did not really stop password guessing.

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.

More by Suresh S

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.