Re: [Ietf-http-auth] Re: [dix] Notes on Web authentication enhancements

Eric Rescorla <ekr@networkresonance.com> Thu, 06 July 2006 22:03 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FybwN-0001aV-QK; Thu, 06 Jul 2006 18:03:19 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FybwM-0001aO-U7 for dix@ietf.org; Thu, 06 Jul 2006 18:03:18 -0400
Received: from raman.networkresonance.com ([198.144.196.3]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FybwK-0001eQ-I2 for dix@ietf.org; Thu, 06 Jul 2006 18:03:18 -0400
Received: by raman.networkresonance.com (Postfix, from userid 1001) id ED7EA1E8C1C; Thu, 6 Jul 2006 15:03:15 -0700 (PDT)
To: Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: [Ietf-http-auth] Re: [dix] Notes on Web authentication enhancements
References: <20060619220742.40B85222427@laser.networkresonance.com> <tsl3bdoiq9g.fsf@cz.mit.edu> <86mzbqbwjm.fsf@raman.networkresonance.com> <tslk66qa6wi.fsf@cz.mit.edu> <86k66qwmzo.fsf@raman.networkresonance.com> <tslveqa8o1d.fsf@cz.mit.edu>
From: Eric Rescorla <ekr@networkresonance.com>
Date: Thu, 06 Jul 2006 15:03:15 -0700
In-Reply-To: <tslveqa8o1d.fsf@cz.mit.edu> (Sam Hartman's message of "Thu, 06 Jul 2006 16:40:46 -0400")
Message-ID: <86sllev1b0.fsf@raman.networkresonance.com>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a7d6aff76b15f3f56fcb94490e1052e4
Cc: Digital Identity Exchange <dix@ietf.org>, ietf-http-auth@lists.osafoundation.org
X-BeenThere: dix@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: EKR <ekr@networkresonance.com>, Digital Identity Exchange <dix@ietf.org>
List-Id: Digital Identity Exchange <dix.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/dix>, <mailto:dix-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/dix>
List-Post: <mailto:dix@ietf.org>
List-Help: <mailto:dix-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/dix>, <mailto:dix-request@ietf.org?subject=subscribe>
Errors-To: dix-bounces@ietf.org

Sam Hartman <hartmans-ietf@mit.edu> writes:

>>>>>> "Eric" == Eric Rescorla <ekr@networkresonance.com> writes:
>
>     Eric> Sorry, I don't see what you're getting at. PwdHash is
>     Eric> specified to use the domain name of the server as the hash
>     Eric> salt. RFC 2818 requires that that domain name match the
>     Eric> server's certificate. There's nothing additional required.
>
> The additional thing is that the specification of pwdhash uses the
>         same naming for servers that tls does and that as pwdhash is
>         used, it derives the name of the server it is contacting from
>         the same place as TLS (the URI).

Yes, I agree that this is necessary. I don't agree that it's
"additional". It's a basic part of any design that aims
to preserve referential integrity, which is why TLS and
PwdHash both do it.

> Say I replace pwdhash with an authentication scheme where the client
> needs to learn from the user an identity for the server to be used at
> the TLS layer (the domain name from the URI) and an identity to be
> used for my upper layer authentication scheme (derived somewhere
> else).
>
> For example, SASL digest effectively names the server based on a
> realm.  There's no good mapping between the server's domain name and
> the realm.  So, I'm fairly certain that a server could trick you into
> giving it a challenge to replay with another server.
>
> I think HTTP digest works approximately the same way.
> In this situation, TLS would not be enough to prevent MITM.
>
> Although perhaps the difference here is that I was using a broader
> definitiong of hi jacking than you were and my definition included
> MITM.

Uh, no. The difference is that HTTP Digest and SASL Digest don't
provide CRA, because they don't include the user's intended
URI in the C-R response.

-Ekr

_______________________________________________
dix mailing list
dix@ietf.org
https://www1.ietf.org/mailman/listinfo/dix