Arbitrary Files and Folders Deletion vulnerability with Acronis Managed Machine Service
The Acronis Managed Machine Service follows mount points created by a low-privileged user, allowing deletion of arbitrary files and folders as SYSTEM. An attacker with limited code execution could delete protected files, causing denial of service or weakening security controls.
- Triaged in 32 hours
- Fixed in 6 months
- Paid in 46 hours
- Disclosed after 4.0 years
Summary: Using the latest version of Cyber Protection Agent (Version 12.5.23130) is possible to perform arbitrary Files and Folders Deletion as SYSTEM. The only requirement is to have limited code execution privileged (as a member of the Authenticated users group) in order to abuse this vulnerability.
Description: Using the latest version of Cyber Protection Agent is possible to perform Arbitrary Files and Folders Deletion as SYSTEM. The only requirement is to have limited code execution privileged in order to abuse this vulnerability. This can be achieved by creating specific mount points which can be linked to dedicated folders in order to create Denial of Service, reduce the security controls of the system (Applocker policies, removal of files associated to AV solutions) or create a condition that the attacker can abuse the gain higher privileges.
Steps To Reproduce: 1.Download the latest version for the Windows Agent URL: https://mc-beta-cloud.acronis.com/download/u/baas/4.0/12.5.23130/Cyber_Protection_Agent_for_Windows_web.exe
2.As admin account we will create some folder structures, since we do not want to alter the current state of the OS. 3.Run the following commands: mkdir C:\Windows\secret\1
4.Validate that indeed only high privileged accounts are allowed to perform actions, by checking the Security tab of this folder.
5.In this folder copy files and folders of your choosing just to validate that indeed they get removed.
6.As a low privileged account, download and compile the CreateMountPoint from https://github.com/googleprojectzero/symboliclink-testing-tools/tree/master/CreateMountPoint
7.Create the initial folder and then the mount point: mkdir C:\Acronis CreateMountPoint.exe C:\Acronis\PostRebootResult\ C:\Windows\secret\1\
8.Start the Procmon, from Sysinternals, and monitor "mms.exe"
9.Restart the Acronis Managed Machine Service.
10.The mount points created in C:\Acronis\PostRebootResult\ was removed and the content from c:\windows\secret\1\ folders as well.
11.You could use the command dir /s c:\Windows\secret to list the content (before and after).
Impact
This issue could potentially allow an non-privileged local account, or process, to perform Arbitrary Files and Folders Deletion as SYSTEM. This can be achieved by creating a specific mount point which can be linked to dedicated folders in order to create : -Denial of Service -Data Corruption -Reduce the security controls of the system (Applocker policies, removal of files associated to AV solutions) -Create a condition that the attacker can abuse the gain higher privileges.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the service does not properly validate or resolve mount points before deleting files, allowing a low-privileged user to redirect deletion to arbitrary locations.
Impact
A non-privileged local account or process could delete arbitrary files and folders as SYSTEM, leading to denial of service, data corruption, reduced security controls, or conditions for privilege escalation.
What the attacker needed
Limited code execution as authenticated user; local access to the system
How it was found
- Download and install the latest Windows Agent.
- As admin, create a protected folder structure and place test files in it.
- As a low-privileged user, create a mount point pointing to the protected folder.
- Monitor the mms.exe process with Procmon.
- Restart the Acronis Managed Machine Service.
- Observe that the mount point and the contents of the protected folder are deleted.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A mount point is like a shortcut that makes one folder appear inside another. The Acronis service runs with high privileges and, when it cleans up a folder, it follows these shortcuts and deletes files in the real target folder instead. A normal user can create such a shortcut, so they can trick the service into deleting important system files.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.