Katalog CVE

CVE-2026-102511

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

Streszczenie

W implementacji Go biblioteki Apache PLC4X (PLC4Go) wykryto podatność polegającą na niewłaściwej weryfikacji źródła kanału komunikacji podczas wykrywania urządzeń ADS. Atakujący może wysłać spreparowany datagram UDP do hosta przeprowadzającego wykrywanie, co pozwala przekierować kolejne połączenia na dowolny adres wybrany przez atakującego. Adres połączenia jest wyprowadzany z AmsNetId zawartego w treści odpowiedzi, a nie z rzeczywistego adresu źródłowego datagramu. Dodatkowo, pojedynczy uszkodzony datagram może wyłączyć nasłuch wykrywania w PLC4Go (panic), a w PLC4J (ADS, EtherNet/IP, Modbus) może zatrzymać lub zapętlić proces wykrywania.

Ocena ryzyka

Ryzyko obejmuje możliwość przekierowania sesji ADS, wraz z uwierzytelnieniem i skonfigurowanymi trasami, na adres kontrolowany przez atakującego, co może prowadzić do kradzieży danych lub nieautoryzowanego dostępu. Dodatkowo, ataki DoS na proces wykrywania mogą uniemożliwić wykrycie legalnych urządzeń lub przeciążyć CPU.

Rekomendacja

Zaleca się natychmiastowe zaktualizowanie Apache PLC4X do wersji 1.0.0, która naprawia podatność. W nowej wersji adres połączenia jest wyprowadzany z adresu źródłowego datagramu, a rozbieżności z AmsNetId są logowane jako ostrzeżenie.

Inne podatności w Apache PLC4X

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

Improper Verification of Source of a Communication Channel in the ADS discovery of the Go implementation of Apache PLC4X (PLC4Go) allows an attacker able to send UDP datagrams to the discovering host to redirect subsequent connections to an arbitrary, attacker-chosen address. The discovery result's connection address was derived from the AmsNetId claimed in the response body rather than from the datagram's actual source address. One spoofed discovery response can therefore insert an inventory entry pointing at any host, including hosts outside the local network, and an application that connects to discovered devices will open its ADS session, including any configured route credentials, to that host. Additionally, discovery listeners in both implementations can be disabled by a single malformed datagram: - In PLC4Go ADS discovery, a short version block causes a panic that ends the listener for the rest of the discovery call, so legitimate devices answering afterwards are not reported. - In PLC4J, the ADS and EtherNet/IP discoverers stop on an unhandled exception from a malformed response. - The PLC4J Modbus discoverer can be made to spin indefinitely, consuming a CPU core, by a scanned host that sends a partial response. Exploitation requires the application to invoke the discovery API, which is opt-in, and for the connection redirect, to act on the discovered items. This issue affects Apache PLC4X: PLC4Go from 0.11.0 before 1.0.0; PLC4J ADS and Modbus drivers from 0.10.0 before 1.0.0; PLC4J EtherNet/IP driver from 0.11.0 before 1.0.0. PLC4Go is consumed as the Go module github.com/apache/plc4x/plc4go; versions refer to the corresponding Apache PLC4X releases. Users are recommended to upgrade to version 1.0.0, which fixes the issue. Version 1.0.0 derives the connection address from the datagram's source address and logs a warning when the claimed AmsNetId disagrees with it.

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