Gửi #798528: tufantunc ssh-mcp 1.5 Command Injectionthông tin

tiêu đềtufantunc ssh-mcp 1.5 Command Injection
Mô tả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.
Nguồn⚠️ https://github.com/tufantunc/ssh-mcp/issues/44
Người dùng
 BlackBird_BB (UID 96773)
Đệ trình07/04/2026 05:37 (cách đây 21 ngày)
Kiểm duyệt25/04/2026 17:52 (19 days later)
Trạng tháiđược chấp nhận
Mục VulDB359619 [tufantunc ssh-mcp đến 1.5.0 src/index.ts shell.write Mô tả nâng cao đặc quyền]
điểm20