关联漏洞
描述
Vite is a frontend tooling framework for javascript. Vite exposes content of non-allowed files using ?inline&import or ?raw?import. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. This vulnerability is fixed in 6.2.4, 6.1.3, 6.0.13, 5.4.16, and 4.5.11.
介绍
**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 Harsh Gupta.
**Usage:**
python vite_exploit.py -u http://target.com
python vite_exploit.py -f urls.txt -o output.txt
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/84c8243d0d6c69030df1f7ceb3ae454aef327935
├── [5.9K] exploit.py
└── [ 671] README.md
0 directories, 2 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。