This module exploits an unauthenticated database backup vulnerability in WordPress plugin 'Boldgrid-Backup' also known as 'Total Upkeep' version < 1.14.10. First, `env-info.php` is read to get server information. Next, `restore-info.json` is read to retrieve the last backup file. That backup is then downloaded, and any sql files will be parsed looking for the wp_users INSERT statement to grab user creds.
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_total_upkeep_downloader
msf auxiliary(wp_total_upkeep_downloader) > show actions
...actions...
msf auxiliary(wp_total_upkeep_downloader) > set ACTION < action-name >
msf auxiliary(wp_total_upkeep_downloader) > show options
...show and set options...
msf auxiliary(wp_total_upkeep_downloader) > 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