
AdForest <= 6.0.9 - Authentication Bypass to Admin
AdForest <= 6.0.9 - Authentication Bypass to Admin
Repo: Nxploited/CVE-2025-8359
Exploit Script:CVE-2025-8359.py
CVE: CVE-2025-8359
Vulnerability Type: Authentication Bypass
Affected Product: AdForest - Classified Ads WordPress Theme
Affected Versions: Up to and including 6.0.9
CVSS Score: 9.8 (Critical)
The AdForest theme for WordPress is vulnerable to an Authentication Bypass flaw in all versions up to 6.0.9.
Due to improper validation of user identity during authentication, an unauthenticated attacker can log in as any user, including administrators—without needing a password. This allows full compromise of WordPress sites using AdForest.
This repository contains a professional Python exploit script: CVE-2025-8359.py
The script automates exploitation, intelligently testing all possible phone number formats to maximize success.
It can authenticate as any user (including admin) and recover valid WordPress login cookies for hijacking sessions.
Key Features:
+, spaces, encoding, etc).Clone the repository:
git clone https://github.com/Nxploited/CVE-2025-8359.git
cd CVE-2025-8359
Install dependencies:
pip install requests
Run the exploit script:
python CVE-2025-8359.py -u "http://target.com/wordpress" -p "+966 555 555 555" -i 1
-u : Base URL of WordPress installation.-p : Target user's phone number (as stored in DB).-i : Target user ID (e.g., 1 for admin).-n : Name value (optional, default "test").Show script help:
python CVE-2025-8359.py -h
requestspip install requestsIf exploitation is successful:
[+] Logged in! Cookie: wordpress_logged_in_xxxxxx=xxxxxxx
You have a valid WordPress authentication cookie for the target user.
If all formats fail:
[-] All variants failed. Try other phone formats or check the database.
Once exploitation is successful, the script prints the recovered authentication cookie.
How to use the cookie:
wordpress_logged_in_... value./wp-admin/ on the target site. If the exploit succeeded, you will have admin access.Example (with Chrome extension):
wordpress_logged_in_xxxxxxxxxxxxx (as printed by the script)This project and exploit are for educational and authorized penetration testing purposes only.
The author is not responsible for any misuse or damage caused by this exploit.
Always obtain proper permission before testing any systems.