| Titel | wonderwhy-er DesktopCommanderMCP 0.2.13 Improper Neutralization |
|---|
| Beschreibung | 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. |
|---|
| Quelle | ⚠️ https://github.com/wonderwhy-er/DesktopCommanderMCP/issues/217 |
|---|
| Benutzer | crem (UID 91252) |
|---|
| Einreichung | 03.10.2025 07:16 (vor 6 Monaten) |
|---|
| Moderieren | 08.10.2025 12:53 (5 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 327610 [wonderwhy-er DesktopCommanderMCP bis 0.2.13 src/command-manager.ts CommandManager erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|