POC详情: 97f8ea18a9c6ace7b4f75a1437ec257afe2bd9bf

来源
关联漏洞
标题: Vite 安全漏洞 (CVE-2025-31125)
描述:Vite是Vite开源的一种新型的前端构建工具。 Vite存在安全漏洞,该漏洞源于存在暴露非允许文件内容问题。
描述
 Vite Development Server's @fs endpoint (CVE-2025-31125) to access sensitive files like /etc/passwd and /etc/hosts via crafted URLs.
介绍
**Vite Exploit (CVE-2025-31125)**

Description: Exploits path traversal in Vite Development Server's @fs endpoint (CVE-2025-31125) to access sensitive files like /etc/passwd and /etc/hosts via crafted URLs. 

Created by Muhammad Waseem.

**Usage:**
python vite_exploit.py -u http://target.com
python vite_exploit.py -f urls.txt -o output.txt

![image](https://github.com/user-attachments/assets/a3f3caf7-d487-4db0-a7e0-29a0e6e3c410)

![image](https://github.com/user-attachments/assets/62f056a7-6eef-4f49-80e2-183320c5fcc9)

Requirements:

Python 3.x
pip install requests colorama

**Disclaimer:** This tool is for educational purposes and authorized security testing only. The author is not responsible for any misuse or damage caused by this script. Use at your own risk.
Warning: Use with permission only. Unauthorized testing is illegal.
License: MIT
文件快照

[4.0K] /data/pocs/97f8ea18a9c6ace7b4f75a1437ec257afe2bd9bf ├── [5.9K] exploit.py └── [ 855] README.md 0 directories, 2 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。