CVE-2024-29187:
WiX based installers are vulnerable to binary hijack when run as SYSTEM
7.3
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
3/25/2024
Updated
3/28/2024
KEV Status
No
Technology
C#
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
wix | nuget | < 3.14.1 | 3.14.1 |
wix | nuget | >= 4.0.0, < 4.0.5 | 4.0.5 |
WixToolset.Sdk | nuget | < 4.0.5 | 4.0.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from Burn's use of C:\Windows\Temp with insecure permissions when running as SYSTEM. The key functions identified: 1) CacheEnsureBaseWorkingFolder initially created directories without proper ACLs 2) DirEnsureExists implementations without security attributes left directories vulnerable 3) CopyEngineToWorkingFolder handled the insecure file copy operations. The GitHub commit shows these functions were modified to add SDDL-based security descriptors (D:PAI(...)) when elevated, confirming they were the vulnerable points. The pre-patch versions of these functions failed to restrict access to SYSTEM/Admins only, enabling file hijacking.