Bug Bounty : Account Takeover due to a Misconfiguration
A misconfiguration allowed direct access to a SharePoint backend, revealing a second account identifier (PRF_UID) used during account creation. By modifying this identifier in a password reset request, an attacker could take over other users' accounts, including the admin's.
First of all, I would like to thanks Bugcrowd's analyst especially beemobugcrowd for patiently updating the issue during the validation process.
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 password reset request trusted a user-supplied identifier (PRF_UID) without verifying it belonged to the authenticated user, and the SharePoint backend was directly accessible due to a misconfiguration.
Impact
An attacker could take over any user's account, including the administrator's, by manipulating the password reset request.
What the attacker needed
A free account on Mopowerconnect; ability to intercept HTTP requests; knowledge of a target PRF_UID
The fix
The issue was fixed after the report was escalated to the vendor.
How it was found
- Create an account on Mopowerconnect and observe the account creation request to Chrysler.
- Notice that a second account identifier (PRF_UID) is returned for SharePoint.
- Access SharePoint pages directly via a misconfigured URL to enumerate PRF_UIDs.
- Initiate a password reset and intercept the request before it is sent to SharePoint.
- Modify the PRF_UID value to that of another user (e.g., admin).
- Complete the reset to take over the target account.
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 create an account, the system secretly makes a second account for a SharePoint site. The researcher found that the password reset request included an identifier for that second account, and by changing it to someone else's identifier, they could reset that person's password. This is like changing the name on a parcel so it gets delivered to someone else.
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.