| tiêu đề | wonderwhy-er DesktopCommanderMCP 0.2.13 Improper Neutralization |
|---|
| Mô tả | Command Blocklist Bypass Via Command Substitution
The command validation logic in the CommandManager class class is vulnerable to a bypass when an attacker uses shell command substitution syntax, such as $(...) or backticks (`...`). The parser does not recognise or recursively validate commands nested within this syntax. This allows a blocked command (e.g., sudo) to be executed by embedding it within an allowed command (like echo).
This vulnerability allows a malicious actor to completely bypass the command blocklist, leading to arbitrary command execution. A malicious prompt could bypass the blocklist and run any command. The severity would vary depending on the privileges of the user running the server. |
|---|
| Nguồn | ⚠️ https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/217 |
|---|
| Người dùng | crem (UID 91252) |
|---|
| Đệ trình | 03/10/2025 07:16 (cách đây 10 các tháng) |
|---|
| Kiểm duyệt | 08/10/2025 12:53 (5 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 327610 [wonderwhy-er DesktopCommanderMCP đến 0.2.13 src/command-manager.ts CommandManager nâng cao đặc quyền] |
|---|
| điểm | 20 |
|---|