Skip to content
Business logic Disclosed report Beginner

Application allowing old password to be set as new password | hosted.weblate.org

The application allowed a user to set their new password to the same value as the old password, which a secure policy should prevent.

sadhu16 Follow

Originally disclosed on HackerOne

  • Fixed in under an hour
  • Disclosed after 35 days

Hi Team,

I found an issue that your application is allowing user to set new password same as that of the old password.

Steps to reproduce the defect

-Firstly logged into the application with existing password (refer screenshot named : Original Password login Request)-Old password highlighted in screenshot

-secondly now go to change password link and tried to set the new password with same value set in old password (refer screenshot named : Change Password Request Old and new password are same )

-thirdly now as a result of the above step you can see the new password same as old password (refer screenshot named : Change Password Request and Response- Old and new password are same)

Issue Description

As per secure password policy application should not allow same old password value to be used in setting new password value cos there might be possibility that old password might be exposed or leaked to an adversary so its advisable on application end to enforce strong password policy and should implement check to not to allow user to set old password value in new password value.

See the attached screenshots for issue details.

Please also refer the below mentioned link for reference:

https://www.owasp.org/index.php/Testing_for_Weak_password_policy_(OTG-AUTHN-007)

Attachments

Change_Password_Request_and_Response-_Old_and_new_password_are_same.png
Change_Password_Request_and_Response-_Old_and_new_password_are_same.png From the original on HackerOne
Change_Password_Request_Old_and_new_password_are_same.png
Change_Password_Request_Old_and_new_password_are_same.png
Original_Password_login_Request.png
Original_Password_login_Request.png

The original report as published on HackerOne, by sadhu16. 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

Root cause

Likely the password change form did not check the new password against the current password before saving it.

Impact

If an attacker already knows the old password, the user cannot invalidate it by changing the password to the same value, so the attacker may keep access.

What the attacker needed

A valid account; knowledge of the current password

How it was found

  1. Log in to the application with the existing password.
  2. Go to the change password link.
  3. Set the new password to the same value as the old password.
  4. Observe that the change is accepted and the new password equals the old password.

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 your password, a secure system should stop you from reusing the old one. If it does not, someone who already knows your old password can keep using it even after you try to change it. This report says the site did not block that reuse.

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 sadhu16

View all

6 more disclosed reports, best first.

More from Weblate

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.