CVE-2026-57898
KrytyczneCVSS 9.0Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 36 - wyżej niż 36% wszystkich znanych CVE
Streszczenie
W Eclipse BaSyx Java Server SDK od wersji 2.0.0-milestone-05 do 2.0.0-milestone-12, wdrożenia korzystające z bazy MongoDB są podatne na nieuwierzytelniony zapis dowolnego pliku przez API miniatur AAS. Atakujący może przesłać plik z kontrolowaną nazwą, a następnie wywołać jego odczyt, co skutkuje zapisem danych w dowolnej lokalizacji na serwerze.
Ocena ryzyka
Ryzyko obejmuje możliwość zapisu złośliwych plików (np. skryptów) w dowolnym miejscu systemu plików, do którego proces Java ma uprawnienia zapisu, co może prowadzić do zdalnego wykonania kodu i pełnego przejęcia serwera.
Rekomendacja
Należy natychmiast zaktualizować Eclipse BaSyx Java Server SDK do wersji 2.0.0-milestone-13 lub nowszej. Jeśli aktualizacja nie jest możliwa, tymczasowo wyłącz funkcję przesyłania miniatur AAS lub przełącz się na backend InMemory.
Oryginalny opis (angielski, źródło NVD)
In Eclipse BaSyx Java Server SDK versions 2.0.0-milestone-05 to 2.0.0-milestone-12, deployments using the MongoDB backend are vulnerable to an unauthenticated arbitrary file write through the AAS thumbnail API. The AAS thumbnail upload path accepted a client-controlled fileName request parameter and passed it through repository file handling as both a repository key and, during thumbnail retrieval, a local filesystem path. With the MongoDB file repository, the supplied filename was treated as an opaque GridFS key and was not normalized or restricted as a filesystem path. A remote attacker could upload thumbnail content using an absolute or traversal-style filename, then trigger thumbnail retrieval so that the uploaded bytes were written to the attacker-chosen path on the server filesystem. This could allow writing files anywhere the Java process has permission to write and may lead to remote code execution. The default InMemory backend is not affected by this specific path because it normalizes and restricts file paths to its temporary directory. The issue is fixed in Eclipse BaSyx Java Server SDK 2.0.0-milestone-13.

