This module exploits an authentication bypass vulnerability in the WordPress Really Simple SSL plugin (versions 9.0.0 to 9.1.1.1). The vulnerability allows bypassing two-factor authentication (2FA) and uploading a plugin to achieve remote code execution (RCE). Note: For the system to be vulnerable, 2FA must be enabled on the target site; otherwise, the exploit will not work.
Linux,PHP,Unix,Windows
php, cmd
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_reallysimplessl_2fa_bypass_rce
msf exploit(wp_reallysimplessl_2fa_bypass_rce) > show targets
...targets...
msf exploit(wp_reallysimplessl_2fa_bypass_rce) > set TARGET < target-id >
msf exploit(wp_reallysimplessl_2fa_bypass_rce) > show options
...show and set options...
msf exploit(wp_reallysimplessl_2fa_bypass_rce) > exploit
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security