From owner-ietf-sacred@mail.imc.org  Mon Dec  2 22:51:27 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA25027
	for <sacred-archive@lists.ietf.org>; Mon, 2 Dec 2002 22:51:26 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gB33mi519486
	for ietf-sacred-bks; Mon, 2 Dec 2002 19:48:44 -0800 (PST)
Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gB33mdg19477
	for <ietf-sacred@imc.org>; Mon, 2 Dec 2002 19:48:39 -0800 (PST)
Received: from attbi.com (c-66-41-28-164.mn.client2.attbi.com[66.41.28.164])
          by sccrmhc03.attbi.com (sccrmhc03) with SMTP
          id <2002120303483600300j9tj5e>; Tue, 3 Dec 2002 03:48:36 +0000
Message-ID: <3DEC29E9.F6CA4805@attbi.com>
Date: Mon, 02 Dec 2002 21:50:01 -0600
From: Dale Gustafson <degustafson@attbi.com>
X-Mailer: Mozilla 4.78 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: stephen.farrell@baltimore.ie
CC: "Nystrom, Magnus" <magnus@rsasecurity.com>,
        Lawrence Greenfield <leg+@andrew.cmu.edu>,
        ietf-sacred <ietf-sacred@imc.org>
Subject: Re: Compound authentication "issue"
References: <Pine.WNT.4.44.0211282230290.748-100000@mnystrom-lap> <3DE74DA5.AF960BB5@baltimore.ie>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>
Content-Transfer-Encoding: 7bit




Stephen Farrell wrote:

> Great. Since you guys clearly understand this better, can you provide me
> with the said text?
>
> Thanks,
> Stephen.
>
> "Nystrom, Magnus" wrote:
> >
> > I believe you are right Lawrence. In essence, the client's response is a
> > keyed hash of a string of which the digest-uri-value is a part. Since the
> > MITM cannot influence that part, the "sacred" serv-type won't be present
> > when a MITM is active and the true SACRED server won't therefore accept
> > the response (it must not mechanically take the client-provided cleartext
> > digest-uri-value and use that when calculating its version of the response
> > though, but also check that the serv-type IS "sacred" and the name is its
> > own).
> >
> > Assuming this holds I agree, some text in the Security Considerations
> > section seems to be sufficient.

It appears the digest-MD5 mutual-auth. method will be dependent on the lower
layer sTLS server-auth function to protect against middle-man attacks.

For example, if a SACRED client can be tricked into setting up a TLS session
with a fake credential server, then this attacker could relay digest-MD5
messages to/from a real Credential Server and achieve user-authenticated state
by letting the SACRED client do all the digest-MD5 work.  The attacker/MITM must
also manage 2 distinct TLS sessions ...

If that's true, shouldn't the protocol document specify the relationship between
these two inter-dependent protocols (sTLS and digest-MD5)?

Will a SACRED client negotiate a TLS session with the web server for
"https://www.d1.com/...." then receive a digest-MD5 challenge from realm =
{"sacred/www.d2.com", "sacred/www.d3.com"} ?


> >
> > Thanks,
> > -- Magnus
> >
> > On Wed, 27 Nov 2002, Lawrence Greenfield wrote:
> >
> > >
> > > Upon further consideration, isn't the man-in-the-middle attack
> > > thwarted by the inclusion of "digest-uri-value" in the hash?
> > >
> > > The DIGEST-MD5 client hash includes a client-selected
> > > "digest-uri-value" which in sacred's case will be "sacred/<host>". In
> > > a MITM attack, those values will be something else.
> > >
> > > A MITM attack as described in the WG meeting is thwarted because
> > > digest-uri-value wouldn't match what the sacred server is expecting.
> > >
> > > If it would make people feel better, we can mention this safeguard in
> > > the security considerations section.
> > >
> > > Larry
> > >
>
> --
> ____________________________________________________________
> Stephen Farrell
> Baltimore Technologies,   tel: (direct line) +353 1 881 6716
> 39 Parkgate Street,                     fax: +353 1 881 7000
> Dublin 8.                mailto:stephen.farrell@baltimore.ie
> Ireland                             http://www.baltimore.com



From subs-reminder@imc.org  Tue Dec  3 00:46:04 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA28238
	for <sacred-archive@lists.ietf.org>; Tue, 3 Dec 2002 00:46:03 -0500 (EST)
From: subs-reminder@imc.org
Received: (from phoffman@localhost)
	by above.proper.com (8.11.6/8.11.3) id gB35mkr07955;
	Mon, 2 Dec 2002 21:48:46 -0800 (PST)
Date: Mon, 2 Dec 2002 21:48:46 -0800 (PST)
Message-Id: <200212030548.gB35mkr07955@above.proper.com>
To: sacred-archive@ietf.org
Subject: [[535423838]] Subscription to ietf-sacred for sacred-archive@lists.ietf.org

Greetings. This message is a periodic reminder that
     sacred-archive@lists.ietf.org
is subscribed to the
     ietf-sacred
mailing list.

