this post was submitted on 17 Jan 2024
5 points (66.7% liked)
netsec
1313 readers
1 users here now
Technical news and discussion of information security.
Rules:
- Be excellent to each other
- Keep it on topic
- Absolutely no PII or doxing
- No disclosure posts
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's not how it works.
When you use SSO to auth the website never sees your account credentials.
The site: Google, here are my SAML codes can you auth this person. Google: cool those SAML codes are correct, hey user what are your Google auth details?
User: here you go Google.
Google: sweet, those are valid. hey site here is a token specifically for you for this user.
Site: welcome user.
At no point does your Google password hit the site and the tokens for other services will not work with a random webapp.
That's not how it works if the website serves you the genuine Oauth code.
If the website serves you a malicious imitation of the genuine Oauth code, which is crafted to make that exactly how it works, then that is in fact exactly how it works.