The POST SMTP WordPress plugin prior to 2.8.7 is affected by a privilege escalation where an unauthenticated user is able to reset the password of an arbitrary user. This is done by requesting a password reset, then viewing the latest email logs to find the associated password reset email.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/admin/http/wp_post_smtp_acct_takeover
msf auxiliary(wp_post_smtp_acct_takeover) > show actions
...actions...
msf auxiliary(wp_post_smtp_acct_takeover) > set ACTION < action-name >
msf auxiliary(wp_post_smtp_acct_takeover) > show options
...show and set options...
msf auxiliary(wp_post_smtp_acct_takeover) > run
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