There are two purposes for this message:
- If this message is bounced by your mail server, I can remove you from
  the mailing list and reduce waste of bandwidth and resources. (If you
  are reading this message, it clearly didn't get bounced!)
- Some people stay subscribed to mailing lists even though they do not
  want to because they do not know how to unsubscribe. 

If you want to stay subscribed to the ietf-sacred mailing list,
you do not need to do anything. Feel free to delete this message.

On the other hand, if you want to unsubscribe from this list, simply go
to the following link:
     <http://www.imc.org/Unsubs/535423838>

If for some reason you cannot go to that web site, you can also
unsubscribe by email; however, doing so is not as likely to get you
unsubscribed as the web site is. To unsubscribe using email, you can
respond to this message and I will unsubscribe you by hand in the next
few days. Again, this is not assured to work because your mail system
may make it impossible for me to determine who you are or what you want
to unsubscribe to.

Alternatively, you can send a plain-text message to:
     ietf-sacred-request@imc.org
with the single word
     unsubscribe
in the body of the message. This last method assumes that the "From:"
address in your mail is "sacred-archive@lists.ietf.org". Again, using the
web site above is more likely to work than this method (due to limitations
in Majordomo, the mailing list software we currently use).

If you have any questions, feel free to contact me.

--Paul Hoffman, list administrator


From owner-ietf-sacred@mail.imc.org  Tue Dec  3 13:34:44 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA08837
	for <sacred-archive@lists.ietf.org>; Tue, 3 Dec 2002 13:34:44 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gB3IWS917988
	for ietf-sacred-bks; Tue, 3 Dec 2002 10:32:28 -0800 (PST)
Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gB3IWMg17982
	for <ietf-sacred@imc.org>; Tue, 3 Dec 2002 10:32:23 -0800 (PST)
Received: from attbi.com (c-66-41-28-164.mn.client2.attbi.com[66.41.28.164])
          by sccrmhc02.attbi.com (sccrmhc02) with SMTP
          id <20021203183218002000suo5e>; Tue, 3 Dec 2002 18:32:18 +0000
Message-ID: <3DECF90C.17B2CCEB@attbi.com>
Date: Tue, 03 Dec 2002 12:33:48 -0600
From: Dale Gustafson <degustafson@attbi.com>
X-Mailer: Mozilla 4.78 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Nystrom, Magnus" <magnus@rsasecurity.com>
CC: ietf-sacred <ietf-sacred@imc.org>
Subject: Re: Compound authentication "issue"
References: <Pine.WNT.4.44.0212031024260.1108-100000@mnystrom-lap>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>
Content-Transfer-Encoding: 7bit




"Nystrom, Magnus" wrote:

> Hi Dale,
>
> Yes, to protect against MITM you need TLS. But if a SACRED client is
> tricked into setting up a session with a rogue credential server, then
> either the digest-uri-value will be wrong (pointing to the wrong server)
> and hence useless for the attacker (assuming the password is strong
> enough to resist a dictionary attack), or the true server's keypair has
> been compromised.

Maybe I'm missing something here but I don't think any server keys need to be
compromised.  An attacker need only somehow get in front of a real credential server
and negotiate a TLS session with a SACRED client.  Easy enough to do if the attacker
has a valid SSL-cert that is accepted by the SACRED client.

Then it transparently relays to the client a digest-MD5 challenge it has solicited
from the intended/real credential server (e.g. on a different TLS session) and the
compromise is easy from there if (and only if) the client independently choses to
authenticate with the CS that's under attack.  The attacker can be fairly certain the
SACRED client will cooperate.

The attacker doesn't need to know any user password information.  Attacker can capture
all traffic it relays between the SACRED client and server (all of which it sees
in-the-clear).  Attacker can also issue it's own upload/dowload requests to the real
SACRED server since it now has access to the SACRED client's account on the server.

> The server-provided realm value should not help the attacker as long as
> the digest-uri-value is chosen independently by the client.

> The former case above, where a client does connect to a rogue credential
> server, corresponds to V2 in the Requirements RFC (and in the Protocol
> I-D). It means that the client trusts a SACRED server (the TLS auth went
> fine) but that server is not trustworthy. I think it will be difficult to
> protect against this with the client authentication mechanism available.

Sounds ominous.

An attacker should not be able to just purchase a valid SSL-cert and use it to
compromise SACRED clients and their credentials. Right?

> -- Magnus
>
> On Mon, 2 Dec 2002, Dale Gustafson wrote:
>
> > Stephen Farrell wrote:
> >
> > > Great. Since you guys clearly understand this better, can you provide me
> > > with the said text?
> > >
> > > Thanks,
> > > Stephen.
> > >
> > > "Nystrom, Magnus" wrote:
> > > >
> > > > I believe you are right Lawrence. In essence, the client's response is a
> > > > keyed hash of a string of which the digest-uri-value is a part. Since the
> > > > MITM cannot influence that part, the "sacred" serv-type won't be present
> > > > when a MITM is active and the true SACRED server won't therefore accept
> > > > the response (it must not mechanically take the client-provided cleartext
> > > > digest-uri-value and use that when calculating its version of the response
> > > > though, but also check that the serv-type IS "sacred" and the name is its
> > > > own).
> > > >
> > > > Assuming this holds I agree, some text in the Security Considerations
> > > > section seems to be sufficient.
> >
> > It appears the digest-MD5 mutual-auth. method will be dependent on the lower
> > layer sTLS server-auth function to protect against middle-man attacks.
> >
> > For example, if a SACRED client can be tricked into setting up a TLS session
> > with a fake credential server, then this attacker could relay digest-MD5
> > messages to/from a real Credential Server and achieve user-authenticated state
> > by letting the SACRED client do all the digest-MD5 work.  The attacker/MITM must
> > also manage 2 distinct TLS sessions ...
> >
> > If that's true, shouldn't the protocol document specify the relationship between
> > these two inter-dependent protocols (sTLS and digest-MD5)?
> >
> > Will a SACRED client negotiate a TLS session with the web server for
> > "https://www.d1.com/...." then receive a digest-MD5 challenge from realm =
> > {"sacred/www.d2.com", "sacred/www.d3.com"} ?
> >
> > > >
> > > > Thanks,
> > > > -- Magnus
> > > >
> > > > On Wed, 27 Nov 2002, Lawrence Greenfield wrote:
> > > >
> > > > >
> > > > > Upon further consideration, isn't the man-in-the-middle attack
> > > > > thwarted by the inclusion of "digest-uri-value" in the hash?
> > > > >
> > > > > The DIGEST-MD5 client hash includes a client-selected
> > > > > "digest-uri-value" which in sacred's case will be "sacred/<host>". In
> > > > > a MITM attack, those values will be something else.
> > > > >
> > > > > A MITM attack as described in the WG meeting is thwarted because
> > > > > digest-uri-value wouldn't match what the sacred server is expecting.
> > > > >
> > > > > If it would make people feel better, we can mention this safeguard in
> > > > > the security considerations section.
> > > > >
> > > > > Larry
> > > > >
> > >
> > > --
> > > ____________________________________________________________
> > > Stephen Farrell
> > > Baltimore Technologies,   tel: (direct line) +353 1 881 6716
> > > 39 Parkgate Street,                     fax: +353 1 881 7000
> > > Dublin 8.                mailto:stephen.farrell@baltimore.ie
> > > Ireland                             http://www.baltimore.com
> >



From owner-ietf-sacred@mail.imc.org  Thu Dec  5 12:49:43 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA21268
	for <sacred-archive@lists.ietf.org>; Thu, 5 Dec 2002 12:49:43 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gB5HjaB04175
	for ietf-sacred-bks; Thu, 5 Dec 2002 09:45:36 -0800 (PST)
Received: from vulcan.rsasecurity.com (mail.rsasecurity.com [204.167.114.123])
	by above.proper.com (8.11.6/8.11.3) with SMTP id gB5HjXg04169
	for <ietf-sacred@imc.org>; Thu, 5 Dec 2002 09:45:33 -0800 (PST)
Received: from no.name.available by vulcan.rsasecurity.com
          via smtpd (for mail.imc.org [208.184.76.43]) with SMTP; 5 Dec 2002 17:45:35 UT
Received: from ebola.securitydynamics.com (ebola.securid.com [192.80.211.4])
	by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id MAA08340
	for <ietf-sacred@imc.org>; Thu, 5 Dec 2002 12:45:33 -0500 (EST)
Received: from exna00.securitydynamics.com (localhost [127.0.0.1])
	by ebola.securitydynamics.com (8.10.2+Sun/8.10.2) with ESMTP id gB5Hgeq17862
	for <ietf-sacred@imc.org>; Thu, 5 Dec 2002 12:42:40 -0500 (EST)
Received: by exna00.securitydynamics.com with Internet Mail Service (5.5.2653.19)
	id <W53VNV61>; Thu, 5 Dec 2002 12:45:31 -0500
Received: from mnystrom-lap (10.3.9.42 [10.3.9.42]) by exrsa01.rsa.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id WY8DCLQK; Thu, 5 Dec 2002 09:45:24 -0800
From: "Nystrom, Magnus" <mnystrom@rsasecurity.com>
Reply-To: "Nystrom, Magnus" <magnus@rsasecurity.com>
To: ietf-sacred@imc.org
Date: Thu, 5 Dec 2002 18:45:18 +0100 (W. Europe Standard Time)
Subject: Re: Compound authentication "issue"
Message-ID: <Pine.WNT.4.44.0212051838120.1572-100000@mnystrom-lap>
X-X-Sender: mnystrom@exrsa01.rsa.com
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>


Dale,

You raise some good points, please find my comments below.

On Tue, 3 Dec 2002, Dale Gustafson wrote:

> "Nystrom, Magnus" wrote:
>
> > Hi Dale,
> >
> > Yes, to protect against MITM you need TLS. But if a SACRED client is
> > tricked into setting up a session with a rogue credential server, then
> > either the digest-uri-value will be wrong (pointing to the wrong server)
> > and hence useless for the attacker (assuming the password is strong
> > enough to resist a dictionary attack), or the true server's keypair has
> > been compromised.
>
> Maybe I'm missing something here but I don't think any server keys need to be
> compromised.  An attacker need only somehow get in front of a real credential server
> and negotiate a TLS session with a SACRED client.  Easy enough to do if the attacker
> has a valid SSL-cert that is accepted by the SACRED client.

But the client connects to a specific SACRED server ("serverName" in the
BEEP start message). The rogue one won't be able to present a certificate
that matches the name of the specified server (c.f. RFC 2818, Section
3.1). But perhaps this should be made more specific in the protocol
document. I note that we do not specify use of the BEEP "serverName"
attribute, although the client should know it. If we specified it, and
also included (by reference or otherwise) the text in RFC 2818 I think we
would be in a more defendable position. (I am also wondering why RFC 3080
does not include text similar to the one in Section 3.1 of RFC 2818, but I
take it now that it is relating to BEEP's framework nature, and the
proper place for such text is in documents implementing a protocol based
on BEEP).

Your message also begs the question as to how/when credential download
actually happens. It could be user-initiated, of course, but a more
natural approach (with perhaps a better user experience), would be to
"trigger"  this based on some event, e.g.: The user is asked to sign a
form with JavaScript signText(). This creates a call to PKCS#11, and if a
"SACRED-aware" PKCS #11 module is present and active, it will then contact
a pre-configured SACRED server to get the credential. Another alternative
is to have credential download to happen automatically at login (to the
SACRED-aware application or the patform as such or similar). Social
engineering attacks will always be possible (i.e. simulate a connection to
a SACRED server through a plug-in, perhasp), so users must always take
care not to do a sacred authentication to unknown hosts.

To conclude then, at this point I am inclined to suggest that we add
wording similar to what is in Section 3.1 of RFC 2818, i.e. that the
SACRED client MUST check that the server name as presented through TLS is
acceptable and the intended (BEEP "serverName" SHOULD (MUST?) be used, and
must map directly or otherwise to the name authenticated in the TLS
handshake.

-- Magnus

> Then it transparently relays to the client a digest-MD5 challenge it has solicited
> from the intended/real credential server (e.g. on a different TLS session) and the
> compromise is easy from there if (and only if) the client independently choses to
> authenticate with the CS that's under attack.  The attacker can be fairly certain the
> SACRED client will cooperate.
>
> The attacker doesn't need to know any user password information.  Attacker can capture
> all traffic it relays between the SACRED client and server (all of which it sees
> in-the-clear).  Attacker can also issue it's own upload/dowload requests to the real
> SACRED server since it now has access to the SACRED client's account on the server.
>
> > The server-provided realm value should not help the attacker as long as
> > the digest-uri-value is chosen independently by the client.
>
> > The former case above, where a client does connect to a rogue credential
> > server, corresponds to V2 in the Requirements RFC (and in the Protocol
> > I-D). It means that the client trusts a SACRED server (the TLS auth went
> > fine) but that server is not trustworthy. I think it will be difficult to
> > protect against this with the client authentication mechanism available.
>
> Sounds ominous.
>
> An attacker should not be able to just purchase a valid SSL-cert and use it to
> compromise SACRED clients and their credentials. Right?
>
> > -- Magnus
> >
> > On Mon, 2 Dec 2002, Dale Gustafson wrote:
> >
> > > Stephen Farrell wrote:
> > >
> > > > Great. Since you guys clearly understand this better, can you provide me
> > > > with the said text?
> > > >
> > > > Thanks,
> > > > Stephen.
> > > >
> > > > "Nystrom, Magnus" wrote:
> > > > >
> > > > > I believe you are right Lawrence. In essence, the client's response is a
> > > > > keyed hash of a string of which the digest-uri-value is a part. Since the
> > > > > MITM cannot influence that part, the "sacred" serv-type won't be present
> > > > > when a MITM is active and the true SACRED server won't therefore accept
> > > > > the response (it must not mechanically take the client-provided cleartext
> > > > > digest-uri-value and use that when calculating its version of the response
> > > > > though, but also check that the serv-type IS "sacred" and the name is its
> > > > > own).
> > > > >
> > > > > Assuming this holds I agree, some text in the Security Considerations
> > > > > section seems to be sufficient.
> > >
> > > It appears the digest-MD5 mutual-auth. method will be dependent on the lower
> > > layer sTLS server-auth function to protect against middle-man attacks.
> > >
> > > For example, if a SACRED client can be tricked into setting up a TLS session
> > > with a fake credential server, then this attacker could relay digest-MD5
> > > messages to/from a real Credential Server and achieve user-authenticated state
> > > by letting the SACRED client do all the digest-MD5 work.  The attacker/MITM must
> > > also manage 2 distinct TLS sessions ...
> > >
> > > If that's true, shouldn't the protocol document specify the relationship between
> > > these two inter-dependent protocols (sTLS and digest-MD5)?
> > >
> > > Will a SACRED client negotiate a TLS session with the web server for
> > > "https://www.d1.com/...." then receive a digest-MD5 challenge from realm =
> > > {"sacred/www.d2.com", "sacred/www.d3.com"} ?
> > >
> > > > >
> > > > > Thanks,
> > > > > -- Magnus
> > > > >
> > > > > On Wed, 27 Nov 2002, Lawrence Greenfield wrote:
> > > > >
> > > > > >
> > > > > > Upon further consideration, isn't the man-in-the-middle attack
> > > > > > thwarted by the inclusion of "digest-uri-value" in the hash?
> > > > > >
> > > > > > The DIGEST-MD5 client hash includes a client-selected
> > > > > > "digest-uri-value" which in sacred's case will be "sacred/<host>". In
> > > > > > a MITM attack, those values will be something else.
> > > > > >
> > > > > > A MITM attack as described in the WG meeting is thwarted because
> > > > > > digest-uri-value wouldn't match what the sacred server is expecting.
> > > > > >
> > > > > > If it would make people feel better, we can mention this safeguard in
> > > > > > the security considerations section.
> > > > > >
> > > > > > Larry
> > > > > >
> > > >
> > > > --
> > > > ____________________________________________________________
> > > > Stephen Farrell
> > > > Baltimore Technologies,   tel: (direct line) +353 1 881 6716
> > > > 39 Parkgate Street,                     fax: +353 1 881 7000
> > > > Dublin 8.                mailto:stephen.farrell@baltimore.ie
> > > > Ireland                             http://www.baltimore.com
> > >
>



From owner-ietf-sacred@mail.imc.org  Thu Dec  5 16:57:33 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA01873
	for <sacred-archive@lists.ietf.org>; Thu, 5 Dec 2002 16:57:33 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gB5Lrlg07746
	for ietf-sacred-bks; Thu, 5 Dec 2002 13:53:47 -0800 (PST)
Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gB5Lrfg07727
	for <ietf-sacred@imc.org>; Thu, 5 Dec 2002 13:53:42 -0800 (PST)
Received: from attbi.com (c-66-41-28-164.mn.client2.attbi.com[66.41.28.164])
          by sccrmhc01.attbi.com (sccrmhc01) with SMTP
          id <2002120521533800100qrsase>; Thu, 5 Dec 2002 21:53:38 +0000
Message-ID: <3DEFCB3F.3050304@attbi.com>
Date: Thu, 05 Dec 2002 15:55:11 -0600
From: Dale Gustafson <degustafson@attbi.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Nystrom, Magnus" <magnus@rsasecurity.com>
CC: ietf-sacred@imc.org
Subject: Re: Compound authentication "issue"
References: <Pine.WNT.4.44.0212051838120.1572-100000@mnystrom-lap>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>
Content-Transfer-Encoding: 7bit


Hi Magnus,

A couple of comments inline.

--dg


Nystrom, Magnus wrote:

>Dale,
>
>You raise some good points, please find my comments below.
>
[ ... ]

>I note that we do not specify use of the BEEP "serverName"
>attribute, although the client should know it. If we specified it, and
>also included (by reference or otherwise) the text in RFC 2818 I think we
>would be in a more defendable position. (I am also wondering why RFC 3080
>does not include text similar to the one in Section 3.1 of RFC 2818, but I
>take it now that it is relating to BEEP's framework nature, and the
>proper place for such text is in documents implementing a protocol based
>on BEEP).
>
I'd favor by-reference to TLS, digest-MD5, and BEEP -- amplification & protocol-specific detail should ensure the new document is whole/understandable.

>Your message also begs the question as to how/when credential download
>actually happens. It could be user-initiated, of course, but a more
>natural approach (with perhaps a better user experience), would be to
>"trigger"  this based on some event, e.g.: The user is asked to sign a
>form with JavaScript signText(). This creates a call to PKCS#11, and if a
>"SACRED-aware" PKCS #11 module is present and active, it will then contact
>a pre-configured SACRED server to get the credential. Another alternative
>is to have credential download to happen automatically at login (to the
>SACRED-aware application or the patform as such or similar).
>
I can envision a SACRED client that checks it's credential store at 
start-up / periodically.

>Social engineering attacks will always be possible (i.e. simulate a connection to
>a SACRED server through a plug-in, perhasp), so users must always take
>care not to do a sacred authentication to unknown hosts.
>
>To conclude then, at this point I am inclined to suggest that we add
>wording similar to what is in Section 3.1 of RFC 2818, i.e. that the
>SACRED client MUST check that the server name as presented through TLS is
>acceptable and the intended (BEEP "serverName" SHOULD (MUST?) be used, and
>must map directly or otherwise to the name authenticated in the TLS
>handshake.
>
Not sure what, if anything, we should say in the protocol document, but I see a need for the SACRED client logic to have access to the certificate chain presented to it by the TLS server at connect time.  That would allow the client logic to be more conservative than the normal TLS processing if/when that's necessary.  Didn't see very much about certificates in the current protocol draft.

Also, the protocol document should note what happens for any legitimate corner-cases that
exist because of the combined protocol, such as:

    sTLS authentication succeeds but the server's final digest-MD5
    response fails to authenticate the credential server

That is -- we connected to the right TLS server, the server believes the client knows the
digest-MD5 password(?), but somehow the server failed to prove it also knows the pw.  With digest-MD5, can that happen and, if yes, is that just a mutual-auth error?

>-- Magnus
>  
>
[ ... ]





From owner-ietf-sacred@mail.imc.org  Tue Dec 10 14:31:08 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA18527
	for <sacred-archive@lists.ietf.org>; Tue, 10 Dec 2002 14:31:08 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBAJR5l20222
	for ietf-sacred-bks; Tue, 10 Dec 2002 11:27:05 -0800 (PST)
Received: from rembrandt.esys.ca (IDENT:root@rembrandt.esys.ca [198.161.92.131])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBAJR3E20210
	for <ietf-sacred@imc.org>; Tue, 10 Dec 2002 11:27:03 -0800 (PST)
Received: from messagingdirect.com (natchern.atom.ru [194.67.244.30])
	(authenticated)
	by rembrandt.esys.ca (8.11.0.Beta0/8.11.0.Beta0) with ESMTP id gBAJSku18138;
	Tue, 10 Dec 2002 12:28:47 -0700
Message-ID: <3DF63FE5.A6C94A0F@messagingdirect.com>
Date: Tue, 10 Dec 2002 22:26:29 +0300
From: Alexey Melnikov <mel@messagingdirect.com>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Nystrom, Magnus" <magnus@rsasecurity.com>
CC: ietf-sacred@imc.org
Subject: Re: Draft meeting minutes from the 55th IETF
References: <Pine.WNT.4.44.0211251036040.1144-100000@mnystrom-lap>
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>
Content-Transfer-Encoding: 7bit


"Nystrom, Magnus" wrote:

> Well, since we do not lock the credential at the server we will have a
> race condition regardless of whether we have an UploadResponse or not. It
> would be possible to add a flag to the download "download for
> modification" and then don't allow any other "modification downloads"
> until an upload happens, but I see several other problems with this
> approach (e.g. what happens if an upload does not happen?)

No, I wasn't recommending this.

> and I can't see
> a pressing problem here since credential modifications will be quite rare
> and why would a user need to do them simulatenously from more than one
> client?
>
> To get the fresh timestamp after a successful upload clients will have to
> do a new download after the modification too, yes. That is the consequence
> of not having the UploadResponse message.

Download *after* upload makes more sense than *before* upload, for the reason
you gave.

> -- Magnus
>
> On Thu, 21 Nov 2002, Alexey Melnikov wrote:
>
> > "Nystrom, Magnus" wrote:
> >
> > > -Upload response: Agreement not to make use of an UploadResponse
> > >  message, but retain current text requiring clients to download (to
> > >  ensure a fresh copy) before modifying.
> >
> > But this is a race condition? (unless you've meant "after modifying").

Cheers,
Alexey Melnikov
__________________________________________
R & D, ACI Worldwide/MessagingDirect
Watford, UK

Work Phone: +44 1923 81 2877
Home Page: http://orthanc.ab.ca/mel

I speak for myself only, not for my employer.
__________________________________________




From owner-ietf-sacred@mail.imc.org  Wed Dec 11 04:38:28 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA29662
	for <sacred-archive@lists.ietf.org>; Wed, 11 Dec 2002 04:38:27 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBB9ZLg02855
	for ietf-sacred-bks; Wed, 11 Dec 2002 01:35:21 -0800 (PST)
Received: from vulcan.rsasecurity.com (mail.rsasecurity.com [204.167.114.123])
	by above.proper.com (8.11.6/8.11.3) with SMTP id gBB9ZIE02847
	for <ietf-sacred@imc.org>; Wed, 11 Dec 2002 01:35:19 -0800 (PST)
Received: from no.name.available by vulcan.rsasecurity.com
          via smtpd (for mail.imc.org [208.184.76.43]) with SMTP; 11 Dec 2002 09:35:19 UT
Received: from ebola.securitydynamics.com (ebola.securid.com [192.80.211.4])
	by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id EAA00928
	for <ietf-sacred@imc.org>; Wed, 11 Dec 2002 04:35:17 -0500 (EST)
Received: from exrsa01.rsa.com (localhost [127.0.0.1])
	by ebola.securitydynamics.com (8.10.2+Sun/8.10.2) with ESMTP id gBB9WMi29525
	for <ietf-sacred@imc.org>; Wed, 11 Dec 2002 04:32:22 -0500 (EST)
Received: by exrsa01.rsa.com with Internet Mail Service (5.5.2653.19)
	id <WY8DCXT0>; Wed, 11 Dec 2002 01:35:15 -0800
Received: from malibu.rsa.com ([10.81.217.76]) by exrsa01.rsa.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id WY8DCXT9; Wed, 11 Dec 2002 01:35:13 -0800
From: "Nystrom, Magnus" <mnystrom@rsasecurity.com>
To: Alexey Melnikov <mel@messagingdirect.com>
Cc: ietf-sacred@imc.org
Date: Wed, 11 Dec 2002 01:35:13 -0800 (PST)
X-X-Sender: magnus@malibu.rsa.com
Subject: Re: Draft meeting minutes from the 55th IETF
In-Reply-To: <3DF63FE5.A6C94A0F@messagingdirect.com>
Message-ID: <20021211012714.X55356-100000@malibu.rsa.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>


On Tue, 10 Dec 2002, Alexey Melnikov wrote:

[...]

> Download *after* upload makes more sense than *before* upload, for the
> reason you gave.

Well, the problem (vis-a-vis the server) only occurs when you try to
upload a credential which is outdated (from the server's point of view).
Therefore you should do a download before you start to modify, to ensure
(to some degree) a fresh copy. After the upload, you don't need to do a
new download (to get a fresh timpestamp) until you are about to modify
again (to solve this problem).

-- Magnus
>
> > -- Magnus
> >
> > On Thu, 21 Nov 2002, Alexey Melnikov wrote:
> >
> > > "Nystrom, Magnus" wrote:
> > >
> > > > -Upload response: Agreement not to make use of an UploadResponse
> > > >  message, but retain current text requiring clients to download (to
> > > >  ensure a fresh copy) before modifying.
> > >
> > > But this is a race condition? (unless you've meant "after modifying").
>
> Cheers,
> Alexey Melnikov
> __________________________________________
> R & D, ACI Worldwide/MessagingDirect
> Watford, UK
>
> Work Phone: +44 1923 81 2877
> Home Page: http://orthanc.ab.ca/mel
>
> I speak for myself only, not for my employer.
> __________________________________________
>
>



From owner-ietf-sacred@mail.imc.org  Tue Dec 17 08:10:09 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA13162
	for <sacred-archive@lists.ietf.org>; Tue, 17 Dec 2002 08:10:08 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBHD8hk14177
	for ietf-sacred-bks; Tue, 17 Dec 2002 05:08:43 -0800 (PST)
Received: from tholian.rsasecurity.com (tholian.securitydynamics.com [204.167.114.129])
	by above.proper.com (8.11.6/8.11.3) with SMTP id gBHD8go14172
	for <ietf-sacred@imc.org>; Tue, 17 Dec 2002 05:08:42 -0800 (PST)
Received: from no.name.available by tholian.rsasecurity.com
          via smtpd (for mail.imc.org [208.184.76.43]) with SMTP; 17 Dec 2002 13:08:43 UT
Received: from ebola.securitydynamics.com (ebola.securid.com [192.80.211.4])
	by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id IAA01526
	for <ietf-sacred@imc.org>; Tue, 17 Dec 2002 08:08:42 -0500 (EST)
Received: from exuk01.securid.com (localhost [127.0.0.1])
	by ebola.securitydynamics.com (8.10.2+Sun/8.10.2) with ESMTP id gBHD5iK03016
	for <ietf-sacred@imc.org>; Tue, 17 Dec 2002 08:05:45 -0500 (EST)
Received: by exuk01 with Internet Mail Service (5.5.2653.19)
	id <YYASFBZ8>; Tue, 17 Dec 2002 13:13:08 -0000
Message-ID: <418A63CAEBF2D4118A1A00508BB1A0B8021931C1@exuk01>
From: "Richards, Gareth" <GRichards@rsasecurity.com>
To: ietf-sacred@imc.org
Subject: Credential DELETE Operation
Date: Tue, 17 Dec 2002 13:12:59 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>



In the current ID, credentials are deleted using the UploadRequest.  

According to section 2.2.1:

a) If the UploadRequest contains no Credential and the UploadRequest
contains a "Delete="yes"" attribute, then the all the credentials associated
with that account are deleted. 

b) If the new credential from the UploadRequest contains no PayLoad field
and the new credential has a "Delete="yes"" attribute, then the (one and
only) "matching" credential is deleted. 

One minor point is that in the current schema the Payload is not an optional
element in the CredentialType and this appears to be required to allow the
second delete to occur.  

However, it may be simpler to implement the DELETE operation described in
Section 3.3 of the framework document with a separate DeleteRequest rather
than overloading the UploadRequest in the way described.  One possibility
would be for the DeleteRequest PDU to be either empty or contain an
CredentialSelector and optional LastModified.  If it is empty then it is a
request to delete all credential otherwise it is a request to delete a
specific credential.

This would have a number of advantages:

1) There would be no need to have a Delete attribute in the CredentialType.

2) There would be no need to have an optional Payload since the only time a
Credential can meaningfully not contain a Payload is if the Delete attribute
is set to "yes" and it is contained in an UploadRequest.

3) The UploadRequest PDU could be simplified by removing the Delete
attribute and making the Credential mandatory.  

4) The conditions on the use UploadRequest given in section 2.2.1 would be
simplified.



