Katalog CVE

CVE-2026-95693

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

Streszczenie

W MISP metoda EventReport::uploadPicture przetwarza dostarczone przez wywołującego pole tmp_name, wywołując na nim file_exists(), mime_content_type() i exif_imagetype() przed weryfikacją, czy wartość jest prawdziwym uploadem PHP przez is_uploaded_file(). Uwierzytelniony użytkownik z uprawnieniem perm_add może podać dowolną ścieżkę systemu plików jako tmp_name, a aplikacja bada tę ścieżkę i zwraca różne komunikaty błędów w zależności od istnienia pliku, typu MIME lub formatu obrazu. Obserwując różne odpowiedzi, atakujący może enumerować istnienie plików na serwerze MISP i określić ich typ.

Ocena ryzyka

Luka umożliwia ujawnienie informacji o systemie plików serwera MISP każdemu użytkownikowi z rolą perm_add, co może pomóc w dalszych atakach poprzez ujawnienie lokalizacji wrażliwych plików, takich jak pliki konfiguracyjne czy klucze prywatne.

Rekomendacja

Zaktualizuj MISP do wersji z poprawką. Ogranicz przyznawanie uprawnienia perm_add tylko zaufanym użytkownikom i monitoruj logi pod kątem nietypowych żądań do funkcji uploadPicture.

Inne podatności w MISP

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

In MISP, the EventReport::uploadPicture method in processed a caller-supplied tmp_name field by invoking file_exists(), mime_content_type(), and exif_imagetype() on the supplied path before verifying that the value was a genuine PHP upload via is_uploaded_file(). An authenticated user holding the perm_add permission could supply an arbitrary filesystem path as the tmp_name value. The application would then probe that path and return distinct validation error messages depending on whether the file existed, its MIME type, or its image format. By observing the differing error responses, an attacker could enumerate the existence of files at arbitrary paths on the MISP server and determine their type.  This constitutes an information disclosure vulnerability: the server's filesystem layout and file types are leaked to any user with the perm_add role without requiring administrative access.  The vulnerability does not allow reading file contents, writing files, or executing code, but it can aid further attacks by revealing sensitive file locations (e.g., configuration files, private keys, or other artifacts) present on the host.

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