Skip to content
Business logic Disclosed report Intermediate

Change password logic inversion

The password change form checked the new password's validity before confirming the old password was correct. An attacker with access to a logged-in session could use this ordering to enumerate the account's current password.

gujjuboy10x00 Follow

Originally disclosed on HackerOne

  • Disclosed after 18 days

Summary by the program

A security researcher discovered that during the password change process, the new password was validated before verifying the old password's accuracy, despite the user entering the values and submitting on a single form. If a user was logged in on a shared machine, this could have led to a productive (albeit, limited scope) password enumeration attack during the remainder of the session (up to 7 days) for that one user.

The original report as published on HackerOne, by gujjuboy10x00. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

On a shared machine, an attacker could perform a limited password enumeration attack against that one user for the rest of the session, up to seven days.

What the attacker needed

Attacker has access to a logged-in session; shared or unattended machine

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 report has not been written yet. The Original tab links to the source.

When you change a password, the site should first check that you know the current one. Here it checked the new password first, so someone using an already logged-in browser could try guesses and learn things about the real 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.

More by gujjuboy10x00

View all

14 more disclosed reports, best first.

More from Legal Robot

View all

The newest disclosed reports for this program.

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.