Information
The Cisco perimeter router must be configured to drop IPv6 packets containing an extension header with the Endpoint Identification option.
GROUP ID: V-230154RULE ID: SV-230154r856671
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. This option type is associated with the Nimrod Routing system and has no defining RFC document.
NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.
Solution
Configure the router to drop IPv6 packets containing an option type values of 0x8A (Endpoint Identification) regardless of whether it appears in a Hop-by-Hop or Destination Option header as shown in the example below.
RP/0/0/CPU0:R3(config)# ipv6 access-list FILTER_IPV6RP/0/0/CPU0:R3(config-ipv6-acl)# deny any any dest-option-type 138 logRP/0/0/CPU0:R3(config-ipv6-acl)# permit ipv6 ............RP/0/0/CPU0:R3(config-ipv6-acl)# deny ipv6 any any logRP/0/0/CPU0:R3(config-ipv6-acl)# exitRP/0/0/CPU0:R3(config)# interface gigabitethernet 0/2/0/2RP/0/0/CPU0:R3(config-if)# ipv6 access-group FILTER_IPV6 ingressRP/0/0/CPU0:R3(config-if)# end