Уязвимость была обнаружена в wonderwhy-er DesktopCommanderMCP до 0.2.13. Пораженным элементом является функция extractBaseCommand файла src/command-manager.ts компонента Absolute Path Handler. Такая манипуляция приводит к командной инъекции.
Атака может быть выполнена дистанционно. Эксплойт был раскрыт общественности и может быть использован. Обычный вариант использования заключается в том, что AI просят что-то сделать, выбирает команды сам и обычно использует простые имена команд без абсолютных путей.
Любопытно, почему пользователь просит модель обойти ограничения таким образом. (...) Это потенциально может быть проблемой, но мы еще не слышали сообщений о том, что это проблема в реальных рабочих процессах. Мы оставим этот вопрос открытым для ситуаций, когда люди могут сообщить об этом как о проблеме в долгосрочной перспективе».
Показать оригинальное описание (EN)
A vulnerability has been found in wonderwhy-er DesktopCommanderMCP up to 0.2.13. The affected element is the function extractBaseCommand of the file src/command-manager.ts of the component Absolute Path Handler. Such manipulation leads to os command injection. The attack may be performed from remote. The exploit has been disclosed to the public and may be used. The vendor explains: "The usual use case is that AI is asked to do something, picks commands itself, and typically uses simple command names without absolute paths. It's curious why a user would ask the model to bypass restrictions this way. (...) This could potentially be a problem, but we are yet to hear reports of this being an issue in actual workflows. We'll leave this issue open for situations where people may report this as a problem for the long term."
Характеристики атаки
Последствия
Строка CVSS v4.0
Тип уязвимости (CWE)
Уязвимые продукты 1
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Wonderwhy-Er Desktopcommandermcp
cpe:2.3:a:wonderwhy-er:desktopcommandermcp:*:*:*:*:*:*:*:*
|
— |
<= 0.2.13
|