WSE 2.0 Authentication and Managing Passwords

John brings up an great question related to my last post on UsernameToken (UT) authentication with WSE 2.0 (see comments). When you take the custom authentication route and write a UsernameTokenManager (UTM), your implementation of AuthenticateToken must return the same secret (e.g., password) used on the client side to generate the hash/signature, depending on which option you use. This is necessary because WSE needs to recalculate the hash/signature and verify that it's the same. So when the client-side uses passwords, your UTM must have access to the plain text passwords of all the users.

This approach makes security experts, like Keith Brown, cringe because if the machine is ever compromised, so are all of the passwords. And since most users typically use the same password everywhere, compromising it can have a far-reaching effect. The only way around this is to have the sender and receiver agree on an algorithm for generating a secret from the original password and use it instead of the original. Hence, the client would supply the generated secret when instantiating the UT, and the machine would store the generated password somewhere on the machine. The rest of the process would work the same. This approach doesn't protect the server if it's compromised, but the real passwords are safe.

This happens to be Keith's biggest complaint about WSE 2.0 but he has some great ideas on how to make it better. I'll let him explain rather than steal his thunder.


Posted Jul 03 2004, 09:45 AM by aaron-skonnard

Comments

John wrote re: WSE 2.0 Authentication and Managing Passwords
on 07-03-2004 11:08 AM
Thank you for this explaination. You refer to Keith's blog about his complaints about WSE and some ideas he has to improve it. I am, however, not able to find any WSE related posts on his web page. Could you give me direct link?
Aaron Skonnard wrote re: WSE 2.0 Authentication and Managing Passwords
on 07-03-2004 11:11 AM
He hasn't posted any yet, but I'm hoping he will. I was referring to verbal conversations we've had on the subject.
Security Briefs wrote UserNameToken and cleartext passwords
on 07-03-2004 1:14 PM
JosephCooney wrote Interesting WSE2 UsernameToken Authentication Discussion
on 07-13-2004 8:23 AM
Interesting WSE2 UsernameToken Authentication Discussion
nospamplease75@yahoo.com (Haacked) wrote RE: WSE 2.0 Authentication and Managing Passwords
on 09-08-2004 1:33 PM
Ya mean you don't have a digital log of your verbal conversations??? ;)
you've been HAACKED wrote WSE 2.0 Authentication: How To Avoid ClearText Passwords With UsernameToken
on 09-09-2004 2:21 PM
you've been HAACKED wrote WSE 2.0 Authentication: How To Avoid ClearText Passwords With UsernameToken
on 09-09-2004 2:51 PM
JCooney.NET wrote Interesting WSE2 UsernameToken Authentication Discussion
on 01-31-2005 5:38 AM

Add a Comment

(required)  
(optional)
(required)  
Remember Me?