
This repository contains an exploit for CVE-2024-10924, a vulnerability in the Really Simple SSL plugin for WordPress. It allows an attacker to bypass Two-Factor Authentication (2FA) onboarding and gain unauthorized administrative access to a WordPress site.
/reallysimplessl/v1/two_fa/skip_onboarding endpoint1 for the default admin) and the vulnerable domain.requests librarypip install requests
python3 exploit.py <domain> <user_id>
Example:
python3 exploit.py example.com 1
The exploit will print the wordpress_logged_in_* and wordpress_* cookies, which can be manually set in your browser to authenticate as the targeted user.
F12 or Right-click > Inspect).http://<domain>wordpress_logged_in_*wordpress_*http://<domain>/wp-admin to access the admin panel.This exploit is intended for educational and authorized testing purposes only.
Use this code responsibly. Unauthorized access to systems is illegal.