CVE-2024-29188 json
Malicious directory junction can cause WiX RemoveFoldersEx to possibly delete elevated files
published 2024-03-24 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-0956 , GHSA-jx4p-m4wm-vvjg
- cvss
- 7.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
WiX toolset lets developers create installers for Windows Installer, the Windows installation engine. The custom action behind WiX's `RemoveFolderEx` functionality could allow a standard user to delete protected directories. `RemoveFolderEx` deletes an entire directory tree during installation or uninstallation. It does so by recursing every subdirectory starting at a specified directory and adding each subdirectory to the list of directories Windows Installer should delete. If the setup author instructed `RemoveFolderEx` to delete a per-user folder from a per-machine installer, an attacker could create a directory junction in that per-user folder pointing to a per-machine, protected directory. Windows Installer, when executing the per-machine installer after approval by an administrator, would delete the target of the directory junction. This vulnerability is fixed in 3.14.1 and 4.0.5.
Patch / fix
- nuget wix 3.14.1, 4.0.5
- nuget WixToolset.Util.wixext 4.0.5
- firegiant wix_toolset 3.14.1, 4.0.5
- wixtoolset wix 3.14.1, 4.0.5
- firegiant wix_toolset_util 4.0.5
- wixtoolset util 4.0.5
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H |
| GitHub | 3.1 | 7.9 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | wix | <3.14.1 >=4.0.0, <4.0.5 |
3.14.1 4.0.5 |
| nuget | WixToolset.Util.wixext | <4.0.5 |
4.0.5 |
Affected products
- wixtoolset issues
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
References
-
github.com
/wixtoolset/wix/commit/2e5960b575881567a8807e6b8b9c513138b19742
web
-
github.com
/wixtoolset/wix3/commit/93eeb5f6835776694021f66d4226c262c67d487a
web
-
github.com
/wixtoolset/issues/security/advisories/GHSA-jx4p-m4wm-vvjg
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-29188
advisory
-
github.com
/wixtoolset/issues
package
Sources
- CVE List CVE-2024-29188
- GitHub Advisory GHSA-jx4p-m4wm-vvjg
- NVD CVE-2024-29188
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.