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.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.5%top 59.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
NuGetwix3.14.1GHSA-rf39-3f98-xr7r
NuGetwix4.0.5GHSA-rf39-3f98-xr7r
NuGetwixtoolset.sdk4.0.5GHSA-rf39-3f98-xr7r

Affected products (as reported)

VendorProductVersions
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

References