| Titolo | tufantunc ssh-mcp 1.5 Command Injection |
|---|
| Descrizione | 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. |
|---|
| Fonte | ⚠️ https://github.com/tufantunc/ssh-mcp/issues/44 |
|---|
| Utente | BlackBird_BB (UID 96773) |
|---|
| Sottomissione | 07/04/2026 05:37 (6 mesi fa) |
|---|
| Moderazione | 25/04/2026 17:52 (19 days later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 359619 [tufantunc ssh-mcp fino a 1.5.0 src/index.ts shell.write description escalationi di privilegi] |
|---|
| Punti | 20 |
|---|