mcp-searxng - это сервер Model Context Protocol, который предоставляет AI помощникам возможности веб-поиска и чтения URL через SearXNG. До 1.2.0, web_url_read передает URL на серверную сторону, в то время как assertUrlAllowed() в src/url-reader.ts запускается только при включенном MCP_HTTP_HARDEN, хотя MCP_HTTP_HARDEN по умолчанию отключен в src/http-security.ts. В конфигурации по умолчанию злоумышленник, который влияет на URL, выбранный пользователем или агентом AI, может сделать ресурсы конечных точек выборки сервера, частной сети или облака метаданных и вернуть их содержимое в контекст модели. file://URLs остается отклоненным, а отдельные обходы разрешения DNS и проверки перенаправления находятся за пределами этой записи.
Эта проблема исправлена в версии 1.2.0.
Показать оригинальное описание (EN)
mcp-searxng is a Model Context Protocol server that gives AI assistants web search and URL-reading capabilities through SearXNG. Prior to 1.2.0, web_url_read passes a caller-supplied URL to the server-side fetch path while assertUrlAllowed() in src/url-reader.ts runs only when MCP_HTTP_HARDEN is enabled, even though MCP_HTTP_HARDEN is disabled by default in src/http-security.ts. In the default configuration, an attacker who influences the URL selected by a user or AI agent can make the server fetch loopback, private-network, or cloud metadata endpoint resources and return their contents into the model context. file:// URLs remain rejected, and the separate DNS-resolution and redirect-validation bypasses are outside this record. This issue is fixed in version 1.2.0.
Характеристики атаки
Последствия
Строка CVSS v3.1