Live data from Hacker News

Okta Exposes Passwords in Clear Text for Possible Theft

darkreading.com

11–20 of 90 posts

Re: Okta Exposes Passwords in Clear Text for Possible Theft

#11

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.

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

#12
This is ridiculous and unjustifiable. Hashed pqsswords in databases is the absolutely bare minimum nowadays.

I would not only hash it already on the client side, but have it also encoded with a freshly generated one-time-use public key on the client side every time it is being transmitted to my servers.

Re: Okta Exposes Passwords in Clear Text for Possible Theft

#13
post #7

Earlier quoted context omitted.

If you are in the US you may contact the SEC if you think those two are related.

Out of curiosity: do you really have to be/live in the US? You're not permitted to contact them in such case if you're investing on the US market with proper IRS forms filled?

You're right looks like anybody can contact them.

Re: Okta Exposes Passwords in Clear Text for Possible Theft

#14

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.

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

#15

> For Okta's part, the passwords are in clear text because there is no standard reliable protocol for syncing hashes, researchers noted. However, Authomize noted that Okta did pledge to have its product team take a closer look at the password-leak risks. What??? Can someone fill me in as to why they can’t just store the password using something like bcrypt? I guess you either have to store the password in plaintext s…

Yes there are techniques, e.g. OAuth.

Re: Okta Exposes Passwords in Clear Text for Possible Theft

#16

This is ridiculous and unjustifiable. Hashed pqsswords in databases is the absolutely bare minimum nowadays. I would not only hash it already on the client side, but have it also encoded with a freshly generated one-time-use public key on the client side every time it is being transmitted to my servers.

> Hashed pqsswords in databases is the absolutely bare minimum nowadays.

And has been for two decades. I was just a high-school kid with a website in ~2001 and I knew plaintext was bad even then.

I did it anyway, but it was just some homebrew blog I built.

Re: Okta Exposes Passwords in Clear Text for Possible Theft

#17

> For Okta's part, the passwords are in clear text because there is no standard reliable protocol for syncing hashes, researchers noted. However, Authomize noted that Okta did pledge to have its product team take a closer look at the password-leak risks. What??? Can someone fill me in as to why they can’t just store the password using something like bcrypt? I guess you either have to store the password in plaintext s…

Yes there are techniques, e.g. OAuth.

The OAuth protocol involves someone else storing and verifying the password (e.g. Microsoft authenticated you already), and then you trust that whatever the provided token says is true.

> OAuth is an authentication protocol that allows you to approve one application interacting with another on your behalf without giving away your password.

Re: Okta Exposes Passwords in Clear Text for Possible Theft

#18

> For Okta's part, the passwords are in clear text because there is no standard reliable protocol for syncing hashes, researchers noted. However, Authomize noted that Okta did pledge to have its product team take a closer look at the password-leak risks. What??? Can someone fill me in as to why they can’t just store the password using something like bcrypt? I guess you either have to store the password in plaintext s…

SCIM integration is for legacy apps that don't support modern auth. I'm not an expert, but I believe Okta is essentially filling in the legacy app's login page automatically. By definition this action requires a password to be transmitted in plaintext.

The answer is for the third-party apps to add modern auth, but this is dependent on the vendor, not Okta. The only alternative is to have unmanaged logins, which is arguably worse than SCIM.

SCIM is there as a last resort, its use is heavily discouraged.

Re: Okta Exposes Passwords in Clear Text for Possible Theft

#19

> For Okta's part, the passwords are in clear text because there is no standard reliable protocol for syncing hashes, researchers noted. However, Authomize noted that Okta did pledge to have its product team take a closer look at the password-leak risks. What??? Can someone fill me in as to why they can’t just store the password using something like bcrypt? I guess you either have to store the password in plaintext s…

It seems that the fundamental problem here is Okta is sending passwords by design to execute a password sync. Typically, when you build an authentication system, you design your code to not store the password in plaintext so that there is no possibility of the password being read back out of the system, but Okta isn't doing this because they need to be able to do password syncing.

If you're trying to do this right, the short answer is "don't try to sync passwords." Use federated authentication (such as OAuth), or just use different passwords.

Can someone fill me in as to why they can’t just store the password using something like bcrypt?

It's addressed in the last paragraph: "For Okta's part, the passwords are in clear text because there is no standard reliable protocol for syncing hashes, researchers noted."

I guess you either have to store the password in plaintext so they can do dynamic hashing operations on it, or transmit the password (via TLS hopefully) which is vulnerable to packet capture (or captured within the receiving app).

TLS (when securely configured) is generally considered sufficient protection for the passwords in transit because stealing the password out of TLS typically requires first compromising the TLS connection, in which case you don't even need the password because you can steal the bearer token and the bearer token doesn't require you to get past a MFA check.

Are there any techniques for identity providers to authenticate people without storing or transmitting the users password to them?

This question doesn't quite compute for me, do you mean provisioning as opposed to authenticating? There's no reason an identity provider would need to send a user's password to the user when trying to authenticate that user.

Re: Okta Exposes Passwords in Clear Text for Possible Theft

#20
post #18

> For Okta's part, the passwords are in clear text because there is no standard reliable protocol for syncing hashes, researchers noted. However, Authomize noted that Okta did pledge to have its product team take a closer look at the password-leak risks. What??? Can someone fill me in as to why they can’t just store the password using something like bcrypt? I guess you either have to store the password in plaintext s…

SCIM integration is for legacy apps that don't support modern auth. I'm not an expert, but I believe Okta is essentially filling in the legacy app's login page automatically. By definition this action requires a password to be transmitted in plaintext. The answer is for the third-party apps to add modern auth, but this is dependent on the vendor, not Okta. The only alternative is to have unmanaged logins, which is ar…

SCIM is a sensible protocol and useful for syncing users and groups from central system to apps, syncing the clear text password is the problem, it should be used to sync user id and group membership only and the OpenId Connect performs the login.
Post reply on HN