Monero wallet password change is confirmed when not matching
The wallet password change dialog in the GUI did not require the confirmation field to match the new password, so a blank confirmation was accepted. A user could therefore set a password they did not intend, potentially locking themselves out of the wallet.
Originally disclosed on HackerOne
- Triaged in 21 hours
- Fixed in 15 days
- Disclosed after 17 days
Summary:
If you change your wallet password in gui, the confirmation does not need to match the new password.
Releases Affected:
- [list each version and OS of the application affected]
- [list each version and OS of the application affected]
Steps To Reproduce:
Open your wallet. Go to settings. Change wallet password. Enter old password. You now have prompt with two passwords. Enter your new password in the first line. Leaving confirmation blank press enter. Password is changed successfully without confirmation.
Supporting Material/References:
I have personally attempted this many times.
Housekeeping
- Be sure to read our policy before submitting
- Provide an XMR address within the report if you wish to receive bounty (assuming that the report is valid)
- PoC within a report will most likely result in more bounty than not
45vSCZ1DhEQCjXtPHzgr7m1jCkD31J9ZDCmDakuNV1Sw7mo5ywUPxVxXacJwtiBg7zdRQa4qjzy9Lg8NJdNMDdV3QH8xkPe
Impact
User can lock themselves out of wallet.
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 confirmation input was never compared with the new password before the change was applied.
Impact
A user could lock themselves out of the wallet by setting a password they did not intend.
What the attacker needed
Local access to the wallet GUI; knowing the current password
How it was found
- Open the wallet.
- Go to settings.
- Choose to change the wallet password.
- Enter the old password.
- Type a new password in the first field and leave the confirmation blank.
- Press enter and the password is changed.
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.
A password change form usually asks you to type the new password twice, so a typo is caught. Here the second box was not checked against the first, so an empty or different entry still changed the password. That means someone could end up with a password they did not mean to set and be unable to open their wallet.
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.