page 1 of 1
Comments: 21 | Views: 13651
Maurits
Maurits
AKA Matthew van Eerde
The IE blog had a very interesting post yesterday about security tweaks.

If a website requests Basic HTTP authentication over a non-SSL connection, text is added to the Username/Password box to the effect that "this username and password will be transmitted insecurely."

Which is all very well and good.  Except that IE doesn't1 support Digest HTTP Authentication, which was designed to cover this shortfall in Basic Authentication.

... unless it's connecting to an IIS server.  Then Digest HTTP Authentication works just fine.

So we have the following situation:

IE6 <-Basic-> IIS: works fine
IE6 <-Digest-> IIS: works fine
IE6 <-NTLM-> IIS: works fine
IE6 <-Basic-> Apache: works fine
IE6 <-Digest-> Apache: DOES NOT WORK2 works fine (Apache accepts IE6's incorrect headers)
IE6 <-NTLM-> Apache: works fine
Firefox <-Basic-> IIS: works fine
Firefox <-Digest-> IIS: DOES NOT WORK (IIS does not accept Firefox's correct headers)
Firefox <-NTLM-> IIS: works fine
... and now...
IE7 <-Basic-> IIS: UGLY WARNING
IE7 <-Digest-> IIS: works fine
IE7 <-NTLM-> IIS: works fine
IE7 <-Basic-> Apache: UGLY WARNING
IE7 <-Digest-> Apache: DOES NOT WORK works fine
IE7 <-NTLM-> Apache: works fine

So as I read this, if you want to use IIS, you're stuck with either:
* Sticking your IE7 consumers with a big ugly warning
* Shutting out your Firefox consumers
* Using NTLM

I'm in favor of adding the warning.  I agree that plaintext not-over-SSL is a bad way to transport passwords.

But... and this is my point... I think Digest Authentication should be fixed FIRST3.  Otherwise this is just a way to push NTLM, no?

Thoughts?

1Microsoft claims it does.  But see my comments on the blog post. (I believed them at first, and mistakenly thought what I was seeing was a Firefox bug.  But then I read the RFC.)
2See http://www.eweek.com/article2/0%2C1895%2C1500432%2C00.asp
3Note that fixing IE7's Digest Authentication will probably entail fixing IIS's Digest Authentication first.

So the critical path is:
1) Fix IIS Digest Authentication (release patches for downlevel IIS servers...)
2) Fix IE Digest Authentication (release patches for downlevel IE clients...)
3) Add the Basic Authentication warning.

EDIT: According to David Wang this bug is fixed in IIS 6.
Jorgie
Jorgie
Jorgie

+10 points for finding and documenting a bug that should confirmed by MS and fixed.

-50 points for using an overly sensational subject guaranteed to leave a bad taste in the mouth of anyone on the IE or IIS team.

If you actually want it fixed you need to leave out the BS. But then again based on the subject you don't want it fixed, you want to troll.

Jorgie

W3bbo
W3bbo
The Master of Baiters
The problem with NTLM is that you kick-out all your non-Firefox/non-IE users (I think other Gecko browsers support it, but I know Opera doesn't)
StretchMan
StretchMan
On the rebound! / Sur le rebond!
Jorgie wrote:

...
If you actually want it fixed you need to leave out the BS. But then again based on the subject you don't want it fixed, you want to troll.

Jorgie



Was this so obvious ?  lmao
W3bbo: Opera 9 is your friend Wink
W3bbo
W3bbo
The Master of Baiters
thepuffin wrote:
W3bbo: Opera 9 is your friend Wink


Not really, I need NTLM and Firefox does the job fine for me Smiley
DJZ
DJZ
DJZ
To those of you who think this post is a troll, I disagree.

Having spent a considerable amount of my working life away from MS tools (although a considerable amount with them also) I completely understand his point of view.

Every time I come back to MS land and find another incompatibility it annoys me.  MS don't care, or don't seem to care, they definitely give the impression that they like to keep it that way.

Lok at Apache, they put in configuration options to interoperate with MS bugs.  MS would NEVER do that for another provided, let alone bring their product into compliance.




I guess this is a tough call for MSFT. Those IIS5 machines are almost certainly running Windows 2000, which is out of mainstream support. It's not really a "critical" bug in the security sense, so it's not surprising that they don't issue a fix for that. Releasing a fix for XP's IIS install would be next to useless, as no major system is going to be using that.
Matthew van Eerde
Matthew van Eerde
AKA Maurits

I've seen some evidence to suggest that this may have regressed on IIS 7.  Can anyone with an IIS 7 server help to confirm?  I'm no longer in a position where I can easily experiment with a configured IIS machine.

ZippyV
ZippyV
Fired Up

You work at Microsoft and you can't ask the IIS team?

If you haven't got anyone to try it by tomorrow, I'll try and have a quick look. I don't have easy access to an IIS7 box in a domain I can fiddle with the reversible encryption setting right now. But I can probably stick one in our test domain to give it a quick try if needed.

Matthew van Eerde
Matthew van Eerde
AKA Maurits

I am, of course, trying to find the right person on the IIS team to ping about this issue.  I'll be much more able to get their attention though if I can confirm the regression.

page 1 of 1
Comments: 21 | Views: 13651
Microsoft Communities