CVE-2024-29188

Malicious directory junction can cause WiX RemoveFoldersEx to possibly delete elevated files

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.

Category

7.9
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.03%
Affected: wixtoolset issues
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-29188?
CVE-2024-29188 has been scored as a high severity vulnerability.
How to fix CVE-2024-29188?
To fix CVE-2024-29188, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-29188 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-29188 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-29188?
CVE-2024-29188 affects wixtoolset issues.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.