rfc3310.txt

来自「RFC 的详细文档!」· 文本 代码 · 共 1,012 行 · 第 1/3 页

TXT
1,012 行
字号


5.1 Authentication of Clients using Digest AKA

   AKA is typically -- though this isn't a theoretical limitation -- run
   on an ISIM application that usually resides in a tamper resistant
   smart card.  Interfaces to the ISIM exist, which enable the host
   device to request authentication to be performed on the card.
   However, these interfaces do not allow access to the long-term secret
   outside the ISIM, and the authentication can only be performed if the
   device accessing the ISIM has knowledge of a PIN code, shared between
   the user and the ISIM.  Such PIN codes are typically obtained from
   user input, and are usually required when the device is powered on.

   The use of tamper resistant cards with secure interfaces implies that
   Digest AKA is typically more secure than regular Digest
   implementations, as neither possession of the host device nor Trojan
   Horses in the software give access to the long term secret.  Where a
   PIN scheme is used, the user is also authenticated when the device is
   powered on.  However, there may be a difference in the resulting
   security of Digest AKA, compared to traditional Digest
   implementations, depending of course on whether those implementations
   cache/store passwords that are received from the user.

5.2 Limited Use of Nonce Values

   The Digest scheme uses server-specified nonce values to seed the
   generation of the request-digest value.  The server is free to
   construct the nonce in such a way, that it may only be used from a
   particular client, for a particular resource, for a limited period of
   time or number of uses, or any other restrictions.  Doing so
   strengthens the protection provided against, for example, replay
   attacks.

   Digest AKA limits the applicability of a nonce value to a particular
   ISIM.  Typically, the ISIM is accessible only to one client device at
   a time.  However, the nonce values are strong and secure even though
   limited to a particular ISIM.  Additionally, this requires that the
   server is provided with the client identity before an authentication
   challenge can be generated.  If a client identity is not available,
   an additional round trip is needed to acquire it.  Such a case is
   analogous to an AKA synchronization failure.

   A server may allow each nonce value to be used only once by sending a
   next-nonce directive in the Authentication-Info header field of every
   response.  However, this may cause a synchronization failure, and
   consequently some additional round trips in AKA, if the same SQN
   space is also used for other access schemes at the same time.





Niemi, et. al.               Informational                     [Page 13]

RFC 3310          HTTP Digest Authentication Using AKA    September 2002


5.3 Multiple Authentication Schemes and Algorithms

   In HTTP authentication, a user agent MUST choose the strongest
   authentication scheme it understands and request credentials from the
   user, based upon that challenge.

   In general, using passwords generated by Digest AKA with other HTTP
   authentication schemes is not recommended even though the realm
   values or protection domains would coincide.  In these cases, a
   password should be requested from the end-user instead.  Digest AKA
   passwords MUST NOT be re-used with such HTTP authentication schemes,
   which send the password in clear.  In particular, AKA passwords MUST
   NOT be re-used with HTTP Basic.

   The same principle must be applied within a scheme if several
   algorithms are supported.  A client receiving an HTTP Digest
   challenge with several available algorithms MUST choose the strongest
   algorithm it understands.  For example, Digest with "AKAv1-MD5" would
   be stronger than Digest with "MD5".

5.4 Online Dictionary Attacks

   Since user-selected passwords are typically quite simple, it has been
   proposed that servers should not accept passwords for HTTP Digest,
   which are in the dictionary [2].  This potential threat does not
   exist in HTTP Digest AKA because the algorithm will use ISIM
   originated passwords.  However, the end-user must still be careful
   with PIN codes.  Even though HTTP Digest AKA password requests are
   never displayed to the end-user, she will be authenticated to the
   ISIM via a PIN code.  Commonly known initial PIN codes are typically
   installed to the ISIM during manufacturing and if the end-users do
   not change them, there is a danger that an unauthorized user may be
   able to use the device.  Naturally this requires that the
   unauthorized user has access to the physical device, and that the
   end-user has not changed the initial PIN code.  For this reason,
   end-users are strongly encouraged to change their PIN codes when they
   receive an ISIM.

5.5 Session Protection

   Digest AKA is able to generate additional session keys for integrity
   (IK) and confidentiality (CK) protection.  Even though this document
   does not specify the use of these additional keys, they may be used
   for creating additional security within HTTP authentication or some
   other security mechanism.






Niemi, et. al.               Informational                     [Page 14]

RFC 3310          HTTP Digest Authentication Using AKA    September 2002


5.6 Replay Protection

   AKA allows sequence numbers to be tracked for each authentication,
   with the SQN parameter.  This allows authentications to be replay
   protected even if the RAND parameter happened to be the same for two
   authentication requests.  More importantly, this offers additional
   protection for the case where an attacker replays an old
   authentication request sent by the network.  The client will be able
   to detect that the request is old, and refuse authentication.  This
   proves liveliness of the authentication request even in the case
   where a MitM attacker tries to trick the client into providing an
   authentication response, and then replaces parts of the message with
   something else.  In other words, a client challenged by Digest AKA is
   not vulnerable for chosen plain text attacks.  Finally, frequent
   sequence number errors would reveal an attack where the tamper
   resistant card has been cloned and is being used in multiple devices.

   The downside of sequence number tracking is that servers must hold
   more information for each user than just their long-term secret,
   namely the current SQN value.  However, this information is typically
   not stored in the SIP nodes, but in dedicated authentication servers
   instead.