From owner-ietf-sacred@mail.imc.org  Tue Dec 17 12:25:18 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA18162
	for <sacred-archive@lists.ietf.org>; Tue, 17 Dec 2002 12:25:17 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBHHNuO03095
	for ietf-sacred-bks; Tue, 17 Dec 2002 09:23:56 -0800 (PST)
Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBHHNto03090
	for <ietf-sacred@imc.org>; Tue, 17 Dec 2002 09:23:55 -0800 (PST)
Received: from attbi.com (c-66-41-28-164.mn.client2.attbi.com[66.41.28.164])
          by rwcrmhc51.attbi.com (rwcrmhc51) with SMTP
          id <200212171723360510065ahoe>; Tue, 17 Dec 2002 17:23:37 +0000
Message-ID: <3DFF5E06.5040201@attbi.com>
Date: Tue, 17 Dec 2002 11:25:26 -0600
From: Dale Gustafson <degustafson@attbi.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Richards, Gareth" <GRichards@rsasecurity.com>
CC: ietf-sacred@imc.org
Subject: Re: Credential DELETE Operation
References: <418A63CAEBF2D4118A1A00508BB1A0B8021931C1@exuk01>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>
Content-Transfer-Encoding: 7bit


  Hi Gareth,

I agree -- there appears to be little advantage to overloading the 
UPLOAD operation as currently described.

