| 제목 | andreashappe cochise v0.4.1 RCE |
|---|
| 설명 | Cochise is an LLM-driven pentest agent that connects to target machines via SSH. Two vulnerabilities combine to enable a second-stage remote code execution chain:
SSH host key verification is explicitly disabled (known_hosts=None), allowing man-in-the-middle attacks and connections to attacker-controlled SSH servers without any warning.
Raw SSH command output (including merged stderr) is appended directly to the LLM conversation history as a tool message with no filtering, sanitization, or taint marking. The LLM then generates and executes subsequent commands based on this untrusted input.
An attacker who controls a machine that Cochise connects to can inject prompt-injection text into the SSH session output, causing the LLM to generate malicious commands that Cochise will execute. |
|---|
| 원천 | ⚠️ https://github.com/andreashappe/cochise/issues/13 |
|---|
| 사용자 | ez-lbz (UID 87033) |
|---|
| 제출 | 2026. 08. 04. AM 10:23 (1 월 ago) |
|---|
| 모더레이션 | 2026. 09. 12. PM 10:30 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 403205 [andreashappe cochise 까지 0.4.1 SSH Host Key ssh_connection.py asyncssh.connect 약한 인증] |
|---|
| 포인트들 | 20 |
|---|