5.7 Improvements to AKA Security

   Even though AKA is perceived as a secure mechanism, Digest AKA is
   able to improve it.  More specifically, the AKA parameters carried
   between the client and the server during authentication may be
   protected along with other parts of the message by using Digest AKA.
   This is not possible with plain AKA.

6. IANA Considerations

   This document specifies an aka-version namespace in Section 3.1 which
   requires a central coordinating body.  The body responsible for this
   coordination is the Internet Assigned Numbers Authority (IANA).

   The default aka-version defined in this document is "AKAv1".
   Following the policies outlined in [5], versions above 1 are
   allocated as Expert Review.

   Registrations with the IANA MUST include the version number being
   registered, including the "AKAv" prefix.  For example, a registration
   for "AKAv2" would potentially be a valid one, whereas a registration
   for "FOOv2" or "2" would not be valid.  Further, the registration
   MUST include contact information for the party responsible for the
   registration.




Niemi, et. al.               Informational                     [Page 15]

RFC 3310          HTTP Digest Authentication Using AKA    September 2002


   As this document defines the default aka-version, the initial IANA
   registration for aka-version values will contain an entry for
   "AKAv1".

6.1 Registration Template

      To: ietf-digest-aka@iana.org
      Subject: Registration of a new AKA version

      Version identifier:

          (Must contain a valid aka-version value,
           as described in section 3.1.)

      Person & email address to contact for further information:

          (Must contain contact information for the
           person(s) responsible for the registration.)

Normative References

   [1]  Bradner, S., "Key words for use in RFCs to Indicate Requirement
        Levels", BCP 14, RFC 2119, March 1997.

   [2]  Franks, J., Hallam-Baker, P., Hostetler, J., Lawrence, S.,
        Leach, P., Luotonen, A. and L. Stewart, "HTTP Authentication:
        Basic and Digest Access Authentication", RFC 2617, June 1999.

   [3]  Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A.,
        Peterson, J., Sparks, R., Handley, M. and E. Schooler, "SIP:
        Session Initiation Protocol", RFC 3261, June 2002.

   [4]  Freed, N. and N. Borenstein, "Multipurpose Internet Mail
        Extensions (MIME) Part One: Format of Internet Message Bodies",
        RFC 2045, November 1996.

Informative References

   [5]  Narten, T. and H. Alvestrand, "Guidelines for Writing an IANA
        Considerations Section in RFCs", BCP 26, RFC 2434, October 1998.

   [6]  3rd Generation Partnership Project, "Security Architecture
        (Release 4)", TS 33.102, December 2001.

   [7]  http://www.iana.org, "Assigned Numbers".






Niemi, et. al.               Informational                     [Page 16]

RFC 3310          HTTP Digest Authentication Using AKA    September 2002


Appendix A. Acknowledgements

   The authors would like to thank Sanjoy Sen, Jonathan Rosenberg, Pete
   McCann, Tao Haukka, Ilkka Uusitalo, Henry Haverinen, John Loughney,
   Allison Mankin and Greg Rose.

Authors' Addresses

   Aki Niemi
   Nokia
   P.O. Box 301
   NOKIA GROUP, FIN  00045
   Finland

   Phone: +358 50 389 1644
   EMail: aki.niemi@nokia.com


   Jari Arkko
   Ericsson
   Hirsalantie 1
   Jorvas, FIN  02420
   Finland

   Phone: +358 40 5079256
   EMail: jari.arkko@ericsson.com


   Vesa Torvinen
   Ericsson
   Joukahaisenkatu 1
   Turku, FIN  20520
   Finland

   Phone: +358 40 7230822
   EMail: vesa.torvinen@ericsson.fi















Niemi, et. al.               Informational                     [Page 17]

RFC 3310          HTTP Digest Authentication Using AKA    September 2002


Full Copyright Statement

   Copyright (C) The Internet Society (2002).  All Rights Reserved.

   This document and translations of it may be copied and furnished to
   others, and derivative works that comment on or otherwise explain it
   or assist in its implementation may be prepared, copied, published
   and distributed, in whole or in part, without restriction of any
   kind, provided that the above copyright notice and this paragraph are
   included on all such copies and derivative works.  However, this
   document itself may not be modified in any way, such as by removing
   the copyright notice or references to the Internet Society or other
   Internet organizations, except as needed for the purpose of
   developing Internet standards in which case the procedures for
   copyrights defined in the Internet Standards process must be
   followed, or as required to translate it into languages other than
   English.

   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.

   This document and the information contained herein is provided on an
   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Acknowledgement

   Funding for the RFC Editor function is currently provided by the
   Internet Society.



















Niemi, et. al.               Informational                     [Page 18]


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?