8.3high
WiX is vulnerable to DLL redirection attacks that allow the attacker to escalate privileges
- Severity
- 8.3high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-7wh2-wxc7-9ph5
Description
WiX toolset lets developers create installers for Windows Installer, the Windows installation engine. The .be TEMP folder is vulnerable to DLL redirection attacks that allow the attacker to escalate privileges. This impacts any installer built with the WiX installer framework. This issue has been patched in version 4.0.4.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| wixtoolset issues | <= 4.0.3 | CVE List |
| firegiant wix_toolset | before 3.14.0, from 4.0.0 before 4.0.4 | CVE List, NVD |
| wix (NuGet) | from 4.0.0 before 4.0.4, before 3.14.0 | GitHub Advisory Database |
All scores
| GitHub_M | 8.3high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 8.2high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
WiX toolset lets developers create installers for Windows Installer, the Windows installation engine. The .be TEMP folder is vulnerable to DLL redirection attacks that allow the attacker to escalate privileges. This impacts any installer built with the WiX installer framework. This issue has been patched in version 4.0.4.
GitHub Advisory Database
Summary
.be TEMP folder is vulnerable to DLL redirection attacks that allow the attacker to escalate privileges.
Details
If the bundle is not run as admin, the user's TEMP folder is used and not the system TEMP folder. A utility is able to monitor the user's TEMP folder for changes and drop its own DLL into the .be/<bundle>.Local folder immediately when the .be folder is created. When the burn engine elevates, the malicious DLL receives elevated privileges.
PoC
As a standard, non-admin user:
- Monitor the user's TEMP folder for changes using ReadDirectoryChangesW
- On FILE_ACTION_ADDED, check if the folder name is .be
- Create a folder in .be named after the bundle + .Local (e.g. MyInstaller.exe.Local)
- Put the malicious COMCTL32.DLL in the .Local folder following the naming used for the real DLL (e.g. MyInstaller.exe.Local/x86_microsoft.windows.common-controls_.../COMCTL32.dll)
- Do hacker things when the engine escalates and the malicious DLL is loaded
Proper naming for the path can be obtained by using GetModuleHandle("comctl32.dll") and GetModuleFileName.
Impact
DLL redirection utilizing .exe.Local Windows capability. This impacts any installer built with the WiX installer framework.
NVD (es)
El conjunto de herramientas WiX permite a los desarrolladores crear instaladores para Windows Installer, el motor de instalación de Windows. La carpeta .be TEMP es vulnerable a ataques de redirección de DLL que permiten al atacante escalar privilegios. Esto afecta a cualquier instalador creado con el marco de instalación de WiX. Este problema se solucionó en la versión 4.0.4.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-24810 changed 2024-08-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7wh2-wxc7-9ph5 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-24810 changed 2026-06-17 | Public domain |