Skip to content
Business logic Write-up Beginner

A Simple Bug to Get Started in Bug Bounty

The application allowed a user to set their new password to the same value as their current password, and the password policy was weak. An attacker could brute-force or guess weak passwords to take over accounts.

medium.com

Published on medium.com

Weblate disclosed on HackerOne: Weak password policy Hi team, i get to know that you are using strong password policy. i gone through application and checked for that. and…hackerone.comm

loyalonlytoday, 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 application did not enforce a strong password policy and did not check that the new password differed from the current one.

Impact

An attacker could brute-force or guess weak passwords and take over accounts, potentially leading to data theft and credential stuffing.

What the attacker needed

A user account on the target site

How it was found

  1. Create an account on the target website.
  2. Log in with your credentials.
  3. Go to the profile section and click change password.
  4. Enter the same password as both the current and new password.
  5. Click change password and observe the success message.

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 password policy is the set of rules a website uses to make sure people choose strong passwords. Here, the site let someone keep the same simple password when changing it, so it was easy for an attacker to guess or crack it and break into the account.

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.