Soumettre #637028: GitHub AiondaDotCom/mcp-ssh <=v1.0.3 Command Injectioninformation

TitreGitHub AiondaDotCom/mcp-ssh <=v1.0.3 Command Injection
DescriptionAiondaDotCom/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.
La source⚠️ https://github.com/AiondaDotCom/mcp-ssh/commit/cd2566a948b696501abfa6c6b03462cac5fb43d8
Utilisateur
 amgisn (UID 89170)
Soumission18/08/2025 22:18 (il y a 8 mois)
Modérer29/08/2025 08:59 (10 days later)
StatutAccepté
Entrée VulDB321862 [AiondaDotCom mcp-ssh jusqu’à 1.0.3 server-simple.mjs élévation de privilèges]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!