| 标题 | 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 14時51分 (5 月前) |
|---|
| 管理 | 2026-05-31 14時51分 (21 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 367544 [lharries whatsapp-mcp 0.0.1 Send API Endpoint whatsapp-bridge/main.go SendMessageRequest mediaPath 目录遍历] |
|---|
| 积分 | 20 |
|---|