# Local Privilege Escalation when updating Acronis True Image

Acronis True Image's SYSTEM-privileged updater wrote inst.log to a user-writable temp path, allowing a symlink to overwrite arbitrary files like pci.sys and escalate to SYSTEM.

- Payout: $250
- Severity: medium
- Program: Acronis
- Found by: z3ron3
- Disclosed: 2024-08-27
- Write-up quality: 7/10
- Original: https://hackerone.com/reports/1075449
- Library page: https://bugbountylibrary.com/r/h1%3A1075449
- Tags: area:os domain:desktop impact:integrity impact:privesc kind:bounty platform:hackerone sev:medium tech:windows technique:chained vuln:misconfiguration vuln:privilege-escalation

**Target:** Acronis True Image updater (setupapp_amd64.exe) log file write
**Root cause:** The updater writes %temp%\Acronis\DriverSetup\inst.log with SYSTEM privileges into a directory a normal user can create/control, following symlinks without validating the target.
**Steps:**
1. `rmdir /S /Q %temp%\Acronis\DriverSetup` to clear existing dir
2. `mkdir %temp%\Acronis`
3. Create symlink `%temp%\Acronis\DriverSetup\inst.log` -> `C:\Windows\System32\drivers\pci.sys`
4. Trigger update via Account tab 'A new version is available' and click Update in installer
5. setupapp_amd64.exe writes log as SYSTEM, following symlink and overwriting pci.sys
6. Verify pci.sys MD5 changed to match inst.log content
**How found:** Noticed the updater writes a log into a user-writable %temp% path with SYSTEM privileges, then hypothesized a symlink could redirect the write to a protected file.
**Exploitation:** Attacker pre-creates the temp directory and plants a symlink from the log path to a privileged target file; when the SYSTEM updater writes its log, the target file is overwritten with attacker-influenced log content, enabling arbitrary privileged file overwrite and potential SYSTEM code execution.
**Escalation:** Overwriting a driver like pci.sys with controlled content could yield SYSTEM code execution.
**Insight:** Audit privileged installers/updaters for log or temp writes into user-controllable directories; a symlink planted before the SYSTEM write turns a benign log into an arbitrary file overwrite primitive.

## Proof of concept (copied exactly from the original report)

**Symlink inst.log to pci.sys for privileged overwrite**

```
CreateSymlink %temp%\Acronis\DriverSetup\inst.log C:\Windows\System32\drivers\pci.sys
```

**Delete existing DriverSetup temp directory**

```
rmdir /S /Q %temp%\Acronis\DriverSetup
```

