-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Acronis Cyber Backup/Protect Info Disclosure [CVE-2022-30995] #19582
Open
h00die-gr3y
wants to merge
6
commits into
rapid7:master
Choose a base branch
from
h00die-gr3y:acronis-info-disclosure
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dear reviewers, |
6 tasks
adfoster-r7
reviewed
Oct 24, 2024
modules/auxiliary/gather/acronis_cyber_protect_machine_info_disclosure.rb
Outdated
Show resolved
Hide resolved
adfoster-r7
reviewed
Oct 24, 2024
modules/auxiliary/gather/acronis_cyber_protect_machine_info_disclosure.rb
Outdated
Show resolved
Hide resolved
adfoster-r7
approved these changes
Oct 24, 2024
modules/auxiliary/gather/acronis_cyber_protect_machine_info_disclosure.rb
Outdated
Show resolved
Hide resolved
modules/auxiliary/gather/acronis_cyber_protect_machine_info_disclosure.rb
Outdated
Show resolved
Hide resolved
modules/auxiliary/gather/acronis_cyber_protect_machine_info_disclosure.rb
Outdated
Show resolved
Hide resolved
adfoster-r7
requested changes
Oct 24, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some changes to make 👍
Indeed and I did ;-). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 option
json
will store all information at a file injson
format at the loot directory.You can use this file in combination with
jq
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.