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.
Published on medium.com
Hey there! Welcome to my blog.
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
- Log into the account you want to test.
- Go to the password change page.
- Intercept the password change request with a proxy tool.
- Find the current password parameter in the request.
- Remove the parameter or leave it empty.
- 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.