You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Learn more on MITRE.
Impact
/getTask API具有路径遍历漏洞,可以读取任意json文件


例如直接获得配置文件:
/getTask?pid=data
将获取所有服务器id、安全密钥
/getTask?pid=token
将直接获得bot Token
Patches
更新server/msgapi.py或者整个项目到1.1.2及以上以修复漏洞