Beyond that, it's important to limit the possibility of unintended 
DELETE-ALL operations since recovering from that type of error would 
likely be painful.

That could be done with a command modifier.  Alternatively, it might be 
simpler to reserve a credential name that always means "all credentials" 
and use that to specify DOWNLOAD-ALL and DELETE-ALL operations.

Regards,

Dale Gustafson


Richards, Gareth wrote:

>In the current ID, credentials are deleted using the UploadRequest.  
>
>According to section 2.2.1:
>
>a) If the UploadRequest contains no Credential and the UploadRequest
>contains a "Delete="yes"" attribute, then the all the credentials associated
>with that account are deleted. 
>
>b) If the new credential from the UploadRequest contains no PayLoad field
>and the new credential has a "Delete="yes"" attribute, then the (one and
>only) "matching" credential is deleted. 
>
>One minor point is that in the current schema the Payload is not an optional
>element in the CredentialType and this appears to be required to allow the
>second delete to occur.  
>
>However, it may be simpler to implement the DELETE operation described in
>Section 3.3 of the framework document with a separate DeleteRequest rather
>than overloading the UploadRequest in the way described.  One possibility
>would be for the DeleteRequest PDU to be either empty or contain an
>CredentialSelector and optional LastModified.  If it is empty then it is a
>request to delete all credential otherwise it is a request to delete a
>specific credential.
>
>This would have a number of advantages:
>
>1) There would be no need to have a Delete attribute in the CredentialType.
>
>2) There would be no need to have an optional Payload since the only time a
>Credential can meaningfully not contain a Payload is if the Delete attribute
>is set to "yes" and it is contained in an UploadRequest.
>
>3) The UploadRequest PDU could be simplified by removing the Delete
>attribute and making the Credential mandatory.  
>
>4) The conditions on the use UploadRequest given in section 2.2.1 would be
>simplified.
>
>
>  
>




From owner-ietf-sacred@mail.imc.org  Thu Dec 19 07:16:32 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA14891
	for <sacred-archive@lists.ietf.org>; Thu, 19 Dec 2002 07:16:31 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBJCEUB26855
	for ietf-sacred-bks; Thu, 19 Dec 2002 04:14:30 -0800 (PST)
Received: from ocasey.baltimore.com (ocasey.baltimore.com [193.41.17.101])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJCESo26850
	for <ietf-sacred@imc.org>; Thu, 19 Dec 2002 04:14:28 -0800 (PST)
Received: from Baltimore-FW1 ([172.19.1.1])
	by ocasey.baltimore.com (8.11.6/8.9.3) with SMTP id gBJC8IU26487
	for <ietf-sacred@imc.org>; Thu, 19 Dec 2002 12:08:18 GMT
Received: from  ([10.153.25.53]) by Baltimore-FW1; Thu, 19 Dec 2002 12:11:23 +0000 (GMT)
Received: from Baltimore-FW1 (wilde-i-1.ie.baltimore.com) by emeairlsw1.baltimore.com
 (Content Technologies SMTPRS 4.2.5) with SMTP id <T5f43186f700a9919350b3@emeairlsw1.baltimore.com> for <ietf-sacred@imc.org>;
 Thu, 19 Dec 2002 12:06:08 +0000
Received: from  ([10.153.25.10]) by Baltimore-FW1; Thu, 19 Dec 2002 12:11:21 +0000 (GMT)
Received: from baltimore.ie (wks166-4.ie.baltimore.com [10.153.4.166])
	by bobcat.baltimore.ie (8.9.3/8.9.3) with ESMTP id MAA10422;
	Thu, 19 Dec 2002 12:14:18 GMT
Message-ID: <3E01B869.74F7FC3A@baltimore.ie>
Date: Thu, 19 Dec 2002 12:15:37 +0000
From: Stephen Farrell <stephen.farrell@baltimore.ie>
Reply-To: stephen.farrell@baltimore.ie
Organization: Baltimore Technologies Ltd.
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: "Richards, Gareth" <GRichards@rsasecurity.com>
CC: ietf-sacred@imc.org
Subject: Re: Credential DELETE Operation
References: <418A63CAEBF2D4118A1A00508BB1A0B8021931C1@exuk01>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>
Content-Transfer-Encoding: 7bit



Gareth,

I do have some sympathy with this approach, but its somewhat late
in the day (for this rev of the I-D) to be making such a bigish 
change given that we do have a working protocol (I don't think 
you're saying it doesn't work as is) and don't have text for 
the suggested change.

So I'd be against making this change right now.

During the last-call of the protocol draft (next rev hopefully today!) 
you can of course suggest this change *with specific text* that implements 
it (and I'd suggest waiting to base your text on the -05 I-D).

At that stage we can take it on board or not, depending on the usual
things...

Is that ok?

Stephen.

"Richards, Gareth" wrote:
> 
> In the current ID, credentials are deleted using the UploadRequest.
> 
> According to section 2.2.1:
> 
> a) If the UploadRequest contains no Credential and the UploadRequest
> contains a "Delete="yes"" attribute, then the all the credentials associated
> with that account are deleted.
> 
> b) If the new credential from the UploadRequest contains no PayLoad field
> and the new credential has a "Delete="yes"" attribute, then the (one and
> only) "matching" credential is deleted.
> 
> One minor point is that in the current schema the Payload is not an optional
> element in the CredentialType and this appears to be required to allow the
> second delete to occur.
> 
> However, it may be simpler to implement the DELETE operation described in
> Section 3.3 of the framework document with a separate DeleteRequest rather
> than overloading the UploadRequest in the way described.  One possibility
> would be for the DeleteRequest PDU to be either empty or contain an
> CredentialSelector and optional LastModified.  If it is empty then it is a
> request to delete all credential otherwise it is a request to delete a
> specific credential.
> 
> This would have a number of advantages:
> 
> 1) There would be no need to have a Delete attribute in the CredentialType.
> 
> 2) There would be no need to have an optional Payload since the only time a
> Credential can meaningfully not contain a Payload is if the Delete attribute
> is set to "yes" and it is contained in an UploadRequest.
> 
> 3) The UploadRequest PDU could be simplified by removing the Delete
> attribute and making the Credential mandatory.
> 
> 4) The conditions on the use UploadRequest given in section 2.2.1 would be
> simplified.

-- 
____________________________________________________________
Stephen Farrell         				   
Baltimore Technologies,   tel: (direct line) +353 1 881 6716
39 Parkgate Street,                     fax: +353 1 881 7000
Dublin 8.                mailto:stephen.farrell@baltimore.ie
Ireland                             http://www.baltimore.com


From owner-ietf-sacred@mail.imc.org  Thu Dec 19 08:14:38 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA15584
	for <sacred-archive@lists.ietf.org>; Thu, 19 Dec 2002 08:14:37 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBJDClP02197
	for ietf-sacred-bks; Thu, 19 Dec 2002 05:12:47 -0800 (PST)
Received: from ocasey.baltimore.com (ocasey.baltimore.com [193.41.17.101])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJDCgo02184
	for <ietf-sacred@imc.org>; Thu, 19 Dec 2002 05:12:43 -0800 (PST)
Received: from Baltimore-FW1 ([172.19.1.1])
	by ocasey.baltimore.com (8.11.6/8.9.3) with SMTP id gBJD6dU28286
	for <ietf-sacred@imc.org>; Thu, 19 Dec 2002 13:06:39 GMT
Received: from  ([10.153.25.53]) by Baltimore-FW1; Thu, 19 Dec 2002 13:09:45 +0000 (GMT)
Received: from Baltimore-FW1 (wilde-i-1.ie.baltimore.com) by emeairlsw1.baltimore.com
 (Content Technologies SMTPRS 4.2.5) with SMTP id <T5f434ddbe40a9919350b3@emeairlsw1.baltimore.com> for <ietf-sacred@imc.org>;
 Thu, 19 Dec 2002 13:04:29 +0000
Received: from  ([10.153.25.10]) by Baltimore-FW1; Thu, 19 Dec 2002 13:09:42 +0000 (GMT)
Received: from baltimore.ie (wks166-4.ie.baltimore.com [10.153.4.166])
	by bobcat.baltimore.ie (8.9.3/8.9.3) with ESMTP id NAA11337;
	Thu, 19 Dec 2002 13:12:38 GMT
Message-ID: <3E01C615.8B514C88@baltimore.ie>
Date: Thu, 19 Dec 2002 13:13:57 +0000
From: Stephen Farrell <stephen.farrell@baltimore.ie>
Reply-To: stephen.farrell@baltimore.ie
Organization: Baltimore Technologies Ltd.
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Dale Gustafson <degustafson@attbi.com>, ietf-sacred@imc.org
CC: "Nystrom, Magnus" <magnus@rsasecurity.com>
Subject: Re: Compound authentication "issue"
References: <Pine.WNT.4.44.0212051838120.1572-100000@mnystrom-lap> <3DEFCB3F.3050304@attbi.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>
Content-Transfer-Encoding: 7bit



I'm trying to figure out what text we need from this thread.
My current guess is that I ought add the following to the 
security considerations:

"Various operations in the SACRED protocol depend upon server authentication 
being provided by server authenticated TLS. SACRED clients SHOULD take care 
that the correct server is at the far end of the TLS "pipe" by performing the 
checks which are listed in section 3.1 of RFC2818 [RFC2818]. Clients SHOULD 
also include the optional BEEP serverName field in their "start" message 
and SHOULD then ensure that the BEEP serverName is consistent with the checks 
on the TLS server described in RFC2818. Failure to carry out these checks 
could allow a spoof server access a user's credential.

If the SACRED account password were to be used in some other, less secure 
protocol using DIGEST-MD5, then it might appear to be the case that a 
man-in-the-middle (MITM) attack could be mounted. However, this is not 
the case since the DIGEST-MD5 client hash includes a client-selected 
"digest-uri-value" which in SACRED's case will be  "sacred/<serverName>". In 
a MITM attack, those values will be something else. A MITM attack as 
described is therefore thwarted because digest-uri-value wouldn't match 
what the SACRED server is expecting."

I've also changed the example in appendix B so it includes the 
severName attribute and therefore (partly) reads:

