Слабость была выявлена в 0215AndrewFeng ACE-MCP до 4.10.8. Пораженным элементом является функция get_file_snippet файла getFileSnippet.ts компонента MCP Tool. Выполнение манипулирования аргументом projectRootPath/filePath может привести к обходу пути.
Атака может быть запущена дистанционно. Эксплойт стал общедоступным и может быть использован для атак. isPathInsideProjectRoot блокирует только filePath, избегая выбранного злоумышленником projectRootPath; сам корень является ненадежным вводом клиента - установить projectRootPath/etc, filePathhosts и охранник проходит. Проект был проинформирован об этой проблеме на ранней стадии в отчете о проблеме, но до сих пор не ответил.
Показать оригинальное описание (EN)
A weakness has been identified in 0215AndrewFeng ACE-MCP up to 4.10.8. The affected element is the function get_file_snippet of the file getFileSnippet.ts of the component MCP Tool. Executing a manipulation of the argument projectRootPath/filePath can lead to path traversal. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. isPathInsideProjectRoot only blocks filePath escaping the attacker-chosen projectRootPath; the root itself is untrusted client input - set projectRootPath=/etc, filePath=hosts and the guard passes. The project was informed of the problem early through an issue report but has not responded yet.
Характеристики атаки
Последствия
Строка CVSS v4.0