Microsoft-careers.com Remote Password Reset
The password reset page accepted a user identifier in the request without any authorisation check, so the identifier could be swapped for another user's. An attacker could then set a new password on any account, including all Microsoft Careers users.
Published on yasserali.com
Today I am going to share this interesting vulnerability which allowed me to change the passwords of all Microsoft Careers users. Microsoft-careers.com is the Microsoft official recruiting website where millions of people around the world has their CV’s uploaded there.
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 reset endpoint trusted a client-supplied user identifier and never verified that the reset token or session belonged to that same user.
Impact
An attacker could change the password of any Microsoft Careers user, and the author claims automation could reset all accounts within hours.
What the attacker needed
A valid reset link for any account; ability to intercept requests
The fix
The reset endpoint was fixed so it no longer trusts a client-supplied identifier without authorisation.
How it was found
- Request a password reset for your own account and open the emailed link.
- Intercept the request that submits the new password.
- Note the user identifier sent in the request body.
- Replace it with the identifier of another account and submit.
- Observe that the other account's 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 write-up has not been written yet. The Original tab links to the source.
When you forget a password, a site emails you a link that lets you choose a new one. This site put a user identifier in the request that told it whose password to change, but never checked that the person making the request was that user. By swapping the identifier, anyone could reset someone else's password.
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.