EasySpider Version 0.6.2 Windows 存在任意文件读取漏洞,攻击者可以读取EasySpider应用所在磁盘的任意文件而不受访问控制限制,该漏洞将导致严重的敏感信息泄露、系统崩溃等问题。
Summary
EasySpider Version 0.6.2 for Windows has an arbitrary file read vulnerability. An attacker can read any file on the disk where the EasySpider application is located without access control restrictions. This vulnerability may lead to sensitive information leakage, system crashes, and other issues.
By inputting an incorrect path, you can determine the absolute path of the EasySpider running directory.
If the running directory is under the C drive (users usually run it from the desktop, e.g., C:/Users/%USER%/Desktop/), it will affect system security. For example, you can read C:/Windows/win.ini using a Proof of Concept (POC).
Additionally, attackers can not only read system files but also access user information stored in the EasySpider\user_data directory, including cookies from third-party sites.
POC
GET /../../../../../../../../../Windows/win.ini HTTP/1.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,br
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Host: localhost:8074
摘要
EasySpider Version 0.6.2 Windows 存在任意文件读取漏洞,攻击者可以读取EasySpider应用所在磁盘的任意文件而不受访问控制限制,该漏洞将导致严重的敏感信息泄露、系统崩溃等问题。
Summary
EasySpider Version 0.6.2 for Windows has an arbitrary file read vulnerability. An attacker can read any file on the disk where the EasySpider application is located without access control restrictions. This vulnerability may lead to sensitive information leakage, system crashes, and other issues.
细节
EasySpider
运行目录的绝对路径。C:/Windows/win.ini
。 同时,攻击者不仅可以读取系统文件,还可以访问存储在EasySpider\user_data
目录下的用户信息,包括第三方站点的 Cookie 等内容。Details
EasySpider\user_data
directory, including cookies from third-party sites.POC
补丁
修改
\EasySpider\resources\app\server.js
的代码,确保用户提供的路径不包含任何不安全的路径遍历序列。Patch
Modify the code in
\EasySpider\resources\app\server.js
to ensure that the provided path does not contain any unsafe path traversal sequences.