Katalog CVE

CVE-2026-78381

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

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.39%

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

Streszczenie

RansomLook zawiera podatność typu path traversal w obsłudze pola screen powiązanego z postami grupowymi. Handler API GroupPost.get łączy wartość screen kontrolowaną przez bazę danych bezpośrednio z katalogiem source/ aplikacji i otwiera wynikową ścieżkę bez weryfikacji, czy rozwiązany plik pozostaje w zamierzonym katalogu. Złośliwa instancja nadrzędna może dostarczyć sekwencje traversal, takie jak ../config/generic.json, co prowadzi do odczytu dowolnych plików.

Ocena ryzyka

Atakujący (będący administratorem) kontrolujący zaimportowane dane postów może odczytać dowolne pliki dostępne dla procesu RansomLook, potencjalnie ujawniając wrażliwe dane konfiguracyjne, poświadczenia API, hashe haseł lub inne sekrety aplikacji. Atak nie wymaga, aby złośliwa instancja nadrzędna posiadała konto w zaatakowanej instancji RansomLook.

Rekomendacja

Należy natychmiast zaktualizować RansomLook do wersji zawierającej poprawkę, która używa os.path.realpath() do rozwiązywania ścieżek screen i weryfikuje, że rozwiązana ścieżka pozostaje w katalogu source/. Dodatkowo należy ograniczyć zaufanie do danych importowanych z zewnętrznych instancji oraz monitorować logi API pod kątem nietypowych żądań.

Inne podatności w RansomLook

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

RansomLook contains a path traversal vulnerability in the handling of the screen field associated with group posts. The GroupPost.get API handler concatenates the database-controlled screen value directly with the application's source/ directory and opens the resulting path without verifying that the resolved file remains within the intended directory. Because the screen field is free-form and can be populated either through the administrative post editor or through data imported from a remote RansomLook instance, a malicious upstream instance can provide traversal sequences such as ../config/generic.json. When the affected post is subsequently retrieved through the API, RansomLook resolves and reads the attacker-controlled path and returns the contents of the referenced file Base64-encoded in the API response. This can allow an attacker (being admin) controlling imported post data to read arbitrary files accessible to the RansomLook process, potentially exposing sensitive configuration data, API credentials, password hashes, or other application secrets. The attack does not require the malicious upstream to possess an account on the affected RansomLook instance. The vulnerability is addressed by resolving screen paths with os.path.realpath() and verifying that the resolved path remains beneath the application's source/ directory. Validation is performed both when values are written and immediately before files are read. Using canonical paths also prevents traversal through symbolic links that would bypass purely lexical path normalization checks.

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