metasploit-framework
metasploit-framework copied to clipboard
Add WordPress wp-automatic SQLi to RCE module (CVE-2024-27956)
Hello Metasploit Team,
This PR adds a new exploit module for the SQL injection vulnerability in the WordPress wp-automatic plugin, affecting versions prior to 3.92.1 (CVE-2024-27956). The vulnerability allows unauthenticated attackers to inject SQL commands, enabling them to create a malicious administrator account. Using the newly created admin account, the attacker can upload a plugin and achieve remote code execution (RCE).
Verification steps:
- Set up a vulnerable WordPress instance with the wp-automatic plugin version < 3.92.1.
- Use the provided Metasploit module to create an administrator account and exploit the site.
- Verify the execution of the uploaded plugin and subsequent RCE.
Let me know if you have any feedback or suggestions for improvements.