| 标题 | GitHub AiondaDotCom/mcp-ssh <=v1.0.3 Command Injection |
|---|
| 描述 | AiondaDotCom/mcp-ssh is a MCP (Model Context Protocol) server that provides LLMs with access to functionalities of ssh clients that can interact with remote ssh servers such as sending commands or copy files. Command injection vulnerabilities exist in the tools. The issue arises from improper handling of user-supplied input passed to `child_process.exec` when constructing the SSH client command. While the implementation attempted to sanitize double quotes, this can be bypassed using command substitution constructs such as `$(...)`, allowing attackers to inject arbitrary system commands. |
|---|
| 来源 | ⚠️ https://github.com/AiondaDotCom/mcp-ssh/commit/cd2566a948b696501abfa6c6b03462cac5fb43d8 |
|---|
| 用户 | amgisn (UID 89170) |
|---|
| 提交 | 2025-08-18 22時18分 (8 月前) |
|---|
| 管理 | 2025-08-29 08時59分 (10 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 321862 [AiondaDotCom mcp-ssh 直到 1.0.3 server-simple.mjs 权限提升] |
|---|
| 积分 | 20 |
|---|