Closed h00die-gr3y closed 2 days ago
Dear reviewers, Please review this module in combination with https://github.com/rapid7/metasploit-framework/pull/19583. Thanks !
Some changes to make 👍
Indeed and I did ;-). See my question at the other PR https://github.com/rapid7/metasploit-framework/pull/19583 on the mixin.
Added mixin with logic that can be used across the two Acronis modules (This PR https://github.com/rapid7/metasploit-framework/pull/19582 and PR https://github.com/rapid7/metasploit-framework/pull/19583)
Adds an auxiliary module which exploits a Sensitive information disclosure due to improper authentication vulnerability in Acronis Cyber Protect 15 before build 29486 and Acronis Cyber Backup 12.5 before build 16545
Acronis Cyber Protect or Backup is an enterprise backup/recovery solution for all, compute, storage and application resources. Businesses and Service Providers are using it to protect and backup all IT assets in their IT environment.
This module exploits an authentication bypass vulnerability at the Acronis Cyber Protect appliance which, in its default configuration, allows the anonymous registration of new backup/protection agents on new endpoints. This API endpoint also generates bearer tokens which the agent then uses to authenticate to the appliance. As the management web console is running on the same port as the API for the agents, this bearer token is also valid for any actions on the web console. This allows an attacker with network access to the appliance to start the registration of a new agent, retrieve a bearer token that provides admin access to the available functions in the web console.
This module will gather all machine info (endpoints) configured and managed by the appliance. This information can be used in a subsequent attack that exploits this vulnerability to execute arbitrary commands on both the managed endpoint and the appliance itself which is covered in another module
exploit/multi/acronis_cyber_protect_unauth_rce_cve_2022_3405
.Acronis Cyber Protect 15 (Windows, Linux) before build 29486 and Acronis Cyber Backup 12.5 (Windows, Linux) before build 16545 are vulnerable.
The following releases were tested.
Acronis Cyber Protect 15 ISO appliances:
Acronis Cyber Backup 12.5 ISO appliances:
Installation steps to install the Acronis Cyber Protect/Backup appliance
ovf
image.Install appliance
and configure the installation settings such as setting the root password and IP address using the optionchange installation settings
.ssh
on port22
via thewebui
viahttp://your_ip:9877
.webui
.You are now ready to test the module.
Verification Steps
msfconsole
auxiliary/gather/acronis_cyber_protect_machine_info_disclosure
set rhosts <ip-target>
run
Options
OUTPUT
You can use option
table
to print output of the gather info to the console (default). Choosing optionjson
will store all information at a file injson
format at the loot directory. You can use this file in combination withjq
for offline queries and processing.Scenarios
Acronis Cyber Backup 12.5 build 14330 VMware appliance
Acronis Cyber Backup 15 build 27009 VMware appliance
Limitations
No limitations.