Katalog CVE

CVE-2026-81735

KrytyczneCVSS 10.0
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W pakiecie mcp-http-server w UI-TARS-desktop, plik startServer.ts domyślnie ustawiał adres nasłuchu na '::' (wszystkie interfejsy), a middleware uwierzytelniający był opcjonalny – stosowany tylko gdy wywołujący go dostarczy. Punkty wejścia @agent-infra/mcp-server-commands i @agent-infra/mcp-server-filesystem wywołują startSseAndStreamableHttpMcpServer z hostem i portem, bez middleware, więc serwery nie wymagały poświadczeń. Serwer commands udostępnia narzędzie run_command, które przekazuje polecenie do child_process.exec, umożliwiając nieuwierzytelnionym klientom wykonanie dowolnych poleceń. Serwer filesystem udostępniał narzędzia do odczytu i zapisu plików na tych samych zasadach. Domyślny adres nasłuchu zmieniono na 127.0.0.1 w commicie c2ad42e3eb9b27830db41a3e6f51ca7179d9b168; wersja pakietu pozostała 1.2.4.

Ocena ryzyka

Nieuwierzytelniony atakujący w sieci może wykonać dowolne polecenia na serwerze lub odczytywać i zapisywać pliki, co prowadzi do pełnej kompromitacji systemu.

Rekomendacja

Zastosuj commit c2ad42e3eb9b27830db41a3e6f51ca7179d9b168 lub nowszy, który domyślnie ustawia nasłuch na 127.0.0.1, oraz skonfiguruj wymagane uwierzytelnianie.

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

startServer.ts in the mcp-http-server package of UI-TARS-desktop defaulted its listen address to '::' when no host was given, so startSseAndStreamableHttpMcpServer bound the Streamable HTTP and SSE MCP transports to every interface, and its authentication middleware was optional: middlewares are applied only when a caller supplies them. The @agent-infra/mcp-server-commands and @agent-infra/mcp-server-filesystem entry points call startSseAndStreamableHttpMcpServer with a host and port alone and pass no middleware, so neither server required a credential. The commands server exposes a run_command tool that hands its caller-supplied command string to promisify(child_process.exec), so any unauthenticated client able to reach the port could run arbitrary commands as the user running the server, and the filesystem server exposed its file read and write tools on the same terms. The listen default became 127.0.0.1 in commit c2ad42e3eb9b27830db41a3e6f51ca7179d9b168; the package version stayed at 1.2.4 across that change, so the boundary is the commit rather than a release.

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