
CVE-2026-51031の任意のローカルファイル読み取りのPoC
flar3ad は、CVE-2026-51031 を利用してターゲットサーバーからファイルを読み取るツールです。FlareSolverr の API の /v1 エンドポイントと driver.get() 関数を利用して、この脆弱性を悪用します。詳細は xinyi のブログ で説明されています。
git clone https://github.com/daemoncibsec/flar3ad.git
cd flar3ad
python3 -m venv venv
source venv/bin/activate
pip install rich
pip install argparse
pip install requests
chmod +x flar3ad
venv を終了するには:
deactivate
ターゲットサーバーの /etc/passwd ファイルを読み取ります。
./flar3ad http://localhost:8191/ /etc/passwd