提交 #793558: zhayujie chatgpt-on-wechat (CowAgent) 2.0.4 Path Traversal Leading to Arbitrary File Read信息

标题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

Do you need the next level of professionalism?

Upgrade your account now!