The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-29187

CVE-2024-29187: WiX Toolset Privilege Escalation Flaw

CVE-2024-29187 is a privilege escalation vulnerability in WiX toolset where standard users can hijack binaries in C:\Windows\Temp to gain SYSTEM privileges. This article covers technical details, affected versions, and mitigations.

Updated: January 22, 2026

CVE-2024-29187 Overview

CVE-2024-29187 is a local privilege escalation vulnerability affecting the WiX toolset, a widely-used development framework that enables developers to create Windows Installer packages. The vulnerability exists in the Burn bootstrapper engine, which is responsible for managing bundle installations. When a bundle executes under the SYSTEM user context, the Burn engine utilizes the GetTempPathW Windows API function to determine the temporary file location, which defaults to C:\Windows\Temp. This directory has insecure permissions that allow standard users to write files, creating an opportunity for binary hijacking attacks that can result in elevation of privileges.

Critical Impact

Standard users can hijack binaries dropped by the Burn engine in the insecure temp directory before they are loaded, resulting in local privilege escalation to SYSTEM level access.

Affected Products

  • WiX toolset versions prior to 3.14.1
  • WiX toolset versions 4.x prior to 4.0.5
  • Applications using the Burn bootstrapper engine from affected WiX versions

Discovery Timeline

  • 2024-03-24 - CVE-2024-29187 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-29187

Vulnerability Analysis

This vulnerability is classified as CWE-732 (Incorrect Permission Assignment for Critical Resource). The core issue stems from the Burn bootstrapper engine's use of the Windows GetTempPathW API when running with elevated SYSTEM privileges. When a WiX bundle installer runs as SYSTEM (which is common during software deployments via enterprise management tools or when elevated installation is required), the temp path resolves to C:\Windows\Temp rather than a user-specific temp directory.

The C:\Windows\Temp directory maintains permissive access controls that allow standard users to create files. This design creates a race condition opportunity where an attacker can anticipate which binaries the Burn engine will drop and load, then place malicious versions of those binaries in the temp directory before the legitimate bundle execution occurs.

Root Cause

The root cause is the inappropriate use of the system temp directory (C:\Windows\Temp) when executing with SYSTEM privileges combined with the subsequent loading of binaries from this world-writable location. The Burn engine drops and loads multiple binaries from this insecure directory without implementing proper integrity verification or using a securely-permissioned location. This violates the security principle of least privilege and fails to account for the shared nature of the system temp directory.

Attack Vector

The attack requires local access to the target system and involves the following steps:

  1. Reconnaissance: The attacker identifies that a vulnerable WiX-based installer using the Burn engine will be executed with SYSTEM privileges (e.g., via scheduled deployment, user-initiated elevated install, or enterprise software distribution)

  2. Binary Prediction: The attacker determines which binaries the Burn engine will drop to C:\Windows\Temp during execution

  3. File Placement: Before the legitimate bundle runs, the attacker places malicious binaries with the same names in C:\Windows\Temp

  4. Privilege Escalation: When the Burn engine executes as SYSTEM and loads the hijacked binary, the attacker's malicious code runs with SYSTEM privileges

The attack exploits the Time-of-Check Time-of-Use (TOCTOU) window between when files are dropped and when they are loaded, combined with the insecure directory permissions.

Detection Methods for CVE-2024-29187

Indicators of Compromise

  • Unexpected executable files appearing in C:\Windows\Temp prior to scheduled software installations
  • Suspicious process creation events where child processes of WiX bundle installers execute from C:\Windows\Temp
  • File modification events in C:\Windows\Temp by low-privileged user accounts shortly before elevated installer execution
  • Unusual DLL or executable files in C:\Windows\Temp matching naming patterns used by WiX Burn engine

Detection Strategies

  • Monitor file creation events in C:\Windows\Temp by non-SYSTEM accounts, particularly for executable files (.exe, .dll)
  • Implement behavioral detection rules for SYSTEM processes loading binaries from C:\Windows\Temp where the file owner is a standard user
  • Use endpoint detection to alert on privilege escalation patterns involving temp directory binary execution
  • Audit WiX-based installers in your environment to identify those using vulnerable Burn engine versions

Monitoring Recommendations

  • Enable Windows Security event logging for file system auditing on C:\Windows\Temp
  • Configure SentinelOne Singularity to monitor for suspicious binary loading patterns from world-writable directories
  • Implement application allowlisting to prevent unauthorized executables from running in temp directories
  • Deploy behavioral AI detection to identify anomalous privilege escalation chains

How to Mitigate CVE-2024-29187

Immediate Actions Required

  • Upgrade WiX toolset to version 3.14.1 or later for the 3.x branch
  • Upgrade WiX toolset to version 4.0.5 or later for the 4.x branch
  • Rebuild existing installers using the patched WiX toolset versions
  • Audit deployed applications for vulnerable WiX bundle installers and prioritize updates
  • Implement application control policies to restrict execution from C:\Windows\Temp

Patch Information

The WiX development team has released security patches addressing this vulnerability. The fixes are available in versions 3.14.1 and 4.0.5. The patches modify the Burn engine to use a more secure temporary directory with appropriate access controls when running with elevated privileges. Security fixes can be reviewed in the following commits:

  • WiX 4.x patch commit
  • WiX 3.x patch commit

For detailed vulnerability information, refer to the GitHub Security Advisory GHSA-rf39-3f98-xr7r.

Workarounds

  • Restrict write access to C:\Windows\Temp for standard users where operationally feasible (may impact other applications)
  • Use application allowlisting solutions to prevent execution of unauthorized binaries from temp directories
  • Implement Software Restriction Policies or AppLocker rules blocking executable execution from C:\Windows\Temp
  • Monitor and clean C:\Windows\Temp before executing WiX-based installers in sensitive environments
  • Consider running vulnerable installers in isolated environments until patches can be applied
bash
# Example AppLocker rule to block executables from Windows Temp
# PowerShell command to create deny rule for %WINDIR%\Temp
New-AppLockerPolicy -RuleType Path -Path "%WINDIR%\Temp\*" -Action Deny -User Everyone

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechWixtoolset

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-732
  • Technical References
  • GitHub Security Advisory

  • GitHub Commit Update

  • GitHub Commit Update
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English