| 제목 | 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. PM 10:18 (8 개월 ago) |
|---|
| 모더레이션 | 2025. 08. 29. AM 08:59 (10 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 321862 [AiondaDotCom mcp-ssh 까지 1.0.3 server-simple.mjs 권한 상승] |
|---|
| 포인트들 | 20 |
|---|