CVE-2024-29188 Malicious directory junction can cause WiX RemoveFoldersEx to possibly delete elevated files
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nuget wix(NuGet) | < 3.14.1; = 3.6.0; = 3.6.0.1; = 3.7.0 +36 more | 3.14.1, 4.0.5 | Fixed |
| nuget WixToolset.Util.wixext(NuGet) | < 4.0.5; = 4.0.0; = 4.0.1; = 4.0.2 +2 more | 4.0.5 | Fixed |
| wixtoolset issues | = < 3.14.1; = >= 4.0.0, < 4.0.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nuget wix(NuGet) | < 3.14.1 | 3.14.1 |
| nuget wix(NuGet) | >= 4.0.0, < 4.0.5 | 4.0.5 |
| nuget WixToolset.Util.wixext(NuGet) | < 4.0.5 | 4.0.5 |
| nuget wix(NuGet) | = 3.10.0 | No fix listed |
| nuget wix(NuGet) | = 3.10.0.1719-pre | No fix listed |
| nuget wix(NuGet) | = 3.10.0.1726-pre | No fix listed |
| nuget wix(NuGet) | = 3.10.0.2103-pre | No fix listed |
| nuget wix(NuGet) | = 3.10.0.2103-pre1 | No fix listed |
| nuget wix(NuGet) | = 3.10.1 | No fix listed |
| nuget wix(NuGet) | = 3.10.2 | No fix listed |
| nuget wix(NuGet) | = 3.10.3 | No fix listed |
| nuget wix(NuGet) | = 3.10.4 | No fix listed |
| nuget wix(NuGet) | = 3.11.0 | No fix listed |
| nuget wix(NuGet) | = 3.11.0.1507-rc | No fix listed |
| nuget wix(NuGet) | = 3.11.0.1528-rc2 | No fix listed |
| nuget wix(NuGet) | = 3.11.0.321-pre | No fix listed |
| nuget wix(NuGet) | = 3.11.0.504-pre | No fix listed |
| nuget wix(NuGet) | = 3.11.0.906-pre | No fix listed |
| nuget wix(NuGet) | = 3.11.1 | No fix listed |
| nuget wix(NuGet) | = 3.11.2 | No fix listed |
| nuget wix(NuGet) | = 3.14.0 | No fix listed |
| nuget wix(NuGet) | = 3.6.0 | No fix listed |
| nuget wix(NuGet) | = 3.6.0.1 | No fix listed |
| nuget wix(NuGet) | = 3.7.0 | No fix listed |
| nuget wix(NuGet) | = 3.7.0.1 | No fix listed |
Show 23 more
| Product | Affected versions | Fixed in |
|---|---|---|
| nuget wix(NuGet) | = 3.8.0 | No fix listed |
| nuget wix(NuGet) | = 3.8.0.1 | No fix listed |
| nuget wix(NuGet) | = 3.9.0 | No fix listed |
| nuget wix(NuGet) | = 3.9.0.1 | No fix listed |
| nuget wix(NuGet) | = 3.9.2 | No fix listed |
| nuget wix(NuGet) | = 3.9.2.1 | No fix listed |
| nuget wix(NuGet) | = 4.0.0 | No fix listed |
| nuget wix(NuGet) | = 4.0.0.2926-pre | No fix listed |
| nuget wix(NuGet) | = 4.0.0.3226-pre | No fix listed |
| nuget wix(NuGet) | = 4.0.0.3922-pre | No fix listed |
| nuget wix(NuGet) | = 4.0.0.4506-pre | No fix listed |
| nuget wix(NuGet) | = 4.0.0.5512-pre | No fix listed |
| nuget wix(NuGet) | = 4.0.1 | No fix listed |
| nuget wix(NuGet) | = 4.0.2 | No fix listed |
| nuget wix(NuGet) | = 4.0.3 | No fix listed |
| nuget wix(NuGet) | = 4.0.4 | No fix listed |
| nuget WixToolset.Util.wixext(NuGet) | = 4.0.0 | No fix listed |
| nuget WixToolset.Util.wixext(NuGet) | = 4.0.1 | No fix listed |
| nuget WixToolset.Util.wixext(NuGet) | = 4.0.2 | No fix listed |
| nuget WixToolset.Util.wixext(NuGet) | = 4.0.3 | No fix listed |
| nuget WixToolset.Util.wixext(NuGet) | = 4.0.4 | No fix listed |
| wixtoolset issues | = < 3.14.1 | No fix listed |
| wixtoolset issues | = >= 4.0.0, < 4.0.5 | No fix listed |
References
- https://github.com/wixtoolset/issues/security/advisories/GHSA-jx4p-m4wm-vvjg vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/wixtoolset/wix/commit/2e5960b575881567a8807e6b8b9c513138b19742 patch
- https://github.com/wixtoolset/wix3/commit/93eeb5f6835776694021f66d4226c262c67d487a patch
- github.com
- github.com product