I: MSG 0 1 . 52 158
I: Content-Type: application/beep+xml
I: 
I: <start number='1' serverName="sacred.example.org">
I:    <profile uri='http://iana.org/beep/TLS'>
I:        <![CDATA[<ready />]]>]]&gt;<![CDATA[
I:    </profile>
I: </start>
I: END

And finally, I added RFC2818 as an informational reference (on the
somewhat dubious basis that its an informational RFC and a standards
track RFC oughtn't reference such a beastie as normative). This is
something the IESG might hit us over the head with later on.

Since I hope to submit the -05 version today, I'd love to get comments
on this, and hopefully before 4pm GMT!

Cheers,
Stephen.

-- 
____________________________________________________________
Stephen Farrell         				   
Baltimore Technologies,   tel: (direct line) +353 1 881 6716
39 Parkgate Street,                     fax: +353 1 881 7000
Dublin 8.                mailto:stephen.farrell@baltimore.ie
Ireland                             http://www.baltimore.com


From owner-ietf-sacred@mail.imc.org  Thu Dec 19 09:10:06 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA16452
	for <sacred-archive@lists.ietf.org>; Thu, 19 Dec 2002 09:10:05 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBJE99806391
	for ietf-sacred-bks; Thu, 19 Dec 2002 06:09:09 -0800 (PST)
Received: from tholian.rsasecurity.com (tholian.securitydynamics.com [204.167.114.129])
	by above.proper.com (8.11.6/8.11.3) with SMTP id gBJE98o06386
	for <ietf-sacred@imc.org>; Thu, 19 Dec 2002 06:09:08 -0800 (PST)
Received: from no.name.available by tholian.rsasecurity.com
          via smtpd (for mail.imc.org [208.184.76.43]) with SMTP; 19 Dec 2002 14:09:09 UT
Received: from ebola.securitydynamics.com (ebola.securid.com [192.80.211.4])
	by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id JAA06526;
	Thu, 19 Dec 2002 09:09:08 -0500 (EST)
Received: from exuk01.securid.com (localhost [127.0.0.1])
	by ebola.securitydynamics.com (8.10.2+Sun/8.10.2) with ESMTP id gBJE6AD08646;
	Thu, 19 Dec 2002 09:06:10 -0500 (EST)
Received: by exuk01 with Internet Mail Service (5.5.2653.19)
	id <YYASFD2N>; Thu, 19 Dec 2002 14:13:36 -0000
Message-ID: <418A63CAEBF2D4118A1A00508BB1A0B8021931D4@exuk01>
From: "Richards, Gareth" <GRichards@rsasecurity.com>
To: "'stephen.farrell@baltimore.ie'" <stephen.farrell@baltimore.ie>
Cc: ietf-sacred@imc.org
Subject: RE: Credential DELETE Operation
Date: Thu, 19 Dec 2002 14:13:34 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>


Stephen,

OK, I accept that it is too late for this update to introduce a new request
type.  

However, there is the problem with the schema which I believe prevents the
current protocol from working and so I think it needs to be changed.  

The current definition of CredentialType is

      <complexType name="CredentialType"> 
      <sequence> 
       <element name="CredentialSelector" type="string"/> 
       <element name="LastModified" type="dateTime"/> 
       <element name="Payload" type="ds:KeyInfoType"/> 
       <element name="TimeToLive" type="string" minOccurs="0"/> 
       <element ref="sacred:ProcessInfo" minOccurs="0"/> 
       <element ref="sacred:ClientInfo" minOccurs="0"/> 
      </sequence> 
      <attribute name="Delete" type="string" use="optional"/> 
     </complexType> 

This does not allow a Credential to not have a Payload as required in an
UploadRequest to delete the named credentials.  

I think that it needs to be changed to

     <complexType name="CredentialType"> 
      <sequence> 
       <element name="CredentialSelector" type="string"/> 
       <element name="LastModified" type="dateTime" /> 
       <element name="Payload" type="ds:KeyInfoType" minOccurs="0"/> 
       <element name="TimeToLive" type="string" minOccurs="0"/> 
       <element ref="sacred:ProcessInfo" minOccurs="0"/> 
       <element ref="sacred:ClientInfo" minOccurs="0"/> 
      </sequence> 
      <attribute name="Delete" type="string" use="optional"/> 
     </complexType> 

This would only require the CredentialSelector and LastModified.
> -----Original Message-----
> From: Stephen Farrell [mailto:stephen.farrell@baltimore.ie]
> Sent: 19 December 2002 12:16
> To: Richards, Gareth
> Cc: ietf-sacred@imc.org
> Subject: Re: Credential DELETE Operation
> 
> 
> 
> Gareth,
> 
> I do have some sympathy with this approach, but its somewhat late
> in the day (for this rev of the I-D) to be making such a bigish 
> change given that we do have a working protocol (I don't think 
> you're saying it doesn't work as is) and don't have text for 
> the suggested change.
> 
> So I'd be against making this change right now.
> 
> During the last-call of the protocol draft (next rev 
> hopefully today!) 
> you can of course suggest this change *with specific text* 
> that implements 
> it (and I'd suggest waiting to base your text on the -05 I-D).
> 
> At that stage we can take it on board or not, depending on the usual
> things...
> 
> Is that ok?
> 
> Stephen.
> 
> "Richards, Gareth" wrote:
> > 
> > In the current ID, credentials are deleted using the UploadRequest.
> > 
> > According to section 2.2.1:
> > 
> > a) If the UploadRequest contains no Credential and the UploadRequest
> > contains a "Delete="yes"" attribute, then the all the 
> credentials associated
> > with that account are deleted.
> > 
> > b) If the new credential from the UploadRequest contains no 
> PayLoad field
> > and the new credential has a "Delete="yes"" attribute, then 
> the (one and
> > only) "matching" credential is deleted.
> > 
> > One minor point is that in the current schema the Payload 
> is not an optional
> > element in the CredentialType and this appears to be 
> required to allow the
> > second delete to occur.
> > 
> > However, it may be simpler to implement the DELETE 
> operation described in
> > Section 3.3 of the framework document with a separate 
> DeleteRequest rather
> > than overloading the UploadRequest in the way described.  
> One possibility
> > would be for the DeleteRequest PDU to be either empty or contain an
> > CredentialSelector and optional LastModified.  If it is 
> empty then it is a
> > request to delete all credential otherwise it is a request 
> to delete a
> > specific credential.
> > 
> > This would have a number of advantages:
> > 
> > 1) There would be no need to have a Delete attribute in the 
> CredentialType.
> > 
> > 2) There would be no need to have an optional Payload since 
> the only time a
> > Credential can meaningfully not contain a Payload is if the 
> Delete attribute
> > is set to "yes" and it is contained in an UploadRequest.
> > 
> > 3) The UploadRequest PDU could be simplified by removing the Delete
> > attribute and making the Credential mandatory.
> > 
> > 4) The conditions on the use UploadRequest given in section 
> 2.2.1 would be
> > simplified.
> 
> -- 
> ____________________________________________________________
> Stephen Farrell         				   
> Baltimore Technologies,   tel: (direct line) +353 1 881 6716
> 39 Parkgate Street,                     fax: +353 1 881 7000
> Dublin 8.                mailto:stephen.farrell@baltimore.ie
> Ireland                             http://www.baltimore.com
> 


From owner-ietf-sacred@mail.imc.org  Thu Dec 19 10:03:15 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA17460
	for <sacred-archive@lists.ietf.org>; Thu, 19 Dec 2002 10:03:14 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBJF1Oi11240
	for ietf-sacred-bks; Thu, 19 Dec 2002 07:01:24 -0800 (PST)
Received: from ocasey.baltimore.com (ocasey.baltimore.com [193.41.17.101])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJF1Mo11230
	for <ietf-sacred@imc.org>; Thu, 19 Dec 2002 07:01:22 -0800 (PST)
Received: from Baltimore-FW1 ([172.19.1.1])
	by ocasey.baltimore.com (8.11.6/8.9.3) with SMTP id gBJEtIU32124
	for <ietf-sacred@imc.org>; Thu, 19 Dec 2002 14:55:18 GMT
Received: from  ([10.153.25.53]) by Baltimore-FW1; Thu, 19 Dec 2002 14:58:24 +0000 (GMT)
Received: from Baltimore-FW1 (wilde-i-1.ie.baltimore.com) by emeairlsw1.baltimore.com
 (Content Technologies SMTPRS 4.2.5) with SMTP id <T5f43b1574c0a9919350b3@emeairlsw1.baltimore.com> for <ietf-sacred@imc.org>;
 Thu, 19 Dec 2002 14:53:08 +0000
Received: from  ([10.153.25.10]) by Baltimore-FW1; Thu, 19 Dec 2002 14:58:22 +0000 (GMT)
Received: from baltimore.ie (wks166-4.ie.baltimore.com [10.153.4.166])
	by bobcat.baltimore.ie (8.9.3/8.9.3) with ESMTP id PAA13008;
	Thu, 19 Dec 2002 15:01:19 GMT
Message-ID: <3E01DF8E.24FC9946@baltimore.ie>
Date: Thu, 19 Dec 2002 15:02:38 +0000
From: Stephen Farrell <stephen.farrell@baltimore.ie>
Reply-To: stephen.farrell@baltimore.ie
Organization: Baltimore Technologies Ltd.
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: "Richards, Gareth" <GRichards@rsasecurity.com>
CC: ietf-sacred@imc.org
Subject: Re: Credential DELETE Operation
References: <418A63CAEBF2D4118A1A00508BB1A0B8021931D4@exuk01>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>
Content-Transfer-Encoding: 7bit



Done. Thanks.

Stephen.

"Richards, Gareth" wrote:
> 
> Stephen,
> 
> OK, I accept that it is too late for this update to introduce a new request
> type.
> 
> However, there is the problem with the schema which I believe prevents the
> current protocol from working and so I think it needs to be changed.
> 
> The current definition of CredentialType is
> 
>       <complexType name="CredentialType">
>       <sequence>
>        <element name="CredentialSelector" type="string"/>
>        <element name="LastModified" type="dateTime"/>
>        <element name="Payload" type="ds:KeyInfoType"/>
>        <element name="TimeToLive" type="string" minOccurs="0"/>
>        <element ref="sacred:ProcessInfo" minOccurs="0"/>
>        <element ref="sacred:ClientInfo" minOccurs="0"/>
>       </sequence>
>       <attribute name="Delete" type="string" use="optional"/>
>      </complexType>
> 
> This does not allow a Credential to not have a Payload as required in an
> UploadRequest to delete the named credentials.
> 
> I think that it needs to be changed to
> 
>      <complexType name="CredentialType">
>       <sequence>
>        <element name="CredentialSelector" type="string"/>
>        <element name="LastModified" type="dateTime" />
>        <element name="Payload" type="ds:KeyInfoType" minOccurs="0"/>
>        <element name="TimeToLive" type="string" minOccurs="0"/>
>        <element ref="sacred:ProcessInfo" minOccurs="0"/>
>        <element ref="sacred:ClientInfo" minOccurs="0"/>
>       </sequence>
>       <attribute name="Delete" type="string" use="optional"/>
>      </complexType>
> 
> This would only require the CredentialSelector and LastModified.
> > -----Original Message-----
> > From: Stephen Farrell [mailto:stephen.farrell@baltimore.ie]
> > Sent: 19 December 2002 12:16
> > To: Richards, Gareth
> > Cc: ietf-sacred@imc.org
> > Subject: Re: Credential DELETE Operation
> >
> >
> >
> > Gareth,
> >
> > I do have some sympathy with this approach, but its somewhat late
> > in the day (for this rev of the I-D) to be making such a bigish
> > change given that we do have a working protocol (I don't think
> > you're saying it doesn't work as is) and don't have text for
> > the suggested change.
> >
> > So I'd be against making this change right now.
> >
> > During the last-call of the protocol draft (next rev
> > hopefully today!)
> > you can of course suggest this change *with specific text*
> > that implements
> > it (and I'd suggest waiting to base your text on the -05 I-D).
> >
> > At that stage we can take it on board or not, depending on the usual
> > things...
> >
> > Is that ok?
> >
> > Stephen.
> >
> > "Richards, Gareth" wrote:
> > >
> > > In the current ID, credentials are deleted using the UploadRequest.
> > >
> > > According to section 2.2.1:
> > >
> > > a) If the UploadRequest contains no Credential and the UploadRequest
> > > contains a "Delete="yes"" attribute, then the all the
> > credentials associated
> > > with that account are deleted.
> > >
> > > b) If the new credential from the UploadRequest contains no
> > PayLoad field
> > > and the new credential has a "Delete="yes"" attribute, then
> > the (one and
> > > only) "matching" credential is deleted.
> > >
> > > One minor point is that in the current schema the Payload
> > is not an optional
> > > element in the CredentialType and this appears to be
> > required to allow the
> > > second delete to occur.
> > >
> > > However, it may be simpler to implement the DELETE
> > operation described in
> > > Section 3.3 of the framework document with a separate
> > DeleteRequest rather
> > > than overloading the UploadRequest in the way described.
> > One possibility
> > > would be for the DeleteRequest PDU to be either empty or contain an
> > > CredentialSelector and optional LastModified.  If it is
> > empty then it is a
> > > request to delete all credential otherwise it is a request
> > to delete a
> > > specific credential.
> > >
> > > This would have a number of advantages:
> > >
> > > 1) There would be no need to have a Delete attribute in the
> > CredentialType.
> > >
> > > 2) There would be no need to have an optional Payload since
> > the only time a
> > > Credential can meaningfully not contain a Payload is if the
> > Delete attribute
> > > is set to "yes" and it is contained in an UploadRequest.
> > >
> > > 3) The UploadRequest PDU could be simplified by removing the Delete
> > > attribute and making the Credential mandatory.
> > >
> > > 4) The conditions on the use UploadRequest given in section
> > 2.2.1 would be
> > > simplified.
> >
> > --
> > ____________________________________________________________
> > Stephen Farrell
> > Baltimore Technologies,   tel: (direct line) +353 1 881 6716
> > 39 Parkgate Street,                     fax: +353 1 881 7000
> > Dublin 8.                mailto:stephen.farrell@baltimore.ie
> > Ireland                             http://www.baltimore.com
> >

