Vulnerability · Published Mar 24, 2024 · Assigned by GitHub_M
CVE-2024-29187WiX based installers are vulnerable to binary hijack when run as SYSTEM
High 7.3
In plain English
A high-severity incorrect permission assignment in issues from wixtoolset. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | wix | 3.14.1 | GHSA-rf39-3f98-xr7r |
| NuGet | wix | 4.0.5 | GHSA-rf39-3f98-xr7r |
| NuGet | wixtoolset.sdk | 4.0.5 | GHSA-rf39-3f98-xr7r |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| wixtoolset | issues | < 3.14.1>= 4.0.0, < 4.0.5 |
Weakness: CWE-732 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H