Description
This module exploits an unauthenticated SQL injection vulnerability in the WordPress wp-automatic plugin (versions < 3.92.1) to achieve remote code execution (RCE). The vulnerability allows the attacker to inject and execute arbitrary SQL commands, which can be used to create a malicious administrator account. The password for the new account is hashed using MD5. Once the administrator account is created, the attacker can upload and execute a malicious plugin, leading to full control over the WordPress site.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/multi/http/wp_automatic_sqli_to_rcemsf undefined(wp_automatic_sqli_to_rce) > show actions ...actions...msf undefined(wp_automatic_sqli_to_rce) > set ACTION < action-name >msf undefined(wp_automatic_sqli_to_rce) > show options ...show and set options...msf undefined(wp_automatic_sqli_to_rce) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub