{"id":"CVE-2024-29187","aliases":["CVE-2024-29187","GHSA-rf39-3f98-xr7r"],"related":[],"kind":"vulnerability","state":"published","title":"WiX based installers are vulnerable to binary hijack when run as SYSTEM","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\nBurn uses an unprotected C:\\Windows\\Temp directory to copy binaries and run them from there. This directory is not entirely protected against low privilege users. \n\n### Details\nWhen 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.\n\nicacls c:\\windows\\temp\n\n   **BUILTIN\\Users:(CI)(S,WD,AD,X)** \nBUILTIN\\Administrators:(F)\nBUILTIN\\Administrators:(OI)(CI)(IO)(F)\nNT AUTHORITY\\SYSTEM:(F)\nNT AUTHORITY\\SYSTEM:(OI)(CI)(IO)(F)\n CREATOR OWNER:(OI)(CI)(IO)(F)\n                \nBuilt in users(non-administrators) have special permissions to this folder and can create files and write to this directory. While they do not have explicit read permissions, there is a way they can monitor the changes to this directory using ReadDirectoryChangesW API and thus figure out randomized folder names created inside this directory as wel\n \n\n### PoC\n\n PoC works against the against visual studio enterprise with update 3 [installer ](https://myvs.download.prss.microsoft.com/dbazure/en_visual_studio_enterprise_2015_with_update_3_x86_x64_dvd_8923288.iso?t=8132cd54-4b83-4478-8b73-fd9eb93437bf&P1=1709239640&P2=601&P3=2&P4=iorgKPv%2bG8n2NANTPUVoB92rr8t3W4XM594%2f9BtQQJrYrr8SwxGDxV%2fj%2f2F6Ulto0bXrIaFoZUr4yV37YAsOZVpM29IMtQEO0673AbDVuTe93qDb6wb7xdlpZSse0LZURUwwIFw5cwHQS2ZtvkunXE0osgXtEBT2IzVbPwVH39%2fum854xb4e2Dp61wgNrMZcOLLluBbeA3KX1sP3mm7WAWXBvlFiQWEnTfR5XH5mlLyPy2qfqCXWCjl84jNX7uY%2bpLR1IbfeD2JlcIQNeW2QrvmmqRrRbGvvaCA97IaSjM16XcDqVjvAEGW3sWXUc7y%2fEf68WZIyT7iilaEDUvaqqA%3d%3d&su=1)\n\n#### Reproduction steps\nAs a standard user, run the poc.\nMount the iso and run visual studio installer as local system account.\nThe PoC should hijack the the binaries dropped by vs installer and a child process \"notepad.exe\" will be running.\n\n### Impact\nThis is an Elevation of Privilege Vulnerability where a low privileged user can hijack binaries in an unprotected path C:\\Windows\\Temp to elevate to the SYSTEM user privileges.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El conjunto de herramientas WiX permite a los desarrolladores crear instaladores para Windows Installer, el motor de instalación de Windows. Cuando un paquete se ejecuta como usuario del SYSTEMA, Burn usa GetTempPathW que apunta a un directorio inseguro C:\\Windows\\Temp para colocar y cargar múltiples archivos binarios. Los usuarios estándar pueden secuestrar el binario antes de que se cargue en la aplicación, lo que resulta en una elevación de privilegios. Esta vulnerabilidad se solucionó en 3.14.1 y 4.0.5.","source":"nvd"}],"published":"2024-03-24T19:38:38.140Z","modified":"2026-09-10T03:50:11.017Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"}],"cwes":["CWE-732"],"affected":[{"ranges":[{"version":"< 3.14.1","status":"affected"},{"version":">= 4.0.0, < 4.0.5","status":"affected"}],"vendor":"wixtoolset","product":"issues","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"3.14.1","status":"affected"},{"type":"custom","introduced":"4.0.0","fixed":"4.0.5","status":"affected"}],"vendor":"wixtoolset_project","product":"burn","cpe":"cpe:2.3:a:wixtoolset_project:burn:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.14.1"}],"ecosystem":"NuGet","package":"wix","purl":"pkg:nuget/wix","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.0.5"}],"ecosystem":"NuGet","package":"wix","purl":"pkg:nuget/wix","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.0.5"}],"ecosystem":"NuGet","package":"WixToolset.Sdk","purl":"pkg:nuget/WixToolset.Sdk","source":"ghsa"}],"references":[{"url":"https://github.com/wixtoolset/issues/security/advisories/GHSA-rf39-3f98-xr7r","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/wixtoolset/wix/commit/75a8c75d4e02ea219008dc5af7d03869291d61f7","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/wixtoolset/wix3/commit/6d372e5169f1a334a395cdf496443bc0732098e9","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29187","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/wixtoolset/issues","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-08-13T14:26:34.154Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-29187","url":"https://www.cve.org/CVERecord?id=CVE-2024-29187","licence":"CVE Terms of Use","modified":"2024-08-13T14:28:49.838Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rf39-3f98-xr7r","url":"https://github.com/advisories/GHSA-rf39-3f98-xr7r","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:11.017Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-29187","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29187","licence":"Public domain","modified":"2026-06-17T07:22:35.303Z"}],"updatedAt":"2026-11-25T22:58:37.870Z","epss":{"score":0.00463,"percentile":0.4182,"date":"2026-12-01T12:00:22.000Z"}}