| 제목 | lharries whatsapp-mcp v0.0.1 Path Traversal |
|---|
| 설명 | A CWE-22 (Path Traversal) vulnerability exists in the sendWhatsAppMessage function at main.go:237. The mediaPath parameter, received from user input via the /api/send HTTP endpoint, is passed directly to os.ReadFile() without any validation, sanitization, or path restriction checks. The application does not verify that the provided path is within an allowed directory or sanitize path traversal sequences (../).
More Details: https://github.com/lharries/whatsapp-mcp/issues/241
|
|---|
| 원천 | ⚠️ https://github.com/lharries/whatsapp-mcp/issues/241 |
|---|
| 사용자 | ybdesire (UID 83239) |
|---|
| 제출 | 2026. 05. 10. PM 02:51 (6 개월 ago) |
|---|
| 모더레이션 | 2026. 05. 31. PM 02:51 (21 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 367544 [lharries whatsapp-mcp 0.0.1 Send API Endpoint whatsapp-bridge/main.go SendMessageRequest mediaPath 디렉토리 순회] |
|---|
| 포인트들 | 20 |
|---|