| शीर्षक | Sunwood-ai-labs command-executor-mcp-server 0.1.0 Command Injection |
|---|
| विवरण | A command injection vulnerability (CWE-78) has been identified in command-executor-mcp-server version 0.1.0, specifically within the execute_command MCP tool in src/index.ts. The tool attempts to restrict execution to an allowlist by comparing only the first space-delimited token of the user‑supplied command string against allowed commands. After this prefix check succeeds, the full attacker‑controlled command string is passed to child_process.exec, which executes through a shell. An attacker with network access to the MCP interface can start with an allowed command (e.g., ls) and append shell metacharacters (; id) to execute arbitrary additional commands, leading to full host compromise. No fixed version is available at the time of reporting. |
|---|
| स्रोत | ⚠️ https://github.com/Sunwood-ai-labs/command-executor-mcp-server/issues/6 |
|---|
| उपयोगकर्ता | _Eternity_ (UID 97332) |
|---|
| सबमिशन | 15/04/2026 04:29 AM (2 महीनों पहले) |
|---|
| संयम | 01/05/2026 11:43 AM (16 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 360546 [Sunwood-ai-labs command-executor-mcp-server तक 0.1.0 MCP Interface src/index.ts execute_command अधिकार वृद्धि] |
|---|
| अंक | 20 |
|---|