CISC-RT-000398 - The Cisco perimeter router must be configured to drop IPv6 packets containing a Hop-by-Hop or Destination Option extension header with an undefined option type - dest-option-type

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The optional and extensible natures of the IPv6 extension headers require higher scrutiny since many implementations do not always drop packets with headers that it cannot recognize, and hence could cause a Denial-of-Service on the target device. In addition, the type, length, value (TLV) formatting provides the ability for headers to be very large.

Solution

Configure the router to drop all inbound IPv6 packets containing an undefined option type value regardless of whether they appear in a Hop-by-Hop or Destination Option header as shown in the example below.

R1(config)#ipv6 access-list FILTER_IPV6
R1(config-ipv6-acl)#deny any any dest-option-type 2
R1(config-ipv6-acl)#deny any any dest-option-type 3
R1(config-ipv6-acl)#deny any any dest-option-type 6
R1(config-ipv6-acl)#deny any any dest-option-type 9
R1(config-ipv6-acl)#deny any any dest-option-type 10
R1(config-ipv6-acl)#deny any any dest-option-type 11
R1(config-ipv6-acl)#deny any any dest-option-type 12
R1(config-ipv6-acl)#deny any any dest-option-type 13
R1(config-ipv6-acl)#deny any any dest-option-type 14
R1(config-ipv6-acl)#deny any any dest-option-type 16
...
R1(config-ipv6-acl)#deny any any dest-option-type 34
R1(config-ipv6-acl)#deny any any dest-option-type 36
R1(config-ipv6-acl)#deny any any dest-option-type 37
R1(config-ipv6-acl)#deny any any dest-option-type 39
...
R1(config-ipv6-acl)#deny any any dest-option-type 47
R1(config-ipv6-acl)#deny any any dest-option-type 49
...
R1(config-ipv6-acl)#deny any any dest-option-type 255
R1(config-ipv6-acl)#permit ...
...
...
...
R1(config-ipv6-acl)#deny ipv6 any any log
R1(config-ipv6-acl)#exit
R1(config)#int g1/0
R1(config-if)#ipv6 traffic-filter FILTER_IPV6

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Cisco_IOS_Router_Y22M07_STIG.zip

Item Details

References: CAT|II, CCI|CCI-002403, Rule-ID|SV-230158r538614_rule, STIG-ID|CISC-RT-000398, Vuln-ID|V-230158

Plugin: Cisco

Control ID: 13f82f793cfd682ac13969e23e839bbb5cf989cc4b26edfd1ce65660bf68358e