| Titre | tufantunc ssh-mcp 1.5 Command Injection |
|---|
| Description | A command injection flaw exists in ssh-mcp when su mode is active and the description field is appended into shell input. description only escapes # but not line breaks, so a value like foo\nuseradd hacker is written into the root shell session (shell.write()), causing attacker-controlled commands to execute as root. This gives an adversary arbitrary root command execution through a seemingly innocuous metadata field and is a critical privilege escalation vector. |
|---|
| La source | ⚠️ https://github.com/tufantunc/ssh-mcp/issues/44 |
|---|
| Utilisateur | BlackBird_BB (UID 96773) |
|---|
| Soumission | 07/04/2026 05:37 (il y a 21 jours) |
|---|
| Modérer | 25/04/2026 17:52 (19 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 359619 [tufantunc ssh-mcp jusqu’à 1.5.0 src/index.ts shell.write Description élévation de privilèges] |
|---|
| Points | 20 |
|---|