Security Extension for OSPFv2 When Using Manual Key Management
RFC 7474

 
Document
Type RFC - Proposed Standard (April 2015; No errata)
Last updated 2015-04-13
Stream IETF
Formats plain text pdf html
Stream
WG state Submitted to IESG for Publication
Consensus Yes
Document shepherd Vishwas Manral
Shepherd write-up Show (last changed 2014-06-24)
IESG
IESG state RFC 7474 (Proposed Standard)
Telechat date
Responsible AD Alia Atlas
Send notices to ospf-chairs@ietf.org, draft-ietf-ospf-security-extension-manual-keying@ietf.org, vishwas.ietf@gmail.com
IANA
IANA review state IANA OK - No Actions Needed
IANA action state RFC-Ed-Ack

Email authors IPR References Referenced by Nits Search lists

Internet Engineering Task Force (IETF)                         M. Bhatia
Request for Comments: 7474                                Ionos Networks
Updates: 2328, 5709                                           S. Hartman
Category: Standards Track                              Painless Security
ISSN: 2070-1721                                                 D. Zhang
                                           Huawei Technologies Co., Ltd.
                                                          A. Lindem, Ed.
                                                                   Cisco
                                                              April 2015

     Security Extension for OSPFv2 When Using Manual Key Management

Abstract

   The current OSPFv2 cryptographic authentication mechanism as defined
   in RFCs 2328 and 5709 is vulnerable to both inter-session and intra-
   session replay attacks when using manual keying.  Additionally, the
   existing cryptographic authentication mechanism does not cover the IP
   header.  This omission can be exploited to carry out various types of
   attacks.

   This document defines changes to the authentication sequence number
   mechanism that will protect OSPFv2 from both inter-session and intra-
   session replay attacks when using manual keys for securing OSPFv2
   protocol packets.  Additionally, we also describe some changes in the
   cryptographic hash computation that will eliminate attacks resulting
   from OSPFv2 not protecting the IP header.

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in Section 2 of RFC 5741.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   http://www.rfc-editor.org/info/rfc7474.

Bhatia, et al.               Standards Track                    [Page 1]
RFC 7474               OSPF Manual Key Management             April 2015

Copyright Notice

   Copyright (c) 2015 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Requirements Language . . . . . . . . . . . . . . . . . .   4
   2.  Replay Protection Using Extended Sequence Numbers . . . . . .   4
   3.  OSPF Packet Extensions  . . . . . . . . . . . . . . . . . . .   5
   4.  OSPF Packet Key Selection . . . . . . . . . . . . . . . . . .   6
     4.1.  Key Selection for Unicast OSPF Packet Transmission  . . .   7
     4.2.  Key Selection for Multicast OSPF Packet Transmission  . .   8
     4.3.  Key Selection for OSPF Packet Reception . . . . . . . . .   8
   5.  Securing the IP Header  . . . . . . . . . . . . . . . . . . .   9
   6.  Mitigating Cross-Protocol Attacks . . . . . . . . . . . . . .  10
   7.  Backward Compatibility  . . . . . . . . . . . . . . . . . . .  11
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .  11
   9.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  12
   10. References  . . . . . . . . . . . . . . . . . . . . . . . . .  12
     10.1.  Normative References . . . . . . . . . . . . . . . . . .  12
     10.2.  Informative References . . . . . . . . . . . . . . . . .  12
   Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . .  14
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  14

Bhatia, et al.               Standards Track                    [Page 2]
RFC 7474               OSPF Manual Key Management             April 2015

1.  Introduction

   The OSPFv2 cryptographic authentication mechanism as described in
   [RFC2328] uses per-packet sequence numbers to provide protection
   against replay attacks.  The sequence numbers increase monotonically
   so that attempts to replay stale packets can be thwarted.  The
   sequence number values are maintained as a part of neighbor adjacency
Show full document text