WiX based installers are vulnerable to binary hijack when run as SYSTEM
wixtoolset issues
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| wix NuGet |
|
|
| WixToolset.Sdk NuGet |
|
|
wixtoolset issues
| Product | Affected | Fixed in |
|---|---|---|
| wix NuGet |
|
|
| WixToolset.Sdk NuGet |
|
|
WiX toolset lets developers create installers for Windows Installer, the Windows installation engine. When a bundle runs as SYSTEM user, Burn uses GetTempPathW which points to an insecure directory C:\Windows\Temp to drop and load multiple binaries. Standard users can hijack the binary before it's loaded in the application resulting in elevation of privileges. This vulnerability is fixed in 3.14.1 and 4.0.5.
From the CVE record · GitHub_M
When a WiX bundle runs as SYSTEM, Burn drops and loads binaries from the insecure C:\Windows\Temp directory. A local standard user can hijack a binary before it loads and gain elevated privileges.
Teams using NuGet wix versions below 3.14.1 or from 4.0.0 to below 4.0.5, or WixToolset.Sdk versions below 4.0.5, should check their installations.