News for hackers. Stuff that matters.
Re:Plain Text Offenders - Did you just email me back my own ... by btilly on Wednesday April 06, 2011 @10:58AM (#2415322)
Go read http://en.wikipedia.org/wiki/Digest_access_authentication and become informed on how you can do hashing on the client's browser and actually gain something in the way of security.
Re:Plain Text Offenders - Did you just email me back my own ... by asharp on Wednesday April 06, 2011 @11:09AM (#2415368)
Digest mode has the issue that you need the plaintext password on the server side in order to do the authentication.
Re:Plain Text Offenders - Did you just email me back my own ... by btilly on Wednesday April 06, 2011 @11:50AM (#2415557)
You clearly didn't read the link I directed you at. If you had you'd have seen that you only need MD5(username:realm:password), and would have been pointed at JBoss's DIGESTAuth implementation as an example of an implementation that does this.
Re:Plain Text Offenders - Did you just email me back my own ... by asharp on Thursday April 07, 2011 @02:16PM (#2420551)
"You clearly didn't read the link I directed you at." I do believe your tone is rather counterproductive to the purpose of this forum.

I did in fact read the article, and I do now agree that you only need to send MD5(username:realm:password) to the remote server to do the authentication.

The problem that I do see is that it is trivial for a MITM to either intercept the transaction and force the client into a less secure mode (ie. basic auth), and then read in the password, or else just reuse the auth credentials for another transaction.

I would recommend that you look at http://en.wikipedia.org/wiki/Secure_Remote_Password_protocol and the concept of a "zero knowledge password proof" which seems to be the concept you were looking for.

Re:Plain Text Offenders - Did you just email me back my own ... by tedunangst on Wednesday April 06, 2011 @11:54AM (#2415577)
Riddle me this batman: how does one get MD5(username:realm:password) onto the server?
Re:Plain Text Offenders - Did you just email me back my own ... by btilly on Wednesday April 06, 2011 @01:03PM (#2415887)
The normal way is to capture that information in a sign-up page that is served over https. The point of digest authentication is not to replace https for what it is necessary for. It is to allow http and authentication to be used more securely than plain text authentication can be.

Incidentally your snideness is not appreciated. Generally something doesn't get to be a widely implemented RFC without the obvious questions having been asked and answered.

Re:Plain Text Offenders - Did you just email me back my own ... by tedunangst on Wednesday April 06, 2011 @01:41PM (#2416049)
Capturing that information in a sign-up page that is served over https sounds an awful lot like the plaintext password is going to reach the server at which point the server will be mathematically capable of displaying it. That happens to defeat the entire purpose of this little subthread.
Re:Plain Text Offenders - Did you just email me back my own ... by btilly on Wednesday April 06, 2011 @01:52PM (#2416100)
Your understanding of this subthread is very different from mine. I'm talking about practical security options for practical websites. In that case you don't care about information that was transiently present in the server for a fraction of a second once, you care about information that has been persistently stored.

But if you want such a ridiculous requirement, you can have JavaScript on the signup form that computes the hash on the client and sends it to the server. That form still needs to go over a secure channel (eg https) because the information sent, while not including the plain text password, is sufficient information for a sufficiently motivated attacker to get access.

Re:Plain Text Offenders - Did you just email me back my own ... by tedunangst on Wednesday April 06, 2011 @04:11PM (#2416767)
We may actually be in agreement. I don't want such a requirement, it came from here http://news.ycombinator.com/item?id=2414550 and the link I first replied to, http://news.ycombinator.com/item?id=2414859

Your reply, coming where it did in the thread, gave the impression you thought digest auth somehow avoided ever sending a plaintext password to the server.

Re:Plain Text Offenders - Did you just email me back my own ... by btilly on Wednesday April 06, 2011 @05:30PM (#2417064)
I was skimming the whole discussion and had missed that context. In that case I think we are in agreement.