
Demonstrates arbitrary file write and privilege escalation in Hasleo Backup Suite Free <= 4.9.4 via symbolic links, enabling attackers to overwrite system files or place payloads in startup folders.
https://www.cve.org/CVERecord?id=CVE-2024-54910
This document explores a vulnerability that allows arbitrary file writes, leading to privilege escalation on a Windows System that has Hasleo Backup Suite Free <= 4.9.4 installed. It demonstrates how backup recovery operations, combined with symbolic links and low-privileged user operations, can overwrite critical system
Files or place malicious executables in sensitive directories, enabling attackers to gain administrative access. The methodology is divided into two phases: exploiting the file write vulnerability and escalating privileges by placing a malicious payload in the Windows startup folder.
Afected Version: Hasleo Backup Suite Free <= 4.9.4
Host specifications: Microsoft Windows 10 Pro 64-bit 10.0.19045
Arbitrary File Write Testing file permissions when recovering a backup, I spotted that the file goes with admin privileges to wherever we specify, creating the full path to the file, as C+\therestofthepath. We will develop every step as a low privileged user.
Steps To reproduce:
In order to escalate our privileges, we could for example place an executable in the startup windows folder:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Hasleo Backup Suite>C:\SymbolicLinks\CreateSymlink.exe C:\C+\Temp\pwned.exe "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\FULLPWN.exe"
Opened Link \RPC Control\pwned.exe -> ??\C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\FULLPWN.exe: 00000138 Press ENTER to exit and delete the symlink