Katalog CVE

CVE-2026-95698

ŚrednieCVSS 5.3
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Streszczenie

Metoda findOrgImage w MISP buduje ścieżkę pliku z identyfikatora organizacji bez walidacji, co pozwala na path traversal. Uwierzytelniony użytkownik z możliwością tworzenia lub importowania zdarzeń może ustawić nazwę organizacji zawierającą sekwencje traversal, umożliwiając sprawdzenie istnienia dowolnych plików oraz odczyt plików z rozszerzeniami .png lub .svg.

Ocena ryzyka

Luka umożliwia ujawnienie informacji o istnieniu plików oraz odczyt wybranych plików graficznych, co może naruszyć poufność danych i wspomóc dalsze ataki.

Rekomendacja

Zaktualizuj MISP do wersji, która waliduje i oczyszcza nazwy organizacji przed użyciem w ścieżkach plików.

Inne podatności w MISP

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

The findOrgImage method in MISP's OrgImgHelper constructs a filesystem path by concatenating a user-supplied organization identifier with a fixed image directory and a file extension, then calls file_exists() on the resulting path. The organization name field is attacker-controllable through event import, which sets Org.name. Because no validation was performed on the field value before path construction, an organization name containing directory traversal sequences (e.g., ../../etc/passwd) would cause the path to resolve outside the intended org-image directory.  This yields two security impacts:   - an arbitrary file existence oracle, since file_exists() returns a boolean for any path the process can access.  - an arbitrary file read limited to files with .png or .svg extensions, because the resolved filename is returned and subsequently rendered or served to the requesting user. The vulnerability requires an authenticated user with the ability to create or import events that set the organization name.

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