-- 
____________________________________________________________
Stephen Farrell         				   
Baltimore Technologies,   tel: (direct line) +353 1 881 6716
39 Parkgate Street,                     fax: +353 1 881 7000
Dublin 8.                mailto:stephen.farrell@baltimore.ie
Ireland                             http://www.baltimore.com


From owner-ietf-sacred@mail.imc.org  Thu Dec 19 12:50:15 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA21401
	for <sacred-archive@lists.ietf.org>; Thu, 19 Dec 2002 12:50:14 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBJHnoI24266
	for ietf-sacred-bks; Thu, 19 Dec 2002 09:49:50 -0800 (PST)
Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJHnjo24252
	for <ietf-sacred@imc.org>; Thu, 19 Dec 2002 09:49:45 -0800 (PST)
Received: from attbi.com (c-66-41-28-164.mn.client2.attbi.com[66.41.28.164])
          by rwcrmhc51.attbi.com (rwcrmhc51) with SMTP
          id <20021219174942051006l050e>; Thu, 19 Dec 2002 17:49:42 +0000
Message-ID: <3E020728.775254CE@attbi.com>
Date: Thu, 19 Dec 2002 11:51:36 -0600
From: Dale Gustafson <degustafson@attbi.com>
X-Mailer: Mozilla 4.78 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: stephen.farrell@baltimore.ie
CC: ietf-sacred@imc.org, "Nystrom, Magnus" <magnus@rsasecurity.com>
Subject: Re: Compound authentication "issue"
References: <Pine.WNT.4.44.0212051838120.1572-100000@mnystrom-lap> <3DEFCB3F.3050304@attbi.com> <3E01C615.8B514C88@baltimore.ie>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>
Content-Transfer-Encoding: 7bit


Hi Stephen,

I think your suggested text clarifies the potential risks adequately (as
written).

Beyond that, we should think more about tying the two security protocols (sTLS,
digest-MD5) together, assuming that makes sense from a technical perspective.  I
think Magnus' suggestion to link TLS "domain name" and digest-MD5 "realm name"
together should be looked at more closely. Perhaps others have a better solution.

The larger risk here is that the new combo-protocol offers little or no security
advantage over sTLS with user-id/password authentication which, if true, will
severely limit implementor enthusiasm.

Best Regards,

Dale Gustafson



Stephen Farrell wrote:

