
React2Shell (CVE-2025-55182) POC
这个针对 React2Shell(CVE-2025-55182)漏洞的概念验证(PoC)仅用于教育和研究目的。
它旨在受控、授权且非生产的环境中,演示特定安全漏洞的存在及其潜在影响。
欢迎查看我的博客,了解 react2shell 漏洞的详细分析:https://vxsnipe.xyz/posts/react2shell/
➜ python poc.py -h
_____ ______ _____ _______ ___ _____ _ _ ______ _ _
| __ \| ____| /\ / ____|__ __|__ \ / ____| | | | ____| | | |
| |__) | |__ / \ | | | | ) | (___ | |__| | |__ | | | |
| _ /| __| / /\ \| | | | / / \___ \| __ | __| | | | |
| | \ \| |____ / ____ \ |____ | | / /_ ____) | | | | |____| |____| |____
|_| \_\______/_/ \_\_____| |_| |____|_____/|_| |_|______|______|______|
usage: poc.py [-h] -u URL -c COMMAND
CVE-2025-55182 POC by 0xSN1PE
options:
-h, --help show this help message and exit
-u, --url URL Target URL (e.g., http://localhost:3000/)
-c, --command COMMAND
Command to execute (e.g., 'id')
➜ python poc.py -u http://localhost:3000/ -c 'cat /etc/passwd'
此 PoC 附带一个 Dockerfile,可用于在受控且安全的环境中模拟 react2shell 漏洞。
docker build -t react2shell .
docker run -p 3000:3000 react2shell