News for hackers. Stuff that matters.
Re:Okta Exposes Passwords in Clear Text for Possible Theft by GauntletWizard on Saturday September 24, 2022 @11:51PM (#32968780)
Okta has always been a marketing organization first and a security organization second. Their support (and encouragement!) of bad protocols like SCIM and SAML are no surprise. Their target market are people who like easy solutions.
Re:Okta Exposes Passwords in Clear Text for Possible Theft by hnzix on Sunday September 25, 2022 @01:03AM (#32969077)
Okta's primary use case is for enterprise orgs with dozens or hundreds of third party apps that need to be integrated. You use modern auth with the 90% of apps that support it. But there are almost always a couple of legacy apps that aren't going to add OAuth anytime soon if ever.

How do you propose your average enterprise should manage auth for these legacy systems without using SCIM?

Re:Okta Exposes Passwords in Clear Text for Possible Theft by jf on Sunday September 25, 2022 @02:48AM (#32969449)
As someone who has implemented SAML and SCIM, I agree with you about SAML.

However, I’m curious to learn why you think SCIM is a “bad” protocol, can you explain why you don’t like it?

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

Re:Okta Exposes Passwords in Clear Text for Possible Theft by jollofricepeas on Sunday September 25, 2022 @12:14AM (#32968894)
For what it’s worth…

The people who like easy solutions are the Fortune 500.

Re:Okta Exposes Passwords in Clear Text for Possible Theft by kache_ on Sunday September 25, 2022 @03:11AM (#32969536)
don't hate the provider hate the buyer

if someone tells me to sell them shit for 1m ARR i'm going to get squattin and shittin

Re:Okta Exposes Passwords in Clear Text for Possible Theft by tgv on Sunday September 25, 2022 @03:24AM (#32969597)
I'd say that when the provider says "it's safe!" (and Okta does that: the words trust and secure are all over their front page), then the buyer may assume that it's true. Should the buyer get hacked because the provider leaked plain-text passwords, it is clearly the latter's fault.
Re:Okta Exposes Passwords in Clear Text for Possible Theft by kache_ on Sunday September 25, 2022 @04:47PM (#32976030)
If I sell you shit and you happily eat it, but then 3 months later you're like "dude, why did you make me eat shit?". Idk.

seems kinda like the responsibility of the person building the application and managing your users' data to do your due diligence on where the keys to the kingdom go

but... on second thought it's crazy that okta even provides this lmao. It's different when you're a SaaS provider with a position of being secure compared to being an indie merc contractor. Hell, if I was an indie merc, I'd straight up just not do it out of principle.

Re:Okta Exposes Passwords in Clear Text for Possible Theft by GauntletWizard on Sunday September 25, 2022 @05:10PM (#32976284)
You can't blame the shit-seller for making you eat shit, but you can choose not to eat at restaurants that have shit on the menu. I choose not to work with Okta.