> I'm trying to figure out what text we need from this thread.
> My current guess is that I ought add the following to the
> security considerations:
>
> "Various operations in the SACRED protocol depend upon server authentication
> being provided by server authenticated TLS. SACRED clients SHOULD take care
> that the correct server is at the far end of the TLS "pipe" by performing the
> checks which are listed in section 3.1 of RFC2818 [RFC2818]. Clients SHOULD
> also include the optional BEEP serverName field in their "start" message
> and SHOULD then ensure that the BEEP serverName is consistent with the checks
> on the TLS server described in RFC2818. Failure to carry out these checks
> could allow a spoof server access a user's credential.
>
> If the SACRED account password were to be used in some other, less secure
> protocol using DIGEST-MD5, then it might appear to be the case that a
> man-in-the-middle (MITM) attack could be mounted. However, this is not
> the case since the DIGEST-MD5 client hash includes a client-selected
> "digest-uri-value" which in SACRED's case will be  "sacred/<serverName>". In
> a MITM attack, those values will be something else. A MITM attack as
> described is therefore thwarted because digest-uri-value wouldn't match
> what the SACRED server is expecting."
>
> I've also changed the example in appendix B so it includes the
> severName attribute and therefore (partly) reads:
>
> I: MSG 0 1 . 52 158
> I: Content-Type: application/beep+xml
> I:
> I: <start number='1' serverName="sacred.example.org">
> I:    <profile uri='http://iana.org/beep/TLS'>
> I:        <![CDATA[<ready />]]>]]&gt;<![CDATA[
> I:    </profile>
> I: </start>
> I: END
>
> And finally, I added RFC2818 as an informational reference (on the
> somewhat dubious basis that its an informational RFC and a standards
> track RFC oughtn't reference such a beastie as normative). This is
> something the IESG might hit us over the head with later on.
>
> Since I hope to submit the -05 version today, I'd love to get comments
> on this, and hopefully before 4pm GMT!
>
> Cheers,
> Stephen.
>
> --
> ____________________________________________________________
> Stephen Farrell
> Baltimore Technologies,   tel: (direct line) +353 1 881 6716
> 39 Parkgate Street,                     fax: +353 1 881 7000
> Dublin 8.                mailto:stephen.farrell@baltimore.ie
> Ireland                             http://www.baltimore.com



From owner-ietf-sacred@mail.imc.org  Thu Dec 19 13:11:01 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA21942
	for <sacred-archive@lists.ietf.org>; Thu, 19 Dec 2002 13:11:01 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBJI8Ub26883
	for ietf-sacred-bks; Thu, 19 Dec 2002 10:08:30 -0800 (PST)
Received: from ocasey.baltimore.com (ocasey.baltimore.com [193.41.17.101])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJI8Ro26875
	for <ietf-sacred@imc.org>; Thu, 19 Dec 2002 10:08:28 -0800 (PST)
Received: from Baltimore-FW1 ([172.19.1.1])
	by ocasey.baltimore.com (8.11.6/8.9.3) with SMTP id gBJI2OU07946
	for <ietf-sacred@imc.org>; Thu, 19 Dec 2002 18:02:24 GMT
Received: from  ([10.153.25.53]) by Baltimore-FW1; Thu, 19 Dec 2002 18:05:30 +0000 (GMT)
Received: from Baltimore-FW1 (wilde-i-1.ie.baltimore.com) by emeairlsw1.baltimore.com
 (Content Technologies SMTPRS 4.2.5) with SMTP id <T5f445ca3690a9919350b3@emeairlsw1.baltimore.com> for <ietf-sacred@imc.org>;
 Thu, 19 Dec 2002 18:00:15 +0000
Received: from  ([10.153.25.10]) by Baltimore-FW1; Thu, 19 Dec 2002 18:05:28 +0000 (GMT)
Received: from baltimore.ie (wks166-4.ie.baltimore.com [10.153.4.166])
	by bobcat.baltimore.ie (8.9.3/8.9.3) with ESMTP id SAA16679;
	Thu, 19 Dec 2002 18:08:25 GMT
Message-ID: <3E020B67.A8E40841@baltimore.ie>
Date: Thu, 19 Dec 2002 18:09:43 +0000
From: Stephen Farrell <stephen.farrell@baltimore.ie>
Reply-To: stephen.farrell@baltimore.ie
Organization: Baltimore Technologies Ltd.
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Dale Gustafson <degustafson@attbi.com>
CC: ietf-sacred@imc.org, "Nystrom, Magnus" <magnus@rsasecurity.com>
Subject: Re: Compound authentication "issue"
References: <Pine.WNT.4.44.0212051838120.1572-100000@mnystrom-lap> <3DEFCB3F.3050304@attbi.com> <3E01C615.8B514C88@baltimore.ie> <3E020728.775254CE@attbi.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>
Content-Transfer-Encoding: 7bit



Hi Dale,

I agree with all that you wrote, except for the "we" bit. I'm not 
at all sure that it'd be in our charter to develop any new mutual
authentication schemes, which is what I believe would be needed to
properly bind sTLS and DIGEST-MD5.

However, there will I believe be a new SASL WG which might want to
take on such things. I'm not sure.

Regards,
Stephen.

Dale Gustafson wrote:
> 
> Hi Stephen,
> 
> I think your suggested text clarifies the potential risks adequately (as
> written).
> 
> Beyond that, we should think more about tying the two security protocols (sTLS,
> digest-MD5) together, assuming that makes sense from a technical perspective.  I
> think Magnus' suggestion to link TLS "domain name" and digest-MD5 "realm name"
> together should be looked at more closely. Perhaps others have a better solution.
> 
> The larger risk here is that the new combo-protocol offers little or no security
> advantage over sTLS with user-id/password authentication which, if true, will
> severely limit implementor enthusiasm.
> 
> Best Regards,
> 
> Dale Gustafson
> 
> Stephen Farrell wrote:
> 
> > I'm trying to figure out what text we need from this thread.
> > My current guess is that I ought add the following to the
> > security considerations:
> >
> > "Various operations in the SACRED protocol depend upon server authentication
> > being provided by server authenticated TLS. SACRED clients SHOULD take care
> > that the correct server is at the far end of the TLS "pipe" by performing the
> > checks which are listed in section 3.1 of RFC2818 [RFC2818]. Clients SHOULD
> > also include the optional BEEP serverName field in their "start" message
> > and SHOULD then ensure that the BEEP serverName is consistent with the checks
> > on the TLS server described in RFC2818. Failure to carry out these checks
> > could allow a spoof server access a user's credential.
> >
> > If the SACRED account password were to be used in some other, less secure
> > protocol using DIGEST-MD5, then it might appear to be the case that a
> > man-in-the-middle (MITM) attack could be mounted. However, this is not
> > the case since the DIGEST-MD5 client hash includes a client-selected
> > "digest-uri-value" which in SACRED's case will be  "sacred/<serverName>". In
> > a MITM attack, those values will be something else. A MITM attack as
> > described is therefore thwarted because digest-uri-value wouldn't match
> > what the SACRED server is expecting."
> >
> > I've also changed the example in appendix B so it includes the
> > severName attribute and therefore (partly) reads:
> >
> > I: MSG 0 1 . 52 158
> > I: Content-Type: application/beep+xml
> > I:
> > I: <start number='1' serverName="sacred.example.org">
> > I:    <profile uri='http://iana.org/beep/TLS'>
> > I:        <![CDATA[<ready />]]>]]&gt;<![CDATA[
> > I:    </profile>
> > I: </start>
> > I: END
> >
> > And finally, I added RFC2818 as an informational reference (on the
> > somewhat dubious basis that its an informational RFC and a standards
> > track RFC oughtn't reference such a beastie as normative). This is
> > something the IESG might hit us over the head with later on.
> >
> > Since I hope to submit the -05 version today, I'd love to get comments
> > on this, and hopefully before 4pm GMT!
> >
> > Cheers,
> > Stephen.
> >
> > --
> > ____________________________________________________________
> > Stephen Farrell
> > Baltimore Technologies,   tel: (direct line) +353 1 881 6716
> > 39 Parkgate Street,                     fax: +353 1 881 7000
> > Dublin 8.                mailto:stephen.farrell@baltimore.ie
> > Ireland                             http://www.baltimore.com

-- 
____________________________________________________________
Stephen Farrell         				   
Baltimore Technologies,   tel: (direct line) +353 1 881 6716
39 Parkgate Street,                     fax: +353 1 881 7000
Dublin 8.                mailto:stephen.farrell@baltimore.ie
Ireland                             http://www.baltimore.com


From owner-ietf-sacred@mail.imc.org  Fri Dec 20 08:36:04 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA26944
	for <sacred-archive@lists.ietf.org>; Fri, 20 Dec 2002 08:36:04 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBKDZs809004
	for ietf-sacred-bks; Fri, 20 Dec 2002 05:35:54 -0800 (PST)
Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBKDZoo08991
	for <ietf-sacred@imc.org>; Fri, 20 Dec 2002 05:35:50 -0800 (PST)
Received: from attbi.com (c-66-41-28-164.mn.client2.attbi.com[66.41.28.164])
          by rwcrmhc53.attbi.com (rwcrmhc53) with SMTP
          id <2002122013354605300k6m0pe>; Fri, 20 Dec 2002 13:35:46 +0000
Message-ID: <3E031D27.5F0E97F9@attbi.com>
Date: Fri, 20 Dec 2002 07:37:43 -0600
From: Dale Gustafson <degustafson@attbi.com>
X-Mailer: Mozilla 4.78 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: stephen.farrell@baltimore.ie
CC: ietf-sacred@imc.org, "Nystrom, Magnus" <magnus@rsasecurity.com>
Subject: Re: Compound authentication "issue"
References: <Pine.WNT.4.44.0212051838120.1572-100000@mnystrom-lap> <3DEFCB3F.3050304@attbi.com> <3E01C615.8B514C88@baltimore.ie> <3E020728.775254CE@attbi.com> <3E020B67.A8E40841@baltimore.ie>
Content-Type: multipart/alternative;
 boundary="------------90FF6F098C393ADBE291A13E"
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>



--------------90FF6F098C393ADBE291A13E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi Stephen,


Stephen Farrell wrote:

> Hi Dale,
>
> I agree with all that you wrote, except for the "we" bit. I'm not
> at all sure that it'd be in our charter to develop any new mutual
> authentication schemes, which is what I believe would be needed to
> properly bind sTLS and DIGEST-MD5.

You may be right.

Here's another alternative:

SACRED clients will include a unique value received from the TLS server (e.g., during
session negotiation) within their digest-MD5 response.

For example, the TLS server's certID could be used to bind the client's digest-MD5
response to the connected TLS server and no others.  I believe the client's response is
now unusable with any other credential server:

client response = Hash ((Hash(A1)), { nonce-value, ":"nc-value, ":",
                           cnonce-value, ":", qop-value, ":", HEX(H(A2)) }))

where,

   A1 = Hash(user-name:realm:password):server-nonce:client-nonce

   A2 = AUTHENTICATE:digest-uri-value:HEX(TLS-server-certID)

Would that do it?



--------------90FF6F098C393ADBE291A13E
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<tt>Hi Stephen,</tt>
<br><tt></tt>&nbsp;<tt></tt>
<p><tt>Stephen Farrell wrote:</tt>
<blockquote TYPE=CITE><tt>Hi Dale,</tt><tt></tt>
<p><tt>I agree with all that you wrote, except for the "we" bit. I'm not</tt>
<br><tt>at all sure that it'd be in our charter to develop any new mutual</tt>
<br><tt>authentication schemes, which is what I believe would be needed
to</tt>
<br><tt>properly bind sTLS and DIGEST-MD5.</tt></blockquote>
<tt>You may be right.</tt><tt></tt>
<p><tt>Here's another alternative:</tt><tt></tt>
<p><tt>SACRED clients will include a unique value received from the TLS
server (e.g., during session negotiation) within their digest-MD5 response.</tt><tt></tt>
<p><tt>For example, the TLS server's certID could be used to bind the client's
digest-MD5 response to the connected TLS server and no others.&nbsp; I
believe the client's response is now unusable with any other credential
server:</tt><tt></tt>
<p><tt>client response = Hash ((Hash(A1)), { nonce-value, ":"nc-value,
":",</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
cnonce-value, ":", qop-value, ":", HEX(H(A2)) }))</tt><tt></tt>
<p><tt>where,</tt><tt></tt>
<p><tt>&nbsp;&nbsp; A1 = Hash(user-name:realm:password):server-nonce:client-nonce</tt><tt></tt>
<p><tt>&nbsp;&nbsp; A2 = AUTHENTICATE:digest-uri-value<font color="#FF0000">:HEX(TLS-server-certID)</font></tt><tt></tt>
<p><tt>Would that do it?</tt>
<br><tt></tt>&nbsp;
<br><tt></tt>&nbsp;</html>

--------------90FF6F098C393ADBE291A13E--



From owner-ietf-sacred@mail.imc.org  Fri Dec 20 12:15:55 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA02414
	for <sacred-archive@lists.ietf.org>; Fri, 20 Dec 2002 12:15:54 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBKHFjt21757
	for ietf-sacred-bks; Fri, 20 Dec 2002 09:15:45 -0800 (PST)
Received: from smtp7.andrew.cmu.edu (SMTP7.andrew.cmu.edu [128.2.10.87])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBKHFio21750
	for <ietf-sacred@imc.org>; Fri, 20 Dec 2002 09:15:44 -0800 (PST)
Received: from majormajor.rem.cmu.edu (ORR.REM.cmu.edu [128.2.4.194])
	(user=leg mech=GSSAPI (0 bits))
	by smtp7.andrew.cmu.edu (8.12.3.Beta2/8.12.3.Beta2) with ESMTP id gBKHFaBI001899
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT);
	Fri, 20 Dec 2002 12:15:37 -0500
Date: Fri, 20 Dec 2002 12:15:30 -0500
From: Lawrence Greenfield <leg+@andrew.cmu.edu>
To: Dale Gustafson <degustafson@attbi.com>, stephen.farrell@baltimore.ie
cc: ietf-sacred@imc.org, "Nystrom, Magnus" <magnus@rsasecurity.com>
Subject: Re: Compound authentication "issue"
Message-ID: <37399617.1040386530@majormajor.rem.cmu.edu>
In-Reply-To: <3E031D27.5F0E97F9@attbi.com>
References: <Pine.WNT.4.44.0212051838120.1572-100000@mnystrom-lap>
 <3DEFCB3F.3050304@attbi.com> <3E01C615.8B514C88@baltimore.ie>
 <3E020728.775254CE@attbi.com> <3E020B67.A8E40841@baltimore.ie>
 <3E031D27.5F0E97F9@attbi.com>
X-Mailer: Mulberry/3.0.0 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>
Content-Transfer-Encoding: 7bit


--On Friday, December 20, 2002 7:37 AM -0600 Dale Gustafson 
<degustafson@attbi.com> wrote:

> SACRED clients will include a unique value received from the TLS server
> (e.g., during session negotiation) within their digest-MD5 response.

DIGEST-MD5 is a mature standard that's already been deployed in other 
protocols (as a MUST implement for LDAP, for instance).

Changing DIGEST-MD5 is definitely a no-go. If you were going to do that, 
you could just define a new SASL mechanism.

Again, due to the properties of DIGEST-MD5 the attack under consideration 
is thwarted (and I like the proposed text).

Larry



From owner-ietf-sacred@mail.imc.org  Mon Dec 23 08:00:46 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA28688
	for <sacred-archive@lists.ietf.org>; Mon, 23 Dec 2002 08:00:46 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBNCxKx13285
	for ietf-sacred-bks; Mon, 23 Dec 2002 04:59:20 -0800 (PST)
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBNCxJo13281
	for <ietf-sacred@imc.org>; Mon, 23 Dec 2002 04:59:20 -0800 (PST)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA27822;
	Mon, 23 Dec 2002 07:56:17 -0500 (EST)
Message-Id: <200212231256.HAA27822@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ietf-sacred@imc.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-sacred-protocol-bss-05.txt
Date: Mon, 23 Dec 2002 07:56:17 -0500
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>


--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Securely Available Credentials Working Group of the IETF.

	Title		: Securely Available Credentials Protocol
	Author(s)	: S. Farrell
	Filename	: draft-ietf-sacred-protocol-bss-05.txt
	Pages		: 21
	Date		: 2002-12-20
	
This document describes an SRP-based protocol for securely available
credentials. Discussion of this draft is taking place on the SACRED
mailing list of the IETF SACRED working group (see
http://www.imc.org/ietf-sacred for subscription information).

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-sacred-protocol-bss-05.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-sacred-protocol-bss-05.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-sacred-protocol-bss-05.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2002-12-20130201.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-sacred-protocol-bss-05.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-sacred-protocol-bss-05.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2002-12-20130201.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-ietf-sacred@mail.imc.org  Mon Dec 23 09:06:56 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA02961
	for <sacred-archive@lists.ietf.org>; Mon, 23 Dec 2002 09:06:55 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBNE4Oc17929
	for ietf-sacred-bks; Mon, 23 Dec 2002 06:04:24 -0800 (PST)
Received: from jupiter.jmi.co.kr ([211.45.79.102])
	by above.proper.com (8.11.6/8.11.3) with SMTP id gBNE4Io17925
	for <ietf-sacred@imc.org>; Mon, 23 Dec 2002 06:04:22 -0800 (PST)
Received: (qmail 14023 invoked by uid 525); 23 Dec 2002 23:05:13 +0900
Received: (qmail 14009 invoked from network); 23 Dec 2002 23:05:11 +0900
Received: from unknown (HELO polo.jmi.co.kr) (211.45.79.31)
  by 0 with SMTP; 23 Dec 2002 23:05:11 +0900
Received: from ran.ietf.org (ran.ietf.org [132.151.6.60])
	by polo.jmi.co.kr (8.9.0/8.9.0) with ESMTP id XAA29470
	for <hangsang@jmi.co.kr>; Mon, 23 Dec 2002 23:08:20 +0900 (KST)
Received: from majordomo by ran.ietf.org with local (Exim 4.10)
	id 18QSEk-0003lq-00
	for ietf-announce-list@ran.ietf.org; Mon, 23 Dec 2002 08:03:14 -0500
Received: from odin.ietf.org ([10.27.2.28] helo=ietf.org)
	by ran.ietf.org with esmtp (Exim 4.10)
	id 18QSCX-0003fw-00
	for all-ietf@ran.ietf.org; Mon, 23 Dec 2002 08:00:57 -0500
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA27822;
	Mon, 23 Dec 2002 07:56:17 -0500 (EST)
Message-Id: <200212231256.HAA27822@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: hangsang@dreamwiz.com
Cc: ietf-sacred@imc.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-sacred-protocol-bss-05.txt
Date: Mon, 23 Dec 2002 07:56:17 -0500
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>



--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Securely Available Credentials Working Group of the IETF.

	Title		: Securely Available Credentials Protocol
	Author(s)	: S. Farrell
	Filename	: draft-ietf-sacred-protocol-bss-05.txt
	Pages		: 21
	Date		: 2002-12-20
	
This document describes an SRP-based protocol for securely available
credentials. Discussion of this draft is taking place on the SACRED
mailing list of the IETF SACRED working group (see
http://www.imc.org/ietf-sacred for subscription information).

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-sacred-protocol-bss-05.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-sacred-protocol-bss-05.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-sacred-protocol-bss-05.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2002-12-20130201.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-sacred-protocol-bss-05.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-sacred-protocol-bss-05.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2002-12-20130201.I-D@ietf.org>

--OtherAccess--

--NextPart--





From owner-ietf-sacred@mail.imc.org  Sat Dec 28 12:35:12 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA07302
	for <sacred-archive@lists.ietf.org>; Sat, 28 Dec 2002 12:35:12 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBSHTp127926
	for ietf-sacred-bks; Sat, 28 Dec 2002 09:29:51 -0800 (PST)
Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBSHTlo27919
	for <ietf-sacred@imc.org>; Sat, 28 Dec 2002 09:29:47 -0800 (PST)
Received: from attbi.com (c-66-41-28-164.mn.client2.attbi.com[66.41.28.164])
          by rwcrmhc51.attbi.com (rwcrmhc51) with SMTP
          id <20021228172928051006k1mse>; Sat, 28 Dec 2002 17:29:29 +0000
Message-ID: <3E0DDFFB.EC751796@attbi.com>
Date: Sat, 28 Dec 2002 11:31:39 -0600
From: Dale Gustafson <degustafson@attbi.com>
X-Mailer: Mozilla 4.78 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: SACRED List <ietf-sacred@imc.org>
CC: Lawrence Greenfield <leg+@andrew.cmu.edu>
Subject: Re: Compound authentication "issue"
References: <Pine.WNT.4.44.0212051838120.1572-100000@mnystrom-lap>
				 <3DEFCB3F.3050304@attbi.com> <3E01C615.8B514C88@baltimore.ie>
				 <3E020728.775254CE@attbi.com> <3E020B67.A8E40841@baltimore.ie>
				 <3E031D27.5F0E97F9@attbi.com> <37399617.1040386530@majormajor.rem.cmu.edu> <3E035441.C4A1A0A5@attbi.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>
Content-Transfer-Encoding: 7bit


Hi All,

Larry and I exchanged several messages off-list (since it appeared we were
talking about different attacks) and, I think, arrived at a similar conclusion
to that suggested by Stephen earlier:

     "I'm not at all sure that it'd be in our charter to develop any new
     mutual authentication schemes, which is what I believe would be needed
     to properly bind sTLS and DIGEST-MD5."

We agree that my proposed change to bind TLS to digest-MD5 (e.g., by including
the TLS server's certID in the client response) would prohibit an attacker from
transparently relaying the complete digest-MD5 "mutual auth" sequence to some
other (ie., the intended) SACRED credential server.

However, as Larry then points out, the resultant combination-protocol is still
subject to brute force attacks on the digest-MD5 "client response".  This type
of attacker need only capture a single client response and use it to determine
the user's password (via offline dictionary attack).  As a result, any
standardization work necessary to define a new variant of digest-MD5 is probably
unwarranted.

Here is a picture of the attack scenarios under discussion:

 +------------+                +------------+                +------------+
 |  SACRED    |                |   MITM     |                |  SACRED    |
 |  client    |                |            |                |  server    |
 +------------+                +------------+                +------------+
       <----------------------------> <---------------------------->
               TLS session 1                  TLS session 2
       <----------------------------------------------------------->
               digest-MD5 protocol exchange (auth-only)

All of this suggests that some other approach that bolsters the TLS level
"server auth" function would be far more productive for this particular ID.  Use
of digest-MD5 for more than "auth only" might also be an interesting discussion
...

In any event, I don't mean to speak for Larry here -- he'll have to jump in and
add further comments as appropriate.

Regards,

Dale Gustafson


> Lawrence Greenfield wrote:
>
>> --On Friday, December 20, 2002 7:37 AM -0600 Dale Gustafson
>> <degustafson@attbi.com> wrote:
>>
>> > SACRED clients will include a unique value received from the TLS server
>> > (e.g., during session negotiation) within their digest-MD5 response.
>>
>> DIGEST-MD5 is a mature standard that's already been deployed in other
>> protocols (as a MUST implement for LDAP, for instance).
>>
>> Changing DIGEST-MD5 is definitely a no-go. If you were going to do that,
>> you could just define a new SASL mechanism.
>>
>> Again, due to the properties of DIGEST-MD5 the attack under consideration
>> is thwarted (and I like the proposed text).
>>
>> Larry
>



From owner-ietf-sacred@mail.imc.org  Mon Dec 30 06:49:52 2002
Received: from above.proper.com (mail.proper.com [208.184.76.45])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA23028
	for <sacred-archive@lists.ietf.org>; Mon, 30 Dec 2002 06:49:51 -0500 (EST)
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBUBjxo10744
	for ietf-sacred-bks; Mon, 30 Dec 2002 03:45:59 -0800 (PST)
Received: from ocasey.baltimore.com (ocasey.baltimore.com [193.41.17.101])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBUBjvo10740
	for <ietf-sacred@imc.org>; Mon, 30 Dec 2002 03:45:58 -0800 (PST)
Received: from Baltimore-FW2 ([172.19.1.2])
	by ocasey.baltimore.com (8.11.6/8.9.3) with SMTP id gBUBcZU03328
	for <ietf-sacred@imc.org>; Mon, 30 Dec 2002 11:38:35 GMT
Received: from  ([10.153.25.53]) by Baltimore-FW2; Mon, 30 Dec 2002 11:44:21 +0000 (GMT)
Received: from Baltimore-FW2 (wilde-i-2.ie.baltimore.com) by emeairlsw1.baltimore.com
 (Content Technologies SMTPRS 4.2.5) with SMTP id <T5f7ba434110a9919350b3@emeairlsw1.baltimore.com> for <ietf-sacred@imc.org>;
 Mon, 30 Dec 2002 11:37:31 +0000
Received: from  ([10.153.25.10]) by Baltimore-FW2; Mon, 30 Dec 2002 11:44:18 +0000 (GMT)
Received: from baltimore.ie (wks166-4.ie.baltimore.com [10.153.4.166])
	by bobcat.baltimore.ie (8.9.3/8.9.3) with ESMTP id LAA23733
	for <ietf-sacred@imc.org>; Mon, 30 Dec 2002 11:45:43 GMT
Message-ID: <3E10323A.5D2CC2F6@baltimore.ie>
Date: Mon, 30 Dec 2002 11:47:06 +0000
From: Stephen Farrell <stephen.farrell@baltimore.ie>
Reply-To: stephen.farrell@baltimore.ie
Organization: Baltimore Technologies Ltd.
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: ietf-sacred <ietf-sacred@imc.org>
Subject: [Fwd: sacred -05.txt]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sacred@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sacred/mail-archive/>
List-Unsubscribe: <mailto:ietf-sacred-request@imc.org?body=unsubscribe>
List-ID: <ietf-sacred.imc.org>
Content-Transfer-Encoding: 7bit



Folks,

Due to mails passing one another by and the holidays the latest
draft doesn't contain some work that Marshall did on appendix B
(sorry again Marshall).

I propose adding this in next time 'round, so if you're reviewing 
the -05 version, try to check this version of appendix B if you
find something that needs fixing. There should be no substantive 
difference, just corrections and some new comments on what's 
happening with which messages.

Happy new year,
Stephen.


>                                   #######
> 
> Appendix B: An Example of Tuning with BEEP
> 
> Here is what tuning BEEP for authentication and privacy looks like
> using TLS and SASL's DIGEST-MD5:
> 
> L: <wait for incoming connection>
> I: <open connection>
> 
> ... each peer sends a greeting indicating the services that
>     it offers ...
> 
> L: RPY 0 0 . 0 233
> L: Content-Type: application/beep+xml
> L:
> L: <greeting>
> L:    <profile uri='http://iana.org/beep/SASL/DIGEST-MD5' />
> L:    <profile uri='http://iana.org/beep/TLS' />
> L:    <profile uri='http://iana.org/beep/transient/sacred/bss' />
> L: </greeting>
> L: END
> I: RPY 0 0 . 0 52
> I: Content-Type: application/beep+xml
> I:
> I: <greeting />
> I: END
> 
> 
> ... the initiator starts a channel for TLS and piggybacks a request
>     to start the TLS negotiation ...
> 
> I: MSG 0 1 . 52 149
> I: Content-Type: application/beep+xml
> I:
> I: <start number='1'>
> I:    <profile uri='http://iana.org/beep/TLS'>
> I:        &lt;ready />
> I:    </profile>
> I: </start>
> I: END
> 
> ... the listener creates the channel and piggybacks its readiness to
>     start TLS ...
> 
> L: RPY 0 1 . 233 112
> L: Content-Type: application/beep+xml
> L:
> L: <profile uri='http://iana.org/beep/TLS'>
> L:     &lt;proceed />
> L: </profile>
> L: END
> 
> ... upon receiving the reply, the initiator starts up TLS ...
> 
> 
> ... successful transport security negotiation ...
> 
> 
> ... a new greeting is sent (cf., Section 9 of RFC 3080), note that
>     the listener no longer advertises TLS (we're already running
>     it)
> 
> L: RPY 0 0 . 0 186
> L: Content-Type: application/beep+xml
> L:
> L: <greeting>
> L:    <profile uri='http://iana.org/beep/SASL/DIGEST-MD5' />
> L:    <profile uri='http://iana.org/beep/transient/sacred/bss' />
> L: </greeting>
> L: END
> I: RPY 0 0 . 0 52
> I: Content-Type: application/beep+xml
> I:
> I: <greeting />
> I: END
> 
> 
> ... the initiator starts a channel for DIGEST-MD5 and piggybacks
>     initialization information for the mecdhanism ...
> 
> I: MSG 0 1 . 52 178
> I: Content-Type: application/beep+xml
> I:
> I: <start number='1'>
> I:    <profile uri='http://iana.org/beep/SASL/DIGEST-MD5'>
> I:        &lt;blob> ... &lt;/blob>
> I:    </profile>
> I: </start>
> I: END
> 
> ... the listener creates the channel and piggybacks a challenge ...
> 
> L: RPY 0 1 . 186 137
> L: Content-Type: application/beep+xml
> L:
> L: <profile uri='http://iana.org/beep/SASL/DIGEST-MD5'>
> L:     &lt;blob> ... &lt;/blob>
> L: </profile>
> L: END
> 
> ... the initiator sends a response to the challenge ...
> 
> I: MSG 1 0 . 0 58
> I: Content-Type: application/beep+xml
> I:
> I: <blob> ... </blob>
> I: END
> 
> ... the listener accepts the challenge and tells the initiator
>     that it is now authenticated ...
> 
> L: RPY 1 0 . 0 66
> L: Content-Type: application/beep+xml
> L:
> L: <blob status='complete' />
> L: END
> 
> 
> ... the initiator starts a channel for SACRED and piggybacks its
>     initial SACRED request ...
> 
> I: MSG 0 2 . 230 520
> I: Content-Type: application/beep+xml
> I:
> I: <start number='3'>
> I:    <profile uri='http://iana.org/beep/transient/sacred/bss' />
> I:        &lt;?xml version="1.0" encoding="UTF-8"?>
> I:        &lt;sacred:DownloadRequest
> I:          xmlns:sacred="urn:sacred-2002-11-20"
> I:          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> I:          xsi:schemaLocation="urn:sacred-2002-11-20 sacred.xsd">
> I:          &lt;CredentialSelector>
> I:                      magnus-credentials&lt;/CredentialSelector>
> I:        &lt;/sacred:DownloadRequest>
> I: </start>
> I: END
> 
> ... the listener creates the channel and piggybacks the response to the
>     initial SACRED request
> 
> L: RPY 0 2 . 323 805
> L: Content-Type: application/beep+xml
> L:
> L: <profile uri='http://iana.org/beep/transient/sacred/bss' />
> L:     &lt;?xml version="1.0" encoding="UTF-8"?>
> L:     &lt;sacred:DownloadResponse
> L:       xmlns:sacred="urn:sacred-2002-11-20"
> L:       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> L:       xsi:schemaLocation="urn:sacred-2002-11-20 sacred.xsd">
> L:       &lt;Status>Success&lt;/Status>
> L:       &lt;Credential>
> L:         &lt;CredentialSelector>
> L:              magnus-credential&lt;/CredentialSelector>
> L:         &lt;LastModified>2002-11-22T00:00:08Z&lt;/LastModified>
> L:         &lt;Payload>
> L:             &lt;sacred:SacredPKCS15
> L:               xmlns:sacred="urn:sacred-2002-11-20">GpM7
> L:             &lt;/sacred:SacredPKCS15>
> L:         &lt;/Payload>
> L:       &lt;/Credential>
> L:     &lt;/sacred:DownloadResponse>
> L: </profile>
> L: END
> 
>                                   #######

-- 
____________________________________________________________
Stephen Farrell         				   
Baltimore Technologies,   tel: (direct line) +353 1 881 6716
39 Parkgate Street,                     fax: +353 1 881 7000
Dublin 8.                mailto:stephen.farrell@baltimore.ie
Ireland                             http://www.baltimore.com


