Skip to content
Business logic Write-up Beginner

What was different than the last time?

The login portal only validated the captcha on the first request, so after one correct manual login the attacker could replay modified username and password values without any captcha check. This allowed a long dictionary attack that yielded credentials for nearly every student in one branch, exposing grades, identity documents and guardian details.

medium.com

Published on medium.com

This is a follow up article to the previous piece that I wrote - How I hacked into a college’s website to obtain the student’s database.

Aditya Anand, 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 captcha result was tied to the session rather than to each login attempt, so subsequent authentication requests were accepted without a fresh captcha check.

Impact

The attacker could obtain credentials for nearly all students in one branch and reach personal data including identity documents, grades, fee transactions and guardian information; the text notes no firewall blocked the repeated attempts.

What the attacker needed

A valid account to solve the captcha once; an intercepting proxy tool; victims keep default passwords

The fix

The captcha should be enforced on every authentication attempt and rate limiting or a firewall should block repeated failed logins.

How it was found

  1. Log in once manually with valid credentials and a correct captcha while intercepting the request.
  2. Send the captured login request to the repeater tool for analysis.
  3. Observe that the captcha is not checked on later requests.
  4. Replay the request repeatedly with different usernames and passwords from a prepared wordlist.
  5. Continue the automated guessing for about five hours until many accounts are compromised.

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 captcha is the puzzle of distorted letters a site shows to prove a human is logging in, and it is meant to stop software from guessing passwords over and over. Here the site only checked the puzzle once, so after solving it by hand the attacker could keep sending new password guesses with a tool and the site never asked again. Because students kept their default passwords, guessing eventually worked.

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.

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.