CVE-2024-38014
High · 7.8 CISA KEVCVSS
7.8
EPSS
6.3%
Published
Sep 10, 2024
CISA due date
Oct 1, 2024
Cloudanix analysis
An attacker who has already gained basic access to a Windows computer can use this flaw to take full control of it unless the system is updated.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Application
- Class
- Privilege Escalation
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
CVE-2024-38014 is a Windows Installer privilege-escalation vulnerability caused by improper privilege management. An attacker who already has local code execution as a standard user can abuse Windows Installer behavior to perform actions with elevated privileges, potentially gaining NT AUTHORITY\SYSTEM-level execution. This is not typically an initial remote-entry vulnerability; it is used after compromise to escalate from a low-privileged foothold to full local control of the Windows host.
Why it matters to the business
Successful exploitation can let an intruder take complete control of an affected Windows endpoint or server, disable security tools, dump credentials, move laterally, install persistence, and access sensitive data available to the system. Because this vulnerability is listed in CISA KEV, has active in-the-wild exploitation, and had a CISA remediation deadline of 2024-10-01, unpatched systems should be treated as high-priority exposure even though the vulnerability requires local access first.
How an attack unfolds
An attacker first obtains local execution on a Windows system through another vector such as phishing, stolen credentials, malware, exposed remote access, or exploitation of a separate service. From that low-privileged context, the attacker triggers Windows Installer functionality in a way that abuses the improper privilege boundary. The vulnerable installer workflow performs attacker-influenced actions with elevated privileges, allowing the attacker to run code or modify protected system state as SYSTEM. Once elevated, the attacker can create privileged users, install services or scheduled tasks, tamper with endpoint defenses, extract credentials, and use the host as a launch point for broader compromise. Public reporting indicates active exploitation in the wild, so defenders should assume this vulnerability may be used as a post-compromise escalation technique rather than waiting for obvious external scanning activity.
How to fix it
Apply the Microsoft security updates that address CVE-2024-38014. In practice, systems should be updated to the September 2024 Windows security update level or later for their supported Windows release. Prioritize internet-facing management servers, jump hosts, VDI images, domain-joined workstations, shared servers, and systems used by administrators. If immediate patching is not possible, reduce risk by limiting local interactive access, removing unnecessary local administrator rights, enforcing application control, monitoring and restricting msiexec.exe usage where operationally feasible, disabling unnecessary installer execution paths, and ensuring endpoint protection cannot be tampered with by non-administrative users. There are no package-specific fixed versions provided in the input, so rely on the applicable Microsoft cumulative update for each Windows build.
How to confirm the fix worked
Confirm the relevant Microsoft cumulative security update from September 2024 or later is installed on each Windows asset. Validate using centralized patch management, Windows Update history, vulnerability scanning, or host queries such as installed hotfix/build-level checks appropriate to the Windows version. Confirm scanners no longer report CVE-2024-38014. Where possible, test on a representative system that Windows Installer still functions normally after patching. Also validate that standard users cannot launch unapproved installer workflows that result in elevated child processes, service creation, protected file writes, or privileged registry changes.
Typical attack path
- Gain initial local code execution as a standard or low-privileged Windows user.
- Stage a crafted installer package, installer-related file, or command sequence that interacts with Windows Installer.
- Invoke Windows Installer or a vulnerable installer operation from the low-privileged context.
- Abuse the improper privilege management condition to cause elevated actions to occur under SYSTEM or another privileged context.
- Execute attacker-controlled code, write protected files, or alter privileged configuration.
- Establish persistence through a service, scheduled task, startup item, or privileged account.
- Disable defenses, collect credentials, and move laterally to additional systems.
How to detect it
There are no universally reliable public file hashes or single log strings that prove exploitation of this vulnerability, so detection should focus on behavior around Windows Installer followed by privilege escalation. Review Windows Security logs, Application logs, Microsoft-Windows-Windows Installer logs, Sysmon, EDR process telemetry, service-control events, scheduled-task logs, and endpoint protection alerts. Look for msiexec.exe launched by a non-administrative user, especially from user-writable paths such as Downloads, Desktop, AppData, Temp, or ProgramData; msiexec.exe using quiet or unattended flags; installer activity that immediately spawns cmd.exe, powershell.exe, wscript.exe, cscript.exe, rundll32.exe, regsvr32.exe, or other interpreters; and child processes running as NT AUTHORITY\SYSTEM without a legitimate software deployment context. Correlate Windows Installer events with Security Event ID 4688 process creation, 4672 special privileges assigned, 4697 service installation, 4720 user creation, 4732 local group membership changes, System Event ID 7045 service creation, and Task Scheduler operational events such as 106, 140, and 200. Investigate new files or renamed binaries in C:\Windows\Installer, C:\ProgramData, C:\Users\*\AppData\Local\Temp, and other user-writable locations around the time of suspicious installer execution. Because this vulnerability is known to be exploited in the wild, any suspicious installer-driven elevation on an unpatched host should be treated as potential compromise.
- msiexec.exe
- MsiInstaller
- Windows Installer
- C:\\Windows\\Installer\\
- C:\\Users\\*\\AppData\\Local\\Temp\\
- C:\\ProgramData\\
- msiexec.exe /quiet
- msiexec.exe /qn
- msiexec.exe /i http
- msiexec.exe /i \\
- msiexec.exe /package
- msiexec.exe /update
- NT AUTHORITY\\SYSTEM
- Event ID 1033
- Event ID 11707
- Event ID 11708
- Event ID 4688
- Event ID 4672
- Event ID 4697
- Event ID 7045
- Event ID 4720
- Event ID 4732
- Microsoft-Windows-TaskScheduler/Operational
- Microsoft-Windows-Windows Installer
What your security team should do
- Patch all affected supported Windows systems immediately if they are not already at the September 2024 security update level or later; this is a CISA KEV vulnerability with active exploitation.
- Prioritize systems where local compromise has high blast radius, including administrator workstations, domain-joined servers, remote access hosts, jump boxes, VDI pools, and shared multi-user systems.
- Hunt for suspicious Windows Installer activity followed by SYSTEM-level process execution, new service creation, scheduled tasks, local administrator changes, or security-tool tampering.
- Create detections for unusual msiexec.exe execution from user-writable directories, with quiet install flags, remote package sources, or unexpected child processes.
- Review recent endpoint alerts involving privilege escalation, credential dumping, defense evasion, and persistence on unpatched Windows hosts.
- Restrict software installation rights for standard users and enforce application control policies for MSI, MSP, DLL, script, and executable content from user-writable paths.
- Use EDR isolation or containment for hosts showing suspicious installer-driven elevation behavior until forensic review is complete.
The record
Windows Installer Elevation of Privilege Vulnerability
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|