| 标题 | zhayujie chatgpt-on-wechat (CowAgent) 2.0.4 Path Traversal Leading to Arbitrary File Read |
|---|
| 描述 | The /api/memory/content endpoint in the chatgpt-on-wechat Web Console accepts a filename parameter that is passed directly to the filesystem read operation without any path validation or sanitization. By using directory traversal sequences (../), an unauthenticated attacker can read any file on the server that is accessible to the application process. This includes system files (/etc/passwd, /etc/hosts), application configuration files containing full API keys, SSH keys, and any other sensitive data. |
|---|
| 来源 | ⚠️ https://github.com/zhayujie/chatgpt-on-wechat/issues/2734 |
|---|
| 用户 | Yu_Bao (UID 89348) |
|---|
| 提交 | 2026-03-31 12時37分 (6 月前) |
|---|
| 管理 | 2026-04-09 14時57分 (9 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 356552 [zhayujie chatgpt-on-wechat CowAgent 直到 2.0.4 API Memory Content Endpoint agent/memory/service.py dispatch filename 目录遍历] |
|---|
| 积分 | 20 |
|---|