Rapid7 Vulnerability & Exploit Database

WordPress Easy WP SMTP Password Reset

Back to Search

WordPress Easy WP SMTP Password Reset

Disclosed
12/06/2020
Created
12/19/2020

Description

Wordpress plugin Easy WP SMTP versions <= 1.4.2 was found to not include index.html within its plugin folder. This potentially allows for directory listings. If debug mode is also enabled for the plugin, all SMTP commands are stored in a debug file. An email must have been sent from the system as well to create the debug file. If an email hasn't been sent (Test Email function not included), Aggressive can bypass the last check. Combining these items, it's possible to request a password reset for an account, then view the debug file to determine the link that was emailed out, and reset the user's password.

Author(s)

  • h00die

Development

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 auxiliary/scanner/http/wp_easy_wp_smtp
msf auxiliary(wp_easy_wp_smtp) > show actions
    ...actions...
msf auxiliary(wp_easy_wp_smtp) > set ACTION < action-name >
msf auxiliary(wp_easy_wp_smtp) > show options
    ...show and set options...
msf auxiliary(wp_easy_wp_smtp) > 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

;