| tiêu đề | Nor2-io heim-mcp <=0.1.3 Command Injection |
|---|
| Mô tả | A command injection vulnerability exists in Nor2-io/heim-mcp due to unsafe use of child_process.exec when constructing Heim CLI commands with user-controlled input. Successful exploitation allows attackers to execute arbitrary shell commands with the privileges of the MCP server process. The following MCP tools construct command strings using user-supplied parameters and execute them via child_process.exec:
new_heim_application: interpolates path, openApiPath, name, version, language, and basePath parameters
deploy_heim_application: interpolates path parameter
deploy_heim_application_to_cloud: interpolates path parameter
Because exec invokes commands through a system shell, specially crafted input containing shell metacharacters (such as `;`, `&`, or `|`) may be interpreted as additional commands rather than treated as data.
For example, an attacker could supply a malicious value in path to inject arbitrary shell commands, which would then be executed with the privileges of the MCP server process.
The vulnerability results from shell-based command execution combined with direct interpolation of untrusted input. In MCP environments, LLM-generated tool parameters influenced by external content may trigger execution of injected commands without direct local user interaction.
|
|---|
| Nguồn | ⚠️ https://github.com/Nor2-io/heim-mcp/issues/1 |
|---|
| Người dùng | Yinci Chen (UID 94659) |
|---|
| Đệ trình | 21/03/2026 09:57 (cách đây 7 các tháng) |
|---|
| Kiểm duyệt | 05/04/2026 15:30 (15 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 355394 [Nor2-io heim-mcp đến 0.1.3 new_heim_application src/tools.ts registerTools nâng cao đặc quyền] |
|---|
| điểm | 20 |
|---|