Katalog CVE

CVE-2026-7656

WysokieCVSS 8.1
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.31%

Percentyl 24 - wyżej niż 24% wszystkich znanych CVE

Streszczenie

Podatność w Zephyr RTOS dotyczy obsługi komunikatów Neighbor Discovery dla IPv6. Błędna logika warunkowa powoduje, że wszystkie walidacje RFC 4861 (w tym wymóg Hop Limit == 255) są pomijane, gdy pole ICMPv6 code ma wartość 0 (normalną dla ND). Umożliwia to atakującemu wstrzyknięcie sfałszowanych komunikatów RA/NS/NA.

Ocena ryzyka

Atakujący z sieci lokalnej (lub zdalny, dzięki ominięciu zabezpieczenia Hop Limit) może przejąć kontrolę nad konfiguracją IPv6 ofiary, zatruć pamięć sąsiadów, przekierować ruch (MITM) lub przeprowadzić atak DoS. Może też podmienić serwery DNS (jeśli włączono CONFIG_NET_IPV6_RA_RDNSS).

Rekomendacja

Zaleca się natychmiastową aktualizację Zephyr RTOS do wersji zawierającej poprawkę (powyżej v4.4.0). Jeśli aktualizacja nie jest możliwa, należy ograniczyć zaufanie do sieci lokalnej i rozważyć wyłączenie obsługi IPv6 ND lub filtrowanie ruchu ICMPv6 na granicach sieci.

Inne podatności w Zephyr RTOS

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

The IPv6 Neighbor Discovery handlers in subsys/net/ip/ipv6_nbr.c (handle_ra_input, handle_ns_input, handle_na_input) used an incorrect boolean expression that combined the RFC 4861 validity checks with the ICMPv6 code check using the wrong operator precedence: the form was ((length/hop/source/target checks) && (icmp_hdr->code != 0)). Because every legitimate ND message carries ICMPv6 code 0, an attacker setting code == 0 (the normal value) caused the entire predicate to evaluate false, so the packet was never dropped and all of the other checks were silently skipped. The bypassed checks include the mandatory Hop Limit == 255 verification (which proves an ND packet originated on-link and was not forwarded) and, for Router Advertisements, the requirement that the source be a link-local address, as well as multicast-target sanity checks. As a result, an adjacent on-link attacker — and, because the Hop-Limit-255 guard is bypassed, potentially a remote/off-link attacker whose packets would otherwise be rejected — can have forged Router Advertisement, Neighbor Solicitation, and Neighbor Advertisement messages accepted. A forged RA lets the attacker reconfigure the victim's default router, on-link prefixes (SLAAC), MTU, reachable/retransmit timers, and (with CONFIG_NET_IPV6_RA_RDNSS) DNS servers, while forged NS/NA enable neighbor-cache poisoning, enabling man-in-the-middle, traffic redirection, and denial of service. The flaw is an input-validation/authentication weakness rather than a memory-safety issue: the underlying packet-parsing primitives (net_pkt_get_data, net_pkt_read, net_pkt_skip) are independently bounds-safe and the validated length is the true buffer length, so skipping the length check causes no out-of-bounds access. The defect has existed since the logic was introduced in 2018 and shipped in all releases through v4.4.0; it is fixed by splitting the condition so any failing check drops the packet.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS