Contentful MCP Server — сервер Model Context Protocol для Contentful Management API. До contentful/mcp-server 1.7.19 и contentful/mcp-tools 0.4.5, export_space и import_space в packages/mcp-tools/src/tools/jobs/space-to-space-migration/exportSpace.ts и packages/mcp-tools/src/tools/jobs/space-to-space-migration/importSpace.ts подвергают хост, прокси, rawProxy и небезопасные сетевые опции аргументам инструмента, управляемого LLM, и объединяют эти опции с сервером CONTENTFUL_MANAGEMENT_TOKEN. После того, как space_to_space_migration_handler включает инструменты миграции, прямой вызов MCP или быстрая инъекция через контролируемый злоумышленником контент Contentful может перенаправить запросы Contentful Management API и их заголовок Authorization на хост или прокси, контролируемый злоумышленником.
Обычные инструменты, которые используют createToolClient, не затронуты, потому что эти инструменты привязывают хост к конфигурации сервера. Экспозиция токена персонального доступа обеспечивает постоянный доступ out-of-band к каждому пространству Contentful в рамках токена. This issue is fixed in @contentful/mcp-server 1.7.19 and @contentful/mcp-tools 0.4.5.
Показать оригинальное описание (EN)
Contentful MCP Server is a Model Context Protocol server for the Contentful Management API. Prior to @contentful/mcp-server 1.7.19 and @contentful/mcp-tools 0.4.5, export_space and import_space in packages/mcp-tools/src/tools/jobs/space-to-space-migration/exportSpace.ts and packages/mcp-tools/src/tools/jobs/space-to-space-migration/importSpace.ts expose host, proxy, rawProxy, and insecure network options to LLM-controlled tool arguments and combine those options with the server's CONTENTFUL_MANAGEMENT_TOKEN. After space_to_space_migration_handler enables the migration tools, a direct MCP call or prompt injection through attacker-controlled Contentful content can redirect Contentful Management API requests and their Authorization header to an attacker-controlled host or proxy. The regular tools that use createToolClient are unaffected because those tools pin the host from server configuration. Exposure of the personal access token permits persistent out-of-band access to every Contentful space within the token's scope. This issue is fixed in @contentful/mcp-server 1.7.19 and @contentful/mcp-tools 0.4.5.
Характеристики атаки
Последствия
Строка CVSS v3.1