I hacked my company's SSO provider
The self-service portal allowed users to change their email address by editing the HTML form field, despite the field being marked as uneditable. An attacker could change their SSO login email to an arbitrary address, potentially enabling account takeover via social engineering.
mattsayar.com
Published on mattsayar.com
I never thought I'd stumble across a previously-undiscovered vulnerability, much less one in security software. I love reading stories about how people find and report bugs, and how the companies react (preferably thankfully!).
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 application relied on client-side restrictions (the uneditable form field) without validating the email change on the server.
Impact
An attacker could change their SSO login email to an arbitrary address, which could lead to account takeover through social engineering, though the report notes this is not easy.
What the attacker needed
Access to the self-service portal; ability to use browser developer tools
The fix
The vendor fixed the issue within a couple of weeks, likely by adding server-side validation.
How it was found
- Open the self-service portal form for updating personal information.
- Use browser developer tools to modify the uneditable email field.
- Change the email to a personal address and submit the form.
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.
Single sign-on (SSO) lets you use one login for many services. The portal let users edit their email address even though the form field was supposed to be locked. By using browser developer tools, a user could change the email to any address, which could let an attacker hijack the account.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.