Skip to content
Account takeover Write-up Beginner

How I Found an Authentication Bypass Vulnerability in the Password Change Process

The password change process did not properly verify the current password, allowing a request with the current password parameter removed or left empty to succeed. An attacker could change a user's password without knowing the original, leading to account takeover.

ajay.kumar.695632 Follow

Published on medium.com

Hey there! Welcome to my blog.

Ajay Kumar, 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 server did not validate that the current password field was present and correct before processing the password change.

Impact

An attacker could change a user's password without knowing the original, leading to account takeover and access to sensitive data.

What the attacker needed

A logged-in account; ability to intercept HTTP requests

The fix

The server should validate that the current password is present and correct before allowing a password change.

How it was found

  1. Log into the account you want to test.
  2. Go to the password change page.
  3. Intercept the password change request with a proxy tool.
  4. Find the current password parameter in the request.
  5. Remove the parameter or leave it empty.
  6. Send the modified request and observe that the password change succeeds.

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.

When you change your password, a website should ask for your old password to prove it is really you. Here, the website did not check that old password properly, so someone could set a new password without knowing the old one. That means they could take over the account.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by ajay.kumar.695632

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.