On Jan 27, 2023, at 6:38 AM, Heikki Vatiainen <h...@radiatorsoftware.com> wrote:
> Furthermore, let's consider multi-round inner password authentication,
> such as example flow C1 with "housekeeping":
> https://datatracker.ietf.org/doc/html/draft-ietf-emu-rfc7170bis#name-c1-successful-authenticatio
> 
> Is there a reason why we couldn't prohibit changing the username after
> the first  Basic-Password-Auth-Resp TLV is sent by the peer? That is,
> after the first Basic-Password-Auth-Resp TLV, the subsequent TLVs for
> the same sequence must have the same Username.

  That is a good point.

  I think similar text should apply for EAP, too.  There are few reasons to 
change identities when doing multiple rounds of authentication.

> At minimum I would like the updated RFC to say that:
> - peers are expected to prompt for a username only once, at the
> beginning, for each password authentication sequence; and
> - server should ignore Username after the first
> Basic-Password-Auth-Resp TLV for a sequence and the server is  allowed
> to reject the sequence if Username changes

  I agree.

> The server must be careful to, for example, use the Username from the
> first  Basic-Password-Auth-Resp TLV for authentication, authorisation,
> logging and other functionality. This is to avoid, for example, to
> prevent a peer to log in as Alice and then using Bob with the last
> Basic-Password-Auth-Resp TLV. If the server isn't careful, Bob may end
> up in authentication and other logs and any possible authorisation may
> be done as Bob.

  Very true.  I'll update the text.

  Alan DeKok.

_______________________________________________
Emu mailing list
Emu@ietf.org
https://www.ietf.org/mailman/listinfo/emu

Reply via email to