News for hackers. Stuff that matters.
Re:Okta Exposes Passwords in Clear Text for Possible Theft by lll-o-lll on Sunday September 25, 2022 @12:12AM (#32968878)
How is SAML bad? Old and ugly perhaps, but are there specific security issues? Also SCIM; I don’t think it’s a great standard, but what’s the alternative?
Re:Okta Exposes Passwords in Clear Text for Possible Theft by GauntletWizard on Sunday September 25, 2022 @05:17AM (#32969973)
SAML signs "XML Documents". It does not sign the specific bytes of a document, you have to perform a transform to get the "canonical" version of the document and that's what you perform cryptography on. This creates a large surface for different implementations to be incompatible, subtly, but more importantly it creates a surface area for the nastiest bugs in authentication - When the sender and receiver have different interpretations of the message.

This has lead to things like popular SAML parsers that do not even attempt to validate the signature. For examples of how this has gone badly wrong, see https://workos.com/blog/fun-with-saml-sso-vulnerabilities-an... .

Re:Okta Exposes Passwords in Clear Text for Possible Theft by lll-o-lll on Sunday September 25, 2022 @07:12AM (#32970343)
Thanks, this was an interesting and informative read.
Re:Okta Exposes Passwords in Clear Text for Possible Theft by jf on Sunday September 25, 2022 @02:56AM (#32969475)
The short version of why SAML is bad is because it’s based on XML. This means that SAML is not only subject to the usual vulnerabilities that you’d expect, but also XML vulnerabilities!

A slightly longer explanation is that SAML is based on a garbage cryptographic signature standard called “XML-DSig” which, among other issues, allows for partial signatures and stores the signature inside the XML element that it signed.

Honestly, SAML is something of an info hazard. I don’t recommend learning more about it. But if you really want to, this blog post goes into more detail: https://dev.to/workos/fun-with-saml-sso-vulnerabilities-and-...

Re:Okta Exposes Passwords in Clear Text for Possible Theft by deepakprab on Tuesday September 27, 2022 @06:20PM (#33001884)
We (BoxyHQ) are an SSO and Directory Sync vendor like WorkOS and they are spot on with the details of the SAML vulnerabilities. We have guarded against these attacks so our customers don't have to but plenty of companies still roll out their own implementations, not all of them securely.
Re:Okta Exposes Passwords in Clear Text for Possible Theft by deepakprab on Tuesday September 27, 2022 @05:40PM (#33001478)
It's just riddled with vulnerabilities but most of them are now well known and mitigated.

OpenID was meant to be the successor but popularity wise SAML is still the champion with enterprises.

SCIM doesn't really have a successor afaik. Azure AD I think doesn't do password sync, I am not sure who twisted Okta's hands to get this implemented.

Re:Okta Exposes Passwords in Clear Text for Possible Theft by kache_ on Sunday September 25, 2022 @03:14AM (#32969552)
It's all the same thing with a different flavor

You have a signing authority and it liaisons access. Though it does go in the wrong direction a little bit with SAML