Katalog CVE

CVE-2026-123807

KrytyczneCVSS 9.8
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Signal K Server w wersjach 2.0.0–2.33.x oraz @signalk/resources-provider 1.0.0–1.5.2 posiada trasę REST GET /signalk/v2/api/resources/:resourceType/:resourceId, która przyjmuje niebezpieczny resourceId mogący wyjść poza zamierzony katalog zasobów. Brak odpowiedniego ograniczenia ścieżki pozwala na odczyt dowolnych plików JSON dostępnych dla serwera, a powiązane operacje PUT i DELETE mogą zapisywać lub usuwać pliki poza katalogiem głównym. Odczyt security.json ujawnia sekret podpisywania JWT HS256 i hasła, co umożliwia sfałszowanie tokenu administratora i dalszą eskalację.

Ocena ryzyka

Atakujący może odczytać poufne pliki, w tym sekrety JWT i hasła, a następnie sfałszować token administratora i uzyskać zdolność do wykonywania poleceń na serwerze. W konfiguracjach z allow_readonly atak nie wymaga uwierzytelnienia.

Rekomendacja

Zaktualizuj Signal K Server do wersji 2.34.0 oraz @signalk/resources-provider do 1.5.3. Do czasu aktualizacji ogranicz dostęp do tras zasobów i wyłącz allow_readonly, jeśli to możliwe.

Inne podatności w Signal K Server

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

Signal K Server is a server application that runs on a central hub in a boat. From 2.0.0 until 2.34.0 for Signal K Server and from 1.0.0 until 1.5.3 for @signalk/resources-provider, the v2 REST route GET /signalk/v2/api/resources/:resourceType/:resourceId accepts an unsafe resourceId that can escape the intended resource directory. The route passes the attacker-controlled resourceId through src/api/resources/index.ts to FileStore.getResource() in packages/resources-provider-plugin/src/filestorage.ts without adequate path containment, allowing arbitrary JSON files reachable by the server to be read. Related PUT and DELETE resource operations can write or delete files outside the storage root. Deployments with allow_readonly enabled permit anonymous reads, while other deployments require a readonly user token. Reading security.json exposes the HS256 JWT signing secret and password hashes, allowing an attacker to forge an administrator token. Administrative access to POST /skServer/providers can then create an Execute provider that runs commands with the server process privileges and persists its configuration across restarts. This issue is fixed in Signal K Server 2.34.0 and @signalk/resources-provider 1.